Skip to content

Optional Dependencies

MarkItDown has optional dependencies for activating various file formats. When you install with the [all] option, every optional dependency is installed. However, you can also install them individually for more control. For example:

pip install 'markitdown[pdf, docx, pptx]'

will install only the dependencies for PDF, DOCX, and PPTX files.

Available extras

Extra Installs dependencies for
[all] All optional dependencies
[pptx] PowerPoint files
[docx] Word files
[xlsx] Excel files
[xls] Older Excel files
[pdf] PDF files
[outlook] Outlook messages
[az-doc-intel] Azure Document Intelligence
[az-content-understanding] Azure Content Understanding
[audio-transcription] Audio transcription of wav and mp3 files
[youtube-transcription] Fetching YouTube video transcription

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