Microsoft MarkItDown converts files to Markdown for LLM pipelines
github.com
Microsoft MarkItDown is a Python tool and library that converts files—including PDFs, Office documents, HTML, audio, and EPUBs—to Markdown for text analysis and LLM pipelines. It preserves structure such as headings, lists, tables, and links rather than visual fidelity.
Optional dependencies can be installed by format, while third-party plugins add converters independently. For untrusted input, the repository recommends restricting access to files and URIs and using the narrowest conversion function needed, such as convert_local() or convert_stream().
