Asciidoctor AsciiDoc processor with built-in HTML, DocBook and manual-page converters.
Overview Asciidoctor is an open-source processor for AsciiDoc, a plain-text document markup language. Its core converts source documents into HTML5, DocBook 5 and manual pages, while additional converters extend the publishing pipeline. It can be used from a command line or integrated into another application.[1]
Contents Processing and integration The command-line interface handles file conversion, while an API lets an application load a document and convert it separately. This exposes a parsed document model for integration rather than requiring the application to treat conversion as an opaque shell command. Choosing an API also requires attention to output options and processing permissions; the same source can behave differently under different safe-mode settings.[2] [4]
Core and additional converters The core distribution supplies three output converters. PDF and EPUB are separate additions, so installing the processor alone does not establish a complete print or ebook workflow. Ruby is the original implementation; AsciidoctorJ and Asciidoctor.js provide JVM and JavaScript routes. The project lists Windows, macOS and Linux availability, but integrations and their dependencies still need to match the chosen runtime.[1]
Moving legacy content The official migration guide specifically addresses AsciiDoc.py 8.6. Although the basic conversion command has an equivalent, legacy syntax and configuration are not universally interchangeable. Compatibility mode is a deprecated transitional aid, not a permanent compatibility guarantee. Configuration-file filters are replaced by an extension API, and custom Python extensions need rewriting for the selected processor. HTML output also defaults to HTML5 rather than the older processor's XHTML 1.1.[3]
Trust boundaries The command line defaults to UNSAFE, whereas the API defaults to SECURE and disables includes and URI retrieval. SAFE permits includes within the source parent directory but does not validate symbolic-link targets. Extensions may not honor these controls. Crucially, none of the modes sanitizes generated HTML: passthrough content can survive conversion, so embedding untrusted output requires a separate sanitization step.[2]
License and substitution The processor is MIT-licensed. It can substitute for Pandoc when the specific requirement is publishing AsciiDoc as HTML or DocBook. This is a narrower assessment than replacing a general document converter: selecting Asciidoctor does not provide Pandoc's many other input readers. Existing templates, extensions and build commands should be evaluated as part of migration rather than assumed compatible because both tools produce the same file extension.[1] [3] [5]
References Asciidoctor overview Built-in converters, requirements, ecosystem and copyright/license
vendor · retrieved 2026-10-07 Safe modes Security assumptions; UNSAFE, SAFE and SECURE
vendor · retrieved 2026-10-07 Migration from AsciiDoc.py 8.6 scope, compatibility mode, configuration and custom extensions
vendor · retrieved 2026-10-07 Asciidoctor API Loading and converting documents
vendor · retrieved 2026-10-07 Pandoc formats AsciiDoc, HTML and DocBook input/output formats
vendor · retrieved 2026-10-07 Also included: 4 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.