How to turn a PDF into Markdown
Markdown is the format most AI tools, note apps and documentation sites want. A PDF is close to the opposite: it records where each piece of text sits on a page, and nothing about what that text is. Converting one to the other means working out the structure again.
Why it is harder than it looks
- Headings are not marked. In most PDFs a heading is only text in a bigger or bolder font. A converter has to guess that it is a heading and which level.
- Reading order is not stored. A two-column page read left to right gives you line 1 of column one followed by line 1 of column two.
- Tables are loose text. There are no rows or cells in the file, only numbers placed in a grid pattern.
- Lines are broken where the page broke them. A paragraph arrives as separate lines, sometimes with hyphenated words split in two.
Three ways to do it
1. Copy the text and add the Markdown yourself
Fine for a page or two. Get the plain text (our free preview gives you the first 5 pages without an account or an upload), then add # for headings and - for lists by hand. You control the result, and it costs nothing but time.
2. Use an open-source converter on your own computer
Tools such as Docling (MIT licence) and Pandoc-based workflows run locally, which matters for confidential documents. You need Python or a command line, and the first run downloads layout models. Good if you convert PDFs regularly and are comfortable with a terminal.
3. Use a layout-aware parser
A layout-aware parser looks at the page the way a reader does: it finds columns, headings, lists and tables, then writes Markdown in reading order. This is what the ParsePDF AI full parse does, using Docling on our own server — $9.99 once for a document of up to 200 pages, returned as document.md plus JSON and CSV tables.
What good output looks like
# Annual Report
## 1. Summary
The garden ran 48 plots this season, up from 41 the year before.
## 3. Harvest by crop
| Crop | Harvest (kg) | Donated (kg) |
|----------|--------------|--------------|
| Tomatoes | 412.5 | 96.0 |
Check three things in any converter's output: headings use # at sensible levels, paragraphs are whole rather than one line per printed line, and tables are pipe tables rather than a run of numbers.
When Markdown cannot hold it
Standard Markdown has no merged cells, no footnote layout and no multi-column pages. Tables with merged cells lose some shape. If the table matters more than the prose, take the CSV (see the table guide).
Official source
The Markdown syntax itself is defined by the CommonMark specification. Pipe tables are an extension described in the GitHub Flavored Markdown spec.
See your PDF's text first
Free for the first 5 pages, in your browser.