Usage
Docker
Run MarkItDown in a Docker container to convert files to Markdown without installing Python dependencies locally.
Build the image and run a conversion through stdin/stdout:
docker build -t markitdown:latest .
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.mdPython API
Use the MarkItDown Python API to convert files to Markdown, integrate Azure Document Intelligence, or generate LLM-based image descriptions.
Optional Dependencies
Full list of MarkItDown's optional pip extras for PDF, DOCX, PPTX, XLSX, Outlook, Azure integrations, audio and YouTube transcription.