Skip to content

Installation

To install MarkItDown, use pip:

pip install 'markitdown[all]'

Alternatively, you can install it from the source:

git clone git@github.com:microsoft/markitdown.git
cd markitdown
pip install -e 'packages/markitdown[all]'

Tip

Not every optional dependency is required for every use case. See Optional Dependencies to install only what you need.

Once installed, head to Usage → Command Line or Usage → Python API to start converting files.

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