Command-line tool
pandoc
brew/pandoc
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Swiss-army knife of markup format conversion markdown docs document 转换 converter doc 转换器 pandoc 格式转换 document-converter
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id JohnMacFarlane.Pandoc -e scoop install pandoc
macOS
brew install pandoc
Linux
brew install pandoc
Convert a Markdown file to PDF using `pdflatex` (the formats are determined by file extensions)
pandoc path/to/input.md -o path/to/output.pdf
Convert the output from another command to PDF, using a specific PDF engine
command | pandoc -f input_format --pdf-engine tectonic -o path/to/output.pdf
Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.)
pandoc path/to/input.md -s -o path/to/output.html
Browse
Related command-line tools
- jja
swiss army knife for chess file formats - zsv
Tabular data swiss-army knife CLI markdown sql json compare csv sqlite3 wasm parser simd txt csv-parser fixed - sipsak
SIP Swiss army knife - bnd
Swiss Army Knife for OSGi bundles - cdebug
Swiss army knife of container debugging - havener
Swiss army knife for Kubernetes tasks - pulumictl
Swiss army knife for Pulumi development - bettercap
Swiss army knife for network attacks and monitoring
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents