Skip to content
Convert plain text into many markup languages
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information. Add link to v2.6 download Jan 12, 2020


Txt2tags is a document generator created by Aurelio Jargas in 2001. It reads a text file with minimal markup such as **bold** and //italic// and converts it to many formats, such as:

  • AsciiDoc
  • DocBook
  • HTML
  • LaTeX
  • MoinMoin
  • UNIX man page
  • Wikipedia/MediaWiki
  • …and many others.

Txt2tags is available in two different versions, which are branches inside this repository.

Branch v2, txt2tags version 2.7-dev

Full featured txt2tags version that works on Python 2.

  • Runs on Python versions 2.5, 2.6 and 2.7.

  • Many years of development and contributions since txt2tags version 2.6 from 2010: bug fixes, new features (templates, remote files, more macros), new targets (bbcode, CSV, HTML5, Markdown, RTF, ReStructuredText, …) - see changelog

  • No official release for txt2tags version 2.7 yet, use the GitHub code.

  • The maintainer is Florent Gallaire.

Branch v3, txt2tags version 3.x

Simpler txt2tags version that works on Python 3, branched off from txt2tags version 2.6.

  • Runs on Python versions 2.7 and 3.x.

  • Removed features (GUI, macros, i18n, translations, ASCII Art/PageMaker/XHTML targets) and only supports UTF-8 files, to achieve easier maintenance (see changelog).

  • New releases are available as PyPI packages.

  • The maintainer is Jendrik Seipp.

Feature differences between versions

Feature v2.6 v2.7-dev v3.x
Runs on Python <2.5
Runs on Python 2.5
Runs on Python 2.6
Runs on Python 2.7
Runs on Python 3
Supported encodings All All UTF-8
GUI interface
Internationalization (i18n)
Remote HTTP files
User-defined templates
Command: %!csv
Macro: %%date
Macro: %%mtime
Macro: %%infile
Macro: %%outfile
Macro: %%toc
Macro: %%appname
Macro: %%appurl
Macro: %%appversion
Macro: %%cmdline
Macro: %%encoding
Macro: %%header1
Macro: %%header2
Macro: %%header3
Macro: %%target
Option: --encoding
Option: --css-inside
Setting: %!postvoodoo
Setting: %!encoding
Target: ASCII Art
Target: HTML
Target: PageMaker
Target: XHTML
Target: Markdown
Target: HTML5
Target: ASCII Art Presentation
Target: ASCII Art Presentation Web
Target: ASCII Art Spreadsheet
Target: ASCII Art Web
Target: BBCode
Target: CSV
Target: Foswiki / TWiki
Target: HTML Spreadsheet
Target: LaTeX Spreadsheet
Target: MOM groff macro
Target: Open Document Spreadsheet
Target: Redmine Wiki
Target: ReStructuredText
Target: RTF
Target: Slidy slides
Target: SPIP
Target: SQLite database
Target: Txt2tags
Target: Utmac (utroff)
Target: Vimwiki
Target: WordPress
Target: XHTML strict

Unlisted features are available in all versions.

You can’t perform that action at this time.