AIAny
AI Client2024
Icon for item

MarkItDown

Converts PDF, Office docs, EPUB, images, audio, HTML and ZIP archives into structured Markdown for LLM pipelines, preserving headings, tables and links instead of visual layout. Adds optional OCR, audio transcription and LLM image captions.

Introduction

Most file-to-text converters optimize for humans reading the result; this one optimizes for a model reading it. The bet is simple: modern LLMs already "speak" Markdown fluently because they were trained on mountains of it, so emitting headings, tables, lists and links as plain Markdown is both semantically richer and more token-efficient than dumping raw text or HTML into a prompt.

What Sets It Apart
  • One API for a wide format spread — Office documents, PDF, EPUB, images, audio, HTML, YouTube URLs, CSV/JSON/XML, and even ZIP archives whose contents are walked recursively. You stop maintaining a converter per file type.
  • Structure is the product, not a side effect. Unlike textract or generic HTML-to-Markdown tools that flatten everything, it deliberately preserves the document skeleton so downstream chunking and retrieval have anchors to work with.
  • Optional intelligence where plain parsing fails: OCR for scanned images, speech transcription for audio, LLM vision captions for pictures and slides, and Azure Document Intelligence for hard PDFs. Heavy dependencies stay opt-in via pip extras, so a base install stays lightweight.
Great Fit If

You are feeding heterogeneous documents into a RAG index or analysis pipeline and want one predictable Markdown surface instead of bespoke parsers. It ships both a CLI and a Python class, plus a plugin system for custom converters. Look elsewhere if you need pixel-faithful reproduction, exact layout, or polished output for human reading — fidelity to visual presentation is explicitly not a goal, and complex tables or scanned PDFs can still need the optional OCR and Azure paths to come out clean.

Information

  • Websitegithub.com
  • AuthorsMicrosoft
  • Published date2024/11/13

More Items

GitHub
AI Client2026

Transforms unstructured documents into strongly-typed Knowledge Abstracts with one CLI command, extracting entities and relations into graphs, hypergraphs, and spatio‑temporal structures. Includes 80+ templates, multiple RAG engines, local vLLM support, Obsidian export and an MCP server.

GitHub
AI Agent2026

Provides a lightweight Python harness that turns LLMs into working agents with tool-use, skills, persistent memory, permission controls and multi-agent coordination. Ships with a CLI/React TUI, 43+ built-in tools, a plugin/skill system and the ohmo personal-agent for chat gateways. Best for developers prototyping agent workflows and multi-agent experiments.

GitHub
AI Model2026

Runs the Bonsai family of quantized LLMs locally (including vision-capable 27B): provides scripts and demo UIs to run 1-bit and ternary Bonsai models on macOS (Metal), Linux/Windows (CUDA/Vulkan/ROCm), or CPU, with long context, tool-calling and an optional Open WebUI agent demo.