Skip to content

Command-Line Usage

Convert a file and print the result to stdout:

markitdown path-to-file.pdf > document.md

Or use -o to specify the output file:

markitdown path-to-file.pdf -o document.md

You can also pipe content:

cat path-to-file.pdf | markitdown

Plugins

MarkItDown also supports 3rd-party plugins. Plugins are disabled by default. See the Plugins page for details on listing, enabling, and developing plugins.

Azure integrations

The CLI also supports routing conversions through Azure AI services for higher-quality results:

Need documentation like this for your own product?

This site was built by Sonicar Tech LLC — we help SaaS, B2B, Enterprise, FinTech, and AI companies launch professional, docs-as-code documentation 60% faster and cheaper than building an in-house team, with first drafts delivered in 1 week.

Visit sonicar.tech