PDF to Markdown
Turn a PDF into clean, editable Markdown — without uploading it.
PDF is a final format. Markdown is a working format. Converting one to the other is not a formatting trick — it is a change in what the document is for. A PDF is fixed so it looks the same everywhere. Markdown is plain text so it can be edited, searched, diffed, and fed to other tools.
That difference explains both why the conversion is useful and why it is never perfect. Here is what actually happens, and how to get a result you can work with.
What a PDF converter can recover
A text-based PDF contains a set of text runs positioned on a page. It does not contain paragraphs, headings, or lists as such. It contains glyphs at coordinates. A converter has to infer the structure:
- Headings from font size, weight, and isolation. A line in 24-point type at the top of a page is probably a heading. A line in body type is probably not.
- Paragraphs from vertical gaps and line endings. When the gap between two lines is larger than the normal leading, the converter starts a new paragraph.
- Lists from bullet glyphs and numbering patterns. A line starting with
•or1.becomes a Markdown list item. - Reading order from the coordinates. Most PDFs read top-to-bottom, left-to-right; multi-column layouts break that assumption.
This is why a good converter preserves the argument of a document but may stumble on a complicated table. It is reconstructing intent from geometry.
The five-minute workflow
- Check whether the PDF has a text layer. Open it and try to select a sentence. If the selection highlights actual words, conversion will work. If it selects a rectangle around the whole page, the PDF is a scan.
- Convert. Drag the file into PDF to Markdown. The file is parsed in your browser, so nothing is uploaded.
- Scan the headings first. If the heading levels are wrong, the rest of the document will feel wrong too. Fix the
#levels before editing paragraphs. - Check the tables. Markdown tables are fragile. A complex table may come through as a run of lines. Rebuild it by hand if it matters, or keep it as an image.
- Paste it where it is going. Notion, Obsidian, GitHub, and most docs tools accept Markdown directly.
What does not survive
A converter is not a layout tool. These things usually need manual work:
| Element | What happens | Fix |
|---|---|---|
| Multi-column pages | Columns may interleave | Convert one column at a time, or copy from the source |
| Complex tables | Rows and cells collapse | Rebuild the table; keep the source PDF for reference |
| Footnotes | Numbers stay, notes may move | Move notes manually |
| Text in images | Missing entirely | Run OCR on the image first |
| Equations | Symbols may be garbled | Use LaTeX source if available |
If the document is a contract, a financial statement, or anything where the exact layout carries meaning, keep the PDF. Markdown is for the text, not for the legal formatting.
Scanned PDFs need OCR first
A scan is an image wrapped in a PDF. There is no text to extract, so a converter will return an empty page or an error. You have two options:
- Run OCR in your PDF app (Preview, Acrobat, or a scanner tool) to add a searchable text layer, then convert the searchable copy.
- Export the pages as images and use Image to Text to recognize them, then assemble the Markdown.
OCR is good enough for clean scans and poor for handwriting, glare, and tiny type. Check the result before you rely on it.
Why Markdown is worth the trouble
Once the text is Markdown, it becomes usable in ways a PDF is not:
- Search. You can search across a folder of notes without opening each file.
- Version control. A Markdown file produces a readable diff. A PDF produces a binary blob.
- Reuse. The same text can become a blog post, a help article, a prompt, or a slide outline.
- Portability. Markdown is readable in any text editor and will outlive most apps.
The conversion takes a minute. The editing takes five. That is still faster than retyping a report, and much faster than trying to copy text out of a PDF page by page.
A note on privacy
Most online converters upload your file to a server. That is a problem when the document is a contract, a medical record, or an internal memo. The AIbyNow converter uses PDF.js in the browser; the file never leaves your device. You can verify this by opening the tool, disconnecting from the network, and converting a PDF.
If a tool cannot tell you where your file goes, assume it goes to a server.
When to skip conversion
Sometimes the right answer is no conversion:
- The PDF is a scanned image and you only need one paragraph — read it and type the paragraph.
- The document is a form with fields — extract the field values, not the layout.
- The PDF is a designed report — keep it as a PDF and write a separate summary.
The goal is not to convert everything. The goal is to get the text into a form you can use. Markdown is a means, not a destination.