Code GenerationOpen_source
M

MarkItDown

Convert files and office documents to Markdown for LLMs

Overview

About MarkItDown

MarkItDown is a lightweight Python utility from Microsoft for converting files into Markdown so they can be fed to a language model or a text-analysis pipeline. It handles PDF, Word, PowerPoint, Excel, images (EXIF metadata and OCR), audio (EXIF metadata and speech transcription), HTML, CSV, JSON, XML, ZIP archives, EPUB files and YouTube URLs. The README is careful about what it is for: the output preserves document structure as Markdown - headings, lists, tables, links - and is meant to be consumed by tools, not to be a high-fidelity conversion for humans to read. The closest comparison it draws is textract, with more attention paid to structure.

It solves the step that sits before every retrieval or summarisation pipeline and that most people underestimate: getting a heap of office documents into a form a model reads well. Markdown is the right target because mainstream models have been trained on enormous amounts of it and it is token-efficient. The project is MIT licensed, installs with pip install 'markitdown[all]', and carries 182,613 GitHub stars and 13,425 forks. It is not new - the repository dates from November 2024 - and the version is still 0.1.7, which is the honest counterweight to the star count: a very widely used tool that has never declared a stable API. There is a plugin system, an optional MCP server package, and optional routing to two billable Azure services for harder documents.

Pricing

No pricing page found

Free tier

Free and MIT licensed; the built-in converters run on local compute only. Optional Azure Document Intelligence and Content Understanding routing is billed per call by Azure.

Checked 2026-09-15

Details

GitHub Stars 184,350
Forks 13,583
Data from: GitHubWebsiteUpdated: Sep 15, 2026
documentationdocmarkdowndocument-processingopen-source