🚀 Documentation crafted by Sonicar Tech LLC get your own docs shipped in 1 week →
Sonicar Tech LLCMarkItDown
Usage

Command Line

Convert files to Markdown from the command line with the markitdown CLI, including piping, custom output files, and plugin support.

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:

On this page