BuildTube Preview About
Back to the feed

MarkItDown: Convert PDFs, Word files and slides into plain Markdown

Added · Updated

Turn PDFs, Word files, slides, spreadsheets, images and audio into Markdown text that an AI model can read.

For developers who feed documents to language models, MarkItDown is a small Python utility from Microsoft that keeps headings, lists, tables and links as Markdown (plain text with light marks for structure). It runs as a terminal command or from Python code, steps through ZIP files one file at a time, and can describe images if you connect an AI model. Microsoft says the output is meant for text analysis tools rather than for high-fidelity documents that people will read.

What it does

Markdown is close to plain text but still marks up headings, lists and tables, and language models handle it well. This tool converts into that format from PDF, PowerPoint, Word, Excel, images (reading embedded metadata and text in the picture), audio (metadata and speech transcription), HTML, CSV, JSON, XML, EPub, YouTube links and ZIP archives, which it steps through file by file. It runs from the command line or from Python code.

How to use it

Install it with pip install markitdown[all], then run markitdown report.pdf -o report.md; the Markdown lands in that file, or prints to the terminal if you leave out -o. You can also pipe a file into it. In Python, create a MarkItDown object, call convert on a file such as test.xlsx and read result.markdown. The repository also includes a Dockerfile for the same job.

Common use cases

  • Run markitdown on a PDF of meeting minutes and get a Markdown file that keeps its headings and tables, ready to paste into an AI chat or a search index.
  • Call the Python API on an Excel workbook or PowerPoint deck and get Markdown text back in result.markdown for your own pipeline.
  • Set an OpenAI-compatible client and model name, convert a photo, and get a Markdown description of the picture; with the audio-transcription extra, a wav or mp3 file comes back as a transcript.

Getting started

Reviewed setup route · source checked 2026-10-21 · Source page (opens in a new tab)

  1. Check you have Python 3.10 through 3.14, and create a virtual environment (an isolated folder for the tool’s add-ons) as the source suggests.
  2. Install it with Python’s package installer using the markitdown[all] option, which adds support for every file type.
  3. In a terminal, run markitdown with the path to a file, adding -o document.md to save the result.
Try with
Convert a PDF, Word or PowerPoint file you already have by running markitdown path-to-file.pdf -o document.md.
What to expect
A plain-text Markdown file that keeps headings, lists, tables and links; the source says it is meant for text-analysis tools and may not suit high-fidelity conversions for people to read.
Access note
Runs from the command line with Python. The source warns it reads files with the permissions of the program running it, so avoid untrusted inputs; its audio and Azure options need extra installs.
See MarkItDown install steps (opens in a new tab)

Can I use this?

Runs in a terminal

Requirements Python 3.10 through 3.14, ideally in a virtual environment, and a terminal. Support for each file type comes as optional extras, and markitdown[all] installs them all. Image descriptions need an AI model client you supply, and the optional Azure Document Intelligence or Content Understanding routes need an Azure endpoint and are billed by Azure. The source does not list hardware requirements.

Caveat The project says it may not be the best option for conversions meant for people to read. It reads files with the same access as the program running it, so untrusted inputs should be checked. Built-in audio support is basic and there is no video support without Azure.

Worth knowing The project says the output is meant for text analysis tools rather than for people, so it is not a high-fidelity document converter. It also warns that it reads whatever the running program can reach, so untrusted files should be handled carefully. Licensed under MIT.

Why it's here

Not trending this week

Last seen on the GitHub trending list on 20 September 2026. It stays on BuildTube so you can still find it.

  • 194,405 people have starred it on GitHub.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View source

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is MarkItDown?
Markdown is close to plain text but still marks up headings, lists and tables, and language models handle it well.
What can I use MarkItDown for?
Run markitdown on a PDF of meeting minutes and get a Markdown file that keeps its headings and tables, ready to paste into an AI chat or a search index; Call the Python API on an Excel workbook or PowerPoint deck and get Markdown text back in result.markdown for your own pipeline; Set an OpenAI-compatible client and model name, convert a photo, and get a Markdown description of the picture; with the audio-transcription extra, a wav or mp3 file comes back as a transcript
Can I run MarkItDown on my computer?
Yes. MarkItDown is a Python tool you install with pip and use two ways: as a terminal command, or inside your own code. It needs Python 3.10 through 3.14.
What do I need to use MarkItDown?
Python and a terminal. The project notes that optional features, such as reading particular file types, come as extras you install alongside it.
What license does MarkItDown use?
Licensed under MIT.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for MarkItDownDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-microsoft-markitdown.svg)](https://buildtube.app/p/gh-microsoft-markitdown/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-microsoft-markitdown/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="MarkItDown on BuildTube"></iframe>

Back to the feed