AsciiDoc File Format (.adoc)
An ADOC file holds AsciiDoc, a plain-text markup Stuart Rackham designed in 2002 with structural features like admonitions, includes and cross-references built into the syntax rather than bolted on afterward.
AsciiDoc at a glance#
| Full name | AsciiDoc |
|---|---|
| File extension | .adoc |
| Category | Documents |
| Developer | Stuart Rackham |
| First released | 2002 |
| MIME types | text/asciidoc |
| Other extensions | .asciidoc |
| Compression | Uncompressed |
| Specification | AsciiDoc Language Specification |
| FileFlip support | FileFlip reads and writes this format |
What a .adoc file can hold#
These are the things a AsciiDoc file either supports or does not, and they are what decides whether a conversion keeps everything or quietly drops something.
| Selectable text | Yes |
|---|---|
| Human readable | Yes |
| Comments | Yes |
Strengths and limitations of AsciiDoc#
What AsciiDoc does well
- Built-in admonition blocks (NOTE, TIP, WARNING) need no extra styling markup of their own
- The include directive pulls in other files at build time, so one book can be split across chapters
- Cross-references and section numbering work natively, without a plugin
Where AsciiDoc falls short
- Far fewer tools render it natively than render Markdown, so most workflows go through the Asciidoctor processor first
- There's more syntax to learn than Markdown before someone can write a full document
- The original asciidoc.py implementation is retired, and the formal AsciiDoc Language specification meant to unify Asciidoctor with it is still in progress at the Eclipse Foundation
Choose AsciiDoc for technical documentation or a book that needs admonitions, includes and cross-references without hand-writing DocBook.
Convert AsciiDoc to Markdown when a document is moving to a tool or audience that only understands Markdown, accepting that admonitions, includes and cross-references have no Markdown equivalent.
How to open a .adoc file#
A .adoc file opens in the programs below, grouped by the platform you are on. If you would rather not install anything, FileFlip converts AsciiDoc into a format your machine already opens, and it does it in the browser tab rather than on a server.
| Platform | Programs that open it |
|---|---|
| Windows | VS Code (AsciiDoc extension), IntelliJ IDEA (AsciiDoc plugin) |
| macOS | VS Code (AsciiDoc extension), IntelliJ IDEA (AsciiDoc plugin) |
| Linux | VS Code (AsciiDoc extension), vim, Asciidoctor (command line) |
| Web | GitHub, FileFlip |
AsciiDoc questions people ask#
What's the difference between AsciiDoc and Markdown?
AsciiDoc is a plain-text markup built for technical documentation, with admonitions, file includes and cross-references defined in the syntax itself, where Markdown has none of these without an extension or raw HTML. AsciiDoc is correspondingly more to learn, and far fewer tools render it without going through a processor like Asciidoctor first.
What program opens an ADOC file?
An ADOC file is plain text, so any text editor opens it, but seeing it rendered means running it through Asciidoctor or an editor with an AsciiDoc preview plugin, such as VS Code's AsciiDoc extension or IntelliJ IDEA's AsciiDoc plugin. GitHub also renders .adoc files directly in a repository.
Does AsciiDoc convert cleanly to Markdown?
Basic AsciiDoc, headings, paragraphs, lists, emphasis, converts to Markdown with little loss. Admonition blocks, include directives and cross-references have no Markdown equivalent, so a conversion either drops them or flattens them into plain text and a broken link.
Converting AsciiDoc files#
Convert AsciiDoc to another format
- AsciiDoc to AVIF
- AsciiDoc to BBCode
- AsciiDoc to BibTeX
- AsciiDoc to BMP
- AsciiDoc to BMP2
- AsciiDoc to BMP3
- AsciiDoc to CBZ
- AsciiDoc to Djot
- AsciiDoc to DocBook
- AsciiDoc to DOCX
- AsciiDoc to DokuWiki
- AsciiDoc to EPUB
- AsciiDoc to FB2
- AsciiDoc to GIF
- AsciiDoc to GIF87
- AsciiDoc to Haddock
- AsciiDoc to HDR
- AsciiDoc to HTML
- AsciiDoc to ICML
- AsciiDoc to ICO
- AsciiDoc to ICON
- AsciiDoc to IPYNB
- AsciiDoc to Jira
- AsciiDoc to JNG
See every AsciiDoc conversion (37 more)
Convert another format to AsciiDoc
- 3FR to AsciiDoc
- ARW to AsciiDoc
- AVIF to AsciiDoc
- BibTeX to AsciiDoc
- BMP to AsciiDoc
- BMP2 to AsciiDoc
- BMP3 to AsciiDoc
- CBZ to AsciiDoc
- CR2 to AsciiDoc
- CR3 to AsciiDoc
- Creole to AsciiDoc
- CRW to AsciiDoc
- DCR to AsciiDoc
- Djot to AsciiDoc
- DNG to AsciiDoc
- DocBook to AsciiDoc
- DOCX to AsciiDoc
- DokuWiki to AsciiDoc
- EPUB to AsciiDoc
- ERF to AsciiDoc
- FB2 to AsciiDoc
- GIF to AsciiDoc
- GIF87 to AsciiDoc
- Haddock to AsciiDoc
See every document conversion (62 more)
Every conversion runs inside your browser. The file is read from your disk, the work happens on your own machine, and nothing is uploaded. How FileFlip works names the engine behind each family and how to verify that for yourself.