Skip to main content

pandoc: terminal converter docx markdown

Example:

pandoc -o output.md input.docx

Or use it online: https://pandoc.org/try

Manual (https://pandoc.org/index.html):
If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert between the following formats:

(← = conversion from; → = conversion to; ↔︎ = conversion from and to)

Lightweight markup formats

HTML formats

  • ↔︎ (X)HTML 4

  • ↔︎ HTML5

Ebooks

Documentation formats

Roff formats

TeX formats

XML formats

Outline formats

Bibliography formats

Word processor formats

Interactive notebook formats

  • ↔︎ Jupyter notebook (ipynb)

Page layout formats

Wiki markup formats

Slide show formats

Data formats

  • CSV tables

Custom formats

  • → custom writers can be written in lua.

PDF

  • → via [pdflatex], [lualatex], [xelatex], [latexmk], [tectonic], [wkhtmltopdf], [weasyprint], [prince], [context], or [pdfroff].