MarkItDown
MarkItDown is Microsoft's MIT-licensed Python tool that converts PDFs, Word, PowerPoint and Excel files, images, audio, HTML, CSV, JSON, ZIP archives and more into clean Markdown that LLMs and agents can read, keeping headings, lists, tables and links. You can call it from the command line or Python, add optional plugins such as Azure Document Intelligence for harder documents, and expose it to Claude Desktop and other agents through the companion markitdown-mcp server.
Updated
✨ Try AgentScout's free AI image generator →Good for: coding in the terminal, building voice agents, working with documents, connecting tools with MCP, memory for agents, spreadsheets, slides and docs
Use cases
About MarkItDown
MarkItDown is listed in our memory & RAG category and is aimed at builders. MarkItDown is Microsoft's MIT-licensed Python tool that converts PDFs, Word, PowerPoint and Excel files, images, audio, HTML, CSV, JSON, ZIP archives and more into clean Markdown that LLMs and agents can read, keeping headings, lists, tables and links. You can call it from the command line or Python, add optional plugins such as Azure Document Intelligence for harder documents, and expose it to Claude Desktop and other agents through the companion markitdown-mcp server. Pricing, as the maker states it: Free and open source (MIT).. Maturity: Mature. We last checked the official link on 2026-12-01.
What is MarkItDown?
MarkItDown is Microsoft's lightweight Python utility for converting files to Markdown for use with LLMs and text-analysis pipelines. It keeps important document structure, such as headings, lists, tables and links, as Markdown.
It converts PDF, PowerPoint, Word, Excel, images (EXIF metadata and OCR), audio (metadata and speech transcription), HTML, CSV, JSON and XML, ZIP files, YouTube URLs and EPubs. The output is meant for machines to read rather than for high-fidelity documents for people.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: github.com/microsoft/markitdown.
Who is MarkItDown for?
Developers building LLM, RAG or agent pipelines who need to turn Office files, PDFs and other documents into clean Markdown before sending them to a model.
MarkItDown at a glance
- Open source: Yes (MIT License)
- GitHub: microsoft/markitdown · 199,506 stars (as of Dec 2, 2026)
Key features
- Converts PDF, Word, PowerPoint and Excel files to Markdown
- Keeps headings, lists, tables and links
- OCR and EXIF metadata for images; transcription for audio
- Handles HTML, CSV, JSON, XML, ZIP archives, EPubs and YouTube URLs
- Python library and command-line tool
MarkItDown FAQ
What is MarkItDown?
MarkItDown is Microsoft's lightweight Python utility for converting files to Markdown for use with LLMs and text-analysis pipelines. It keeps important document structure, such as headings, lists, tables and links, as Markdown.
Who is MarkItDown for?
Developers building LLM, RAG or agent pipelines who need to turn Office files, PDFs and other documents into clean Markdown before sending them to a model.
Is MarkItDown free?
MarkItDown's pricing, as the maker states it: Free and open source (MIT).. Check the official site for current plans.
Is MarkItDown open source?
Yes. MarkItDown is released under the MIT License, according to its GitHub repository.
Is MarkItDown safe to run on untrusted files?
Its README warns that MarkItDown performs I/O with the privileges of the current process, so you should sanitize inputs in untrusted environments and call the narrowest convert function you need.
What are alternatives to MarkItDown?
Similar tools include SAG-Wiki, LlamaParse, obsidian-second-brain, AutoRAG, Headroom and Supermemory.
MarkItDown ratings and reviews
Be the first to rate MarkItDown: tap 1 to 5 stars below. A written review is optional.
MarkItDown alternatives
Compare 10 MarkItDown alternatives side by side →
Other memory & RAG tools in our directory. See all memory & RAG tools →
SAG-Wiki
SAG-Wiki is an MIT desktop knowledge base for macOS and Windows that indexes and searches your local files without LLM calls, then answers questions with citations you can trace to the source. PDFs become searchable before background OCR and table extraction finish, Office and RTF files are indexed too, and an agent skill lets Claude Code and other agents query the same library.
LlamaParse
LlamaIndex's document processing platform that parses PDFs, scans and Office files into markdown or JSON and extracts, classifies and indexes them for agents.
obsidian-second-brain
obsidian-second-brain is an MIT-licensed setup that turns an Obsidian vault of plain Markdown files into persistent memory shared by Claude Code, Codex, Cursor, Grok Bot and other agents, rewriting existing pages as new sources come in rather than just appending; its Crew feature gives several agents one shared logbook of finished jobs in any folder, where a lesson becomes a rule only after a human approves it.
AutoRAG
AutoRAG is a librarian agent for the files on your computer. The README says it finds, reads, and cites what you ask about, instead of only searching the web. The banner on the repository calls the desktop app Dazzi. Docs are published separately from the code, and the project is Apache-2.0. GitHub recorded 6,428 stars and 557 forks on 3 Dec 2026. No dollar price was listed on the docs home or in the README lead checked that day.
Headroom
Headroom is an Apache-2.0 library, proxy and MCP server that compresses what an AI agent reads, including tool outputs, logs, files, RAG chunks and chat history, before it reaches the model, so you send fewer input tokens for the same answers. The project's own measurements show 21 to 57 percent fewer input tokens across four agent scenarios and over 90 percent on repeated JSON arrays and log lines, with little saving on prose. Compression runs locally, and it is on PyPI and npm as headroom-ai.
Supermemory
Supermemory is an MIT-licensed memory and context engine for AI apps and agents: it stores what users and agents learn, builds user profiles and returns the relevant context for each request through an API, SDKs, an MCP server and plugins for common assistants. The team reports top results on the LongMemEval, LoCoMo and ConvoMem memory benchmarks, with about 95% recall at 15 results. You can use the hosted service and dashboard or self-host it.