Freedom251 › Documentation Generators
Asciidoctor

What Asciidoctor is
Asciidoctor is a free, open source processor and publishing toolchain for turning AsciiDoc files or strings into documents. Its core converters produce HTML5, DocBook 5, and man pages; PDF and EPUB 3 conversion comes through separate gems. Users can process documents through a command-line interface or Ruby API. The software runs with Ruby, on the JVM through AsciidoctorJ, and in JavaScript environments through Asciidoctor.js. It supports Linux, macOS, and Windows and is distributed as a RubyGem, Docker image, Linux packages, and macOS packages. Its ecosystem includes Maven and Gradle plugins, browser and editor extensions, an IntelliJ plugin, and diagram tools. Default HTML output includes a stylesheet and integrations such as Font Awesome, highlight.js, Rouge, Pygments, and MathJax. The project is licensed under MIT and lists documentation, community chat, source repositories, and issue trackers as resources. Security modes include SECURE, SAFE, SERVER, and UNSAFE; safe modes do not sanitize generated output or provide a comprehensive security framework.
Who it suits
It suits writers and developers who want to publish AsciiDoc across different formats and runtimes. Its command-line interface, Ruby API, and build integrations also suit automated document workflows.
What it does well
- Free and open source under the MIT License.
- Core converters include HTML5, DocBook 5, and man pages.
- Runs with Ruby, JVM, and JavaScript environments.
- Supports Linux, macOS, and Windows.
- Provides Maven and Gradle build plugins.
What to know first
- PDF and EPUB 3 require separate gems.
- Safe modes do not sanitize generated output.
- Safe modes are not a comprehensive security framework.
Limits
The free plan is open source under the MIT License and includes core converters for HTML5, DocBook 5, and man pages. PDF and EPUB 3 conversion uses separate gems.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Asciidoctor | Open source under the MIT license · Core converters include HTML 5, DocBook 5 and man pages; PDF and EPUB 3 use separate gems | Free |
As asciidoctor.org lists them, read 4 Oct 2026. The maker's own page has the final word.
Getting started
- Visit https://asciidoctor.org/.
- Choose a distribution route such as the RubyGem, Docker image, a Linux package, or the macOS package.
- Use the command-line interface or Ruby API to process AsciiDoc files or strings.
- For JVM or JavaScript use, choose AsciidoctorJ or Asciidoctor.js.
- Add separate gems if you need PDF or EPUB 3 conversion.
Asciidoctor is an open-source processor and publishing workbench for people who write in AsciiDoc. It is most compelling for documentation teams that want to connect that format to Ruby, JVM, or JavaScript workflows. Its core handles several practical publishing targets, though print and ebook output takes separate converters.
Overview
Asciidoctor turns AsciiDoc files or strings into published documents through a command-line interface or Ruby API. HTML5, DocBook 5, and man pages are built into the core; PDF and EPUB 3 conversion comes from separate gems. That split suits teams focused on web documentation and reference material, but adds components to manage when books or PDFs are part of the publishing pipeline.
The project is distributed as a RubyGem, Docker image, packages for numerous Linux distributions, and a macOS package through Homebrew and MacPorts. It supports CI/CD integration, making it suitable for automated document builds. Use is under the MIT License, and community chat, documentation, source repositories, and issue trackers are listed as support resources.
Key features
Formats and HTML presentation
The core converters cover web pages, DocBook, and manual pages. Default HTML includes a stylesheet and integrations for Font Awesome, highlight.js, Rouge, Pygments, and MathJax. These give authors options for icons, code highlighting, and mathematical content without changing the source format. The trade-off is that PDF and EPUB 3 are not part of the built-in converter set.
Runtime and build integrations
Asciidoctor runs on Ruby, on the JVM through AsciidoctorJ, and in JavaScript environments through Asciidoctor.js. Maven, Gradle, and Javadoc build plugins help teams incorporate document conversion into software builds; Asciidoctor Diagram is among the ecosystem tools. Browser preview extensions for Chrome, Atom, Brackets, and other web-based tools offer another route to working with AsciiDoc. This breadth matters to organizations with established language and build environments, while it may be more machinery than a writer seeking a standalone editor needs.
Security modes
Asciidoctor provides UNSAFE, SAFE, SERVER, and SECURE modes. The Ruby API defaults to SECURE, while the command-line interface defaults to UNSAFE, so users should not assume identical defaults across entry points. Safe modes do not sanitize generated output and are not a comprehensive security framework. Treating them as complete protection would be a mistake, especially when publishing content from untrusted inputs.
Pricing
Asciidoctor is free: its plan costs nothing and covers open-source use under the MIT License. The included core converters produce HTML 5, DocBook 5, and man pages; PDF and EPUB 3 require separate gems. There is no free trial to evaluate because the software is already free, and no seat or usage caps are given for this plan. It is a straightforward fit for individuals and teams comfortable assembling their own publishing workflow, rather than buyers seeking a priced support or hosted-service tier.
Platforms
Asciidoctor works on Linux, macOS, and Windows. It also spans API, extension, web, and self-hosted contexts, with Ruby, JVM, and JavaScript runtime paths. The documented Ruby implementations are CRuby 2.3–3.3, JRuby 9.1–9.4, and TruffleRuby (GraalVM). Distribution through RubyGems, Docker, Linux packages, Homebrew, and MacPorts gives teams several installation routes, but the Ruby implementation ranges are specific requirements to check against an existing environment.
Who it's for
Asciidoctor is a strong choice for technical writers and development teams already using AsciiDoc who want documents built alongside software or rendered across several runtimes. It is especially useful when HTML, DocBook, and manual pages cover the publishing need. Look elsewhere if your workflow depends on PDF or EPUB output being included in the core, or if you need a security framework that sanitizes generated output.
Pros and cons
- Pros: Core HTML5, DocBook 5, and man page converters cover distinct documentation targets without paid licensing.
- Pros: Ruby, JVM, and JavaScript options, plus Maven and Gradle integrations, make it adaptable to varied build environments.
- Pros: Default HTML includes a stylesheet and integrations for code highlighting, icons, and math rendering.
- Cons: PDF and EPUB 3 need separate gems, adding setup for teams that publish print-ready or ebook formats.
- Cons: CLI defaults to UNSAFE, and safe modes do not sanitize output; careful handling is needed for untrusted content.
- Cons: The Ruby implementation requirements may constrain teams maintaining older or different runtime versions.
Alternatives
Documentation Generators is a useful category starting point for comparing tools by publishing workflow.
Choose Scalar instead when API-focused publishing is the priority: its free plan covers up to 3 APIs, 1 SDK up to 25 endpoints, 1 editor seat, and 50 Agent Scalar credits. Its listed Pro plan is $150 a month, billed $125/.
Kotlin/JS is a free Kotlin compiler target for JavaScript configured with the Kotlin Multiplatform Gradle plugin; consider it when the need is Kotlin-to-JavaScript compilation rather than a general AsciiDoc publishing toolchain.
Sphinx is another free, locally installable or self-hosted open-source option under the BSD 2-Clause license.
DocFX is a free open-source static site generator for teams already able to use the .NET SDK 8.0 or higher.
Doxygen is a free and open-source option with Windows, Linux, and macOS downloads.
mdBook is a free and open-source alternative under the MPL-2.0 license for readers comparing documentation tools.
Stoplight Elements offers open-source API documentation building blocks that can be embedded into an existing CMS.
Dart pub is another free option for readers considering software in this category.
Verdict
Choose Asciidoctor if you want a free, MIT-licensed AsciiDoc processor that can fit Ruby, JVM, or JavaScript pipelines and whose built-in formats meet your needs. Its runtime and build integration range is the main reason to adopt it; the separate PDF and EPUB converters, and the limits of its safe modes, are the main reasons to look elsewhere.
Verdict
Asciidoctor offers a multi-runtime toolchain for processing and publishing AsciiDoc, with several output formats included in its core. PDF and EPUB 3 conversion is separate, and its safe modes do not sanitize output.
Questions
Is Asciidoctor free?
Yes. The listed plan is free, and the project is open source under the MIT License.
Which formats can it produce?
The core converters handle HTML5, DocBook 5, and man pages. PDF and EPUB 3 converters are provided through separate gems.
Which platforms and runtimes does it support?
It works on Linux, macOS, and Windows. It runs with Ruby, on the JVM through AsciidoctorJ, and in JavaScript through Asciidoctor.js.
Does it have an API?
Yes. It provides a command-line interface and a Ruby API.
What security modes does it offer?
It offers UNSAFE, SAFE, SERVER, and SECURE modes. The API defaults to SECURE and the CLI to UNSAFE; safe modes do not sanitize generated output.
Where can I get community support?
The project lists community chat, documentation, GitHub source repositories, and issue trackers.
Facts from Asciidoctor's own pages
- API and safety
- The Ruby API documentation says its default safe mode is :secure. · docs.asciidoctor.org, 3 Oct 2026
- Build integrations
- The project provides plugins that integrate Asciidoctor with Apache Maven, Gradle and Javadoc builds. · docs.asciidoctor.org, 4 Oct 2026
- Built-in converters
- The core processor includes built-in converters for HTML5, DocBook 5, and man pages; PDF and EPUB 3 converters are provided by separate gems. · asciidoctor.org, 3 Oct 2026
- Distribution
- Asciidoctor is distributed as a Ruby gem, Docker image, Linux packages, and macOS packages through Homebrew and MacPorts. · docs.asciidoctor.org, 4 Oct 2026
- Editor integrations
- Asciidoctor.js powers AsciiDoc preview extensions for Chrome, Atom, Brackets and other web-based tools. · docs.asciidoctor.org, 4 Oct 2026
- Founded
- 2012 · asciidoctor.org, 28 Sept 2026
- HTML features
- Its default HTML experience includes a stylesheet and integrations for Font Awesome, highlight.js, Rouge, Pygments, and MathJax. · asciidoctor.org, 3 Oct 2026
- HTML integrations
- Its default HTML output includes Font Awesome, highlight.js, Rouge, Pygments and MathJax integrations. · asciidoctor.org, 4 Oct 2026
- Integrations
- The project ecosystem includes Maven and Gradle plugins, browser extensions, an IntelliJ plugin, and tools such as Asciidoctor Diagram. · asciidoctor.org, 3 Oct 2026
- Intended users
- The project describes its toolchain as serving people who write and publish AsciiDoc content across platforms and runtimes. · docs.asciidoctor.org, 4 Oct 2026
- Interfaces
- The processor provides a command line interface and a Ruby API for processing documents. · docs.asciidoctor.org, 4 Oct 2026
- License
- The processor is open source software available under the MIT license. · docs.asciidoctor.org, 4 Oct 2026
- Operating systems
- The project says Asciidoctor works on Linux, macOS and Windows. · asciidoctor.org, 4 Oct 2026
- Output formats
- The core processor includes HTML 5, DocBook 5 and man page converters; PDF and EPUB 3 converters are provided separately. · asciidoctor.org, 4 Oct 2026
- Purpose
- Asciidoctor parses AsciiDoc source and converts it into publishable formats such as HTML 5 and PDF. · docs.asciidoctor.org, 4 Oct 2026
- Requirements
- The documented Ruby implementations are CRuby 2.3–3.3, JRuby 9.1–9.4, and TruffleRuby (GraalVM). · asciidoctor.org, 3 Oct 2026
- Runtime options
- Asciidoctor can run using Ruby, a JVM through AsciidoctorJ, or JavaScript through Asciidoctor.js. · docs.asciidoctor.org, 4 Oct 2026
- Runtimes
- Asciidoctor runs on Ruby, on the JVM through AsciidoctorJ, and in JavaScript environments through Asciidoctor.js. · asciidoctor.org, 3 Oct 2026
- Security limitation
- The project states that safe modes do not sanitize generated output and are not a comprehensive security framework. · docs.asciidoctor.org, 4 Oct 2026
- Security modes
- Asciidoctor offers UNSAFE, SAFE, SERVER and SECURE modes, with SECURE as the default for the API and UNSAFE as the default for the CLI. · docs.asciidoctor.org, 4 Oct 2026
- Support
- The documentation directs users seeking real-time community support to the project chat’s #users stream. · asciidoctor.org, 4 Oct 2026
Where Asciidoctor stands on Freedom251
- Documentation Generators#3 of 37
