Skip to content

txt2tags to GIF Converter

FileFlip converts txt2tags to GIF entirely inside your browser, using Pandoc, MuPDF and ImageMagick compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.

Convert T2T to

How do I convert a txt2tags file to GIF?#

  1. Drop your txt2tags file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
  2. Leave the target set to GIF and the conversion starts on its own. FileFlip downloads 79.9 MB of WebAssembly the first time and nothing after that, then runs Pandoc, MuPDF and ImageMagick on your own machine.
  3. Save the GIF file. Your browser writes it straight to your downloads folder, because there was never a server holding it.

Does converting txt2tags to GIF lose quality?#

Yes, in the sense that text stops being text. Each txt2tags page is rendered to pixels and handed to GIF, so the result looks right and can no longer be selected, searched, or reflowed.

Is it safe to convert txt2tags files online?#

Yes, because nothing is uploaded. FileFlip converts txt2tags files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.

You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.

How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.

What txt2tags to GIF actually does to the file#

Converting txt2tags to GIF runs on Pandoc, MuPDF and ImageMagick, downloads 79.9 MB of WebAssembly the first time and nothing after that, renders each page to pixels, keeps page layout, and drops selectable text and transparency.

EnginePandoc, MuPDF and ImageMagick
Conversion path3 steps: txt2tags → HTML → PNG → GIF
Downloaded to your browser79.9 MB, once, then cached by your browser
QualityText becomes pixels
You get backOne image per page, zipped when the source has several
Where it runsIn a background worker, so the page stays responsive

What survives the conversion

What is in the fileThis conversionWhy
Selectable textDroppedThe target format has nowhere to put it.
Page layoutKeptCarried through into the converted file.
TransparencyDroppedThe target format has nowhere to put it.

Worth knowing before you start:

  • the target holds at most 256 colours, so a full-colour image is quantised to a palette
  • pages render at twice their point size in opaque RGB, roughly 144 DPI, with no transparency
  • reflowable input is laid out on a fixed 595x842pt page at 11pt before anything else happens
  • the file passes through HTML on the way, so anything HTML cannot express does not survive

What is a txt2tags file?#

A T2T file holds txt2tags source, Aurelio Jargas' 2001 lightweight markup that its own command-line tool compiles into HTML, LaTeX, MediaWiki, DokuWiki and a dozen other target formats from one source file.

Use txt2tags for a document that needs to compile to several very different output formats from one plain-text source.

Convert a T2T file to Markdown when the txt2tags tool itself is no longer part of the workflow.

What is a GIF file?#

A GIF file stores one or more indexed-color images, each limited to a palette of at most 256 colors, in a container CompuServe designed in 1987 that became the format the web uses for short looping animations.

Use GIF for short looping animations and simple graphics with flat colors, like reaction clips or icons, where universal playback matters more than file size.

Convert GIF to PNG or WebP when the image is a single still frame, since both hold more than 256 colors and compress a flat-color graphic to a smaller file; convert an animated GIF to WebP or MP4 when file size matters, since either can be a fraction of the size at the same frame count.

txt2tags to GIF questions people ask#

What is a T2T file?

A T2T file holds txt2tags source, a lightweight plain-text markup created by Aurelio Jargas in 2001. It's meant to be compiled, not opened directly, since the txt2tags command-line tool turns one .t2t file into whichever output format the document actually needs.

What formats can txt2tags convert to?

txt2tags compiles a single .t2t source file to HTML, LaTeX, MediaWiki, DokuWiki, man pages, and several other targets, which is the whole point of the format: write once, generate whichever output a given publishing destination needs.

Is txt2tags still maintained?

Yes, though slowly. txt2tags reached version 3.9 in October 2023 under maintainer Jendrik Seipp, well over two decades after Aurelio Jargas' original 2001 release, and the format itself has changed very little in that time.

Is GIF a lossy or lossless format?

The compression GIF itself performs is lossless: LZW compresses the pixel data without discarding anything. The loss happens a step earlier, when an image with more than 256 colors has to be quantized down to fit GIF's palette limit, which is a form of lossy conversion that occurs before compression even starts. A graphic that already has 256 colors or fewer, like a simple icon, converts to GIF with no loss at all.