Fork Me On GitLab
Text based document generation using Python 3

»Home  »User Guide  »Blog  »Quickstart  »Download  »Install  »PyPI  »Docker  »Windows  »Cheatsheet  »Release Notes  »Contact / Donate  »Imprint / Impressum / Datenschutz / Privacy

AsciiDoc3 3.2.3

  • Comes with a dockerized version, easing the live of Windows users, (all infos here!)

  • Even better support of DocBook v5.1,

  • Works with Windows (yes!) in a Python virtual environment (venv) - recommended, available via pip (,

  • A lot of tested templates,

  • Faster than ever,

  • …,

  • See Changelog here.

GNU/Linux: Unified Installer (Tarball) / Debian-Package / RPM-Package / PyPI.
Windows: zip-File (no symlinks) / PyPI.
Works seamlessly system-wide, local, or in a Python virtual environment!
No admin rights necessary when running local.
Pelican plugin for AsciiDoc3 is available, too. See our blog.


AsciiDoc3 is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc3 files can be translated to many formats including HTML, PDF, EPUB, man page, dvi, ps, tex.

AsciiDoc3 is written in 100% pure Python3 - you need Python 3.7 or higher to execute. All of the onehundred and seventy testcases pass without errors. See the information given on this page for download and installation instructions.

AsciiDoc3 is highly configurable: both the AsciiDoc3 source file syntax and the backend output markups (which can be almost any type of SGML/XML markup) can be customized and extended by the user.

In consequence of the MicroSoft/GitHub deal AsciiDoc3 migrated to GitLab. You can find us here:
The repo on GitHub is still open for comments, but all further development will be on GitLab.

AsciiDoc3 is a free software: licensed under the terms of the GNU Affero General Public License version 3 or later (AGPLv3+).

Overview and Examples

You write an AsciiDoc3 document the same way you would write a normal text document, there are no markup tags or weird format notations. AsciiDoc3 files are designed to be viewed, edited and printed directly or translated to other presentation formats using the asciidoc3 (and/or the coherent a2x3) command.

The asciidoc3 command translates AsciiDoc3 files to HTML, XHTML and DocBook markups. DocBook can be post-processed to presentation formats such as HTML, PDF, EPUB, DVI, LaTeX, roff, and Postscript using readily available Open Source tools.

In contrast to AsciiDoc (Python2) and asciidoc-py3 you can choose different encodings applying to the input and to the output. The default on both sides is utf-8. Perhaps you have an input-encoding gb18030 and like to see the output encoded with utf-16be? Try AsciiDoc3!

Tip You find a lot of templates in the directories ./doc and ./tests/data of the distribution. These files help to learn more about the features of AsciiDoc3.

The pages you are reading were written using AsciiDoc3, the corresponding AsciiDoc3 sources can be found here:
The source code of page User Guide is included in the distribution files (../doc/userguide.txt), so you can test this by yourself, see here. is a work-in-progress. Please return regularly to see the new versions of the asciidoc3-executable and the documentation.
I thank all the contributors for their awesome work.

On this page, in all related documents, and all the stuff around I make heavy use of the documents given on (the end of live Python2.x implementation)

AsciiDoc3 is not asciidoc-py3

The AsciiDoc3 implementation you can find on this website is a personal project. There are other ports to Python 3.
Since all known implementations of the AsciiDoc-markup-language are open source under the terms of one of the GPL’s, every user may choose what he/she/div likes to run.

Bug reports

  • When reporting problems please illustrate the problem with the smallest possible example that replicates the issue (and please test your example before posting). This technique will also help to eliminate red herrings prior to posting.

  • Paste the commands that you executed along with any relevant outputs.

  • Include the version of AsciiDoc3 and the platform you’re running it on.

  • If you can program please consider writing a patch to fix the problem.