5 Best PDF to Markdown Converters in 2027
Markdown is the easiest way to get a PDF into ChatGPT, Claude, Obsidian or a docs site: it keeps the headings and lists as plain text that every tool can read. Which converter you need depends on the PDF. If it was exported from Word or a website, the text is already inside and any of these will do. If it is a scan or a photo of a page, you need one with OCR. Here are five I have used, starting with my own.
1. How to Convert
Mac, Windows, Linux · $29 once; 3 free conversions to try
This is the one I made. It converts PDFs that already contain text, such as reports, invoices, papers and anything exported from Word or a website, and it works the same way for almost any other file.
1. Right-click the PDF. In Finder, choose Convert to. Or drag it into the How to Convert window, which takes a whole batch of PDFs at once.
2. Choose MD. Pick MD from the list. The Markdown file is saved next to the PDF, and any pictures go in a folder beside it with links in the text.

Right-click a PDF and Convert to lists what it can become, MD included. Mac shown.
It reads the text layer, so it is quick and private, but it does not do OCR: use Marker or Docling for scanned pages. Headings are worked out from the font sizes, so give the result a quick read before you rely on it.
Other options
2. Marker
Mac, Windows, Linux (Python) · Free to run yourself; hosted API from $25/month
The most thorough option, and the one to use for scans, tables and equations. It is a command-line tool that runs AI models on your computer, so the first run downloads them and a graphics card makes it much faster.
- Install it with pip install marker-pdf.
- Convert one file with marker_single /path/to/file.pdf, or a whole folder with marker /path/to/folder --output_dir out.
- If the text comes out garbled, run it again with --force_ocr.
The code is open source, but the model weights are only free for research, personal use and companies under $5M in revenue and funding. Larger companies need a licence from Datalab.
3. Docling
Mac, Windows, Linux (Python) · Free (MIT licence)
IBM's open-source converter. It understands page layout and tables and runs OCR by default, with no licence limits for business use. Like Marker, it has no app window.
- Install it with pip install docling.
- Run docling file.pdf. Markdown is the default output.
- To choose where it goes, add --to md --output out/. Pass a folder instead of a file to convert everything in it.
4. Mathpix Snip
Web, Mac, Windows, Linux, iPhone, Android · 10 pages a month free; Pro $4.99/month
The best choice for maths and science papers: equations come out as LaTeX inside the Markdown. Files are processed on Mathpix's servers, and the free plan only covers 10 PDF pages a month.
- Open snip.mathpix.com, choose PDF in the sidebar and click + to upload your file.
- Wait while it converts. A note with the result is created for you.
- Click the … menu next to the PDF and choose Export to Markdown.

5. MarkItDown
Mac, Windows, Linux (Python) · Free (MIT licence)
Microsoft's quick converter for feeding files to AI tools. It pulls the text out fast, but Microsoft says it is not meant for faithful conversions, and PDFs come out without headings.
- Install it with pip install 'markitdown[pdf]'.
- Run markitdown file.pdf -o file.md.
Scanned PDFs need its OCR plugin or Azure Document Intelligence, which sends the file to Microsoft.
Can I convert a scanned PDF to Markdown?
Only with a converter that does OCR, which reads the letters off the page image. Marker, Docling and Mathpix do. How to Convert and MarkItDown read the text a PDF already contains, so a scan with no text layer comes out nearly empty.
Will tables survive the conversion?
Simple text and lists convert well everywhere. Tables are the hard part: Marker, Docling and Mathpix rebuild them as Markdown tables, while simpler converters give you the cells as lines of text.
Should I convert a PDF to Markdown before giving it to ChatGPT or Claude?
It often helps. A Markdown file is smaller than the PDF, keeps the structure the model needs, and lets you check and trim what you are sending. It also means a private document can be converted on your own computer before you decide what to share.
Are the pictures in the PDF kept?
How to Convert saves them in a folder next to the Markdown file and links to them from the text. Marker and Docling can also export images; check their image options if you need them.