MarkItDown
Microsoft's lightweight Python utility for converting PDF, Office, images, audio, HTML and more into structure-preserving Markdown for LLMs.
Tags
Description
Also ships a markitdown-mcp package. It performs I/O with the privileges of the current process, so sanitize inputs in untrusted environments.
Related
- Docling: Open-source document parser that converts PDF, Office, HTML, audio, images and more into Markdown, JSON or DocTags for gen-AI pipelines; includes an MCP server.
- Firecrawl API: Web data API for AI agents: search the web, scrape any page to clean data and interact with it through one API.
Guides & comparisons
- Convert documents to Markdown for agents with MarkItDown and Docling (Guide): Turn PDFs, Office files and other documents into Markdown or chunks an agent can read, with Microsoft's MarkItDown for speed and Docling for layout and tables, then expose either one to an agent over MCP.
- Data analysis agent stack (Stack): An agent that answers questions from your data: it queries DuckDB files, a ClickHouse warehouse or Postgres through read-only MCP servers, runs heavier analysis in a sandbox, reads spreadsheets and PDFs, and is tested and traced so you can trust the numbers.
Sources
- https://github.com/microsoft/markitdown
- https://github.com/microsoft/markitdown/tree/main/packages/markitdown-mcp
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)