All apps/Pandoc

Pandoc

pandoc

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library.

Runs as pandoc|macOS, Linux, Windows|pandoc.org

Command form

curated · 3 tasks · 7 fields

Convert documents from files, pasted text or native standard input to a file or terminal output. Multiple inputs are combined into one output. PDF, filters, Lua, templates, citeproc and batch execution are outside this form.

Opens the form; the finished command lands at your prompt, unrun
otty gui pandoc
Convert documentExample values, fixed in this page — nothing here reaches a terminal
Basic
Input files
notes.mdfile
Output file
notes.docxfile
Input format
markdownstring
Standalone document
--standalone
Table of contents
--toc
Advanced
Reference DOCX
file
TasksEach one presets the form for one job
Markdown → Word
inputsoutputfromreference_docstandalonetoc
Markdown → HTML
inputsoutputfromstandalonetoc
Word → Markdown
inputsoutputstandalonetoc
ParametersOnly these flags are editable in the form
Input format
Leave unset to infer the format from the input filenames; otherwise use a Pandoc reader name.
string · default: inferred from input extensions
--from-f--read-rmarkdowndocxhtml
Output format
Leave unset to infer the format from the output filename. Candidates are suggestions; manual input remains available.
string · default: inferred from output extension
--to-t--write-wdocxhtml5gfmmarkdown
Output file
Choose one output file, or leave unset / use - for terminal standard output. Multiple inputs are combined, not converted in a batch.
path
--output-o
Standalone document
Include the header and footer appropriate to a complete document.
boolean
--standalone-s
Table of contents
boolean
--toc--table-of-contents
Reference DOCX
Use the styles from an existing DOCX document. Enabled for DOCX output.
path
--reference-doc
Input files
Files are read in this order and combined into one output. Leave unset or use - for native standard input; a real file named - must use ./- or an absolute path.
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
pandoc-manual
Pandoc User Guide: --from, --to, --output, --standalone, --toc, --reference-doc, input files and --list-input-formats/--list-output-formats. Only these declared fields are editable.
curated2026-10-26

pandoc.org

Before it fills your prompt, Otty checks the installed pandoc against pandoc.list-formats. A form that does not match your version is not offered.