Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Convert Documents - Pandoc File Converter | Online Free DevTools by Hexmos

Convert documents easily with Pandoc file converter. Effortlessly transform Markdown, HTML, LaTeX and more. Free online tool, no registration required.

pandoc

Convert documents between various formats. More information: https://pandoc.org/MANUAL.html.

  • Convert a Markdown file to PDF using pdflatex (the formats are determined by file extensions):

pandoc {{path/to/input.md}} {{[-o|--output]}} {{path/to/output.pdf}}

  • Convert a Markdown file to PDF using the specified PDF engine:

pandoc {{path/to/input.md}} --pdf-engine {{tectonic|weasyprint|typst|...}} {{[-o|--output]}} {{path/to/output.pdf}}

  • Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):

pandoc {{path/to/input.md}} {{[-s|--standalone]}} {{[-o|--output]}} {{path/to/output.html}}

  • Manually specify formats (overriding automatic format detection using the filename extension, or when there is no extension):

pandoc {{[-f|--from]}} {{docx|...}} {{path/to/input}} {{[-t|--to]}} {{pdf|...}} {{[-o|--output]}} {{path/to/output}}

pandoc {{path/to/input}} {{[-L|--lua-filter]}} {{path/to/filter.lua}} {{[-o|--output]}} {{path/to/output}}

  • List all supported input formats:

pandoc --list-input-formats

  • List all supported output formats:

pandoc --list-output-formats

See Also