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

Document Intelligence

Convert files to Markdown using Azure Document Intelligence for higher-quality, layout-aware document extraction.

To use Microsoft Document Intelligence for conversion:

markitdown path-to-file.pdf -o document.md -d -e "<document_intelligence_endpoint>"

The endpoint can also be set once in the environment, so callers only need -d:

export MARKITDOWN_DOCINTEL_ENDPOINT="<document_intelligence_endpoint>"
markitdown path-to-file.pdf -o document.md -d

More information about how to set up an Azure Document Intelligence Resource can be found here.

See also Usage → Python API for the Python equivalent.