Pandoc
Converts documents between almost any two markup formats: Markdown, Word, LaTeX, EPUB, HTML, PDF and dozens more.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
3 more ways to get Pandoc
Other download sites
Run by third parties, not by John MacFarlane. Prefer the official page above when it works.
Package managers
- Chocolatey
choco install pandoc - Homebrew
brew install pandoc
About Pandoc
Pandoc reads from an enormous list of formats, including Markdown in several dialects, Word docx, LaTeX, HTML, EPUB, Org mode, MediaWiki, AsciiDoc, Jupyter notebooks, CSV, DocBook and various bibliography formats, and writes to a comparably long list. If you need to turn one document format into another, Pandoc is almost always the answer.
It works by parsing the input into an internal document model and then rendering it, which is why conversions between unrelated formats work at all. Templates, filters and Lua scripting let you control the output precisely, and bibliography handling with CSL styles makes it a genuine academic writing tool.
PDF output needs a LaTeX engine or another PDF backend installed separately.
Strengths
- Reads and writes dozens of formats including Markdown, docx, LaTeX, EPUB and HTML
- Bibliography support with CSL styles, suitable for academic writing
- Templates, filters and Lua scripting for precise control over output
- A single binary available for every platform and packaged everywhere
Limitations
- PDF output requires a separate LaTeX engine or other backend
- Complex formatting rarely survives a conversion perfectly
- The manual is enormous and the command line has a lot of options
- No graphical interface
Details
- Pricing
- FreeFree and open source under the GPL.
- License
- GPL-2.0
- Developer
- John MacFarlane
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Converting a document from one format to another when nothing else manages it
- Categories
- Office tools
- Last verified
- Added
- Provenance
- Selected from the TechWalrus downloads catalog (Office); facts checked against the developer's own pages, 2 sources on file.
Alternatives to Pandoc
Compare allSoftware that can replace Pandoc for an important use case, and what changes if you switch.
Quarto
Publish technical documents from Markdown and executable code.
Quarto publishes documents from Markdown and executable code to several output formats under the MIT license, but executable documents need the matching language runtimes installed.
Similar software
Related functionality, not necessarily a direct replacement.
Marp CLI
Convert Markdown slide decks into presentation files.
Typst
A typesetting system as capable as LaTeX but far easier to learn, with fast incremental compilation and readable error messages.
TeX Live
The reference cross-platform TeX and LaTeX distribution.
LyX
Document processor that writes LaTeX for you.
presenterm
Present Markdown slides directly in your terminal.