Convert PDF to Markdown
PDF text as structured Markdown — right in your browser.
PDFs are made for reading and printing, not for further processing: the text is locked into a fixed layout without logical structure. If you want to move the content into a wiki, keep editing it, or hand it to an AI tool, you need it as structured text — which is exactly what Markdown provides.
This converter extracts the text of your PDF page by page and reconstructs the structure: headings are detected based on font size relative to the body text and emitted as #, ## or ### headings, short bold lines are treated as subheadings, and page breaks are marked with separator lines.
Good to know: detection is heuristic and works best with text-based PDFs and clear typography. Scanned PDFs (images of text), tables and multi-column layouts are not reliably converted. Everything runs locally in your browser — no upload.
How to convert a PDF file to Markdown
- Drag your .pdf file into the box above or click to select it.
- The text is extracted page by page and output as Markdown with detected headings. Check the result in the preview.
- If needed, fix individual headings directly in the Markdown tab, then download the result as an .md file.
PDF conversion questions
Why are some headings not detected?
Detection is based on the font-size ratio relative to the body text. If a PDF sets headings at the same size as the body (just bold or colored), they are detected as ### or remain body text. You can fix this directly in the Markdown tab.
Do scanned PDFs work?
No. Scanned PDFs contain images instead of text — that would require OCR, which this converter does not currently offer. Only PDFs with real, selectable text work.
Are tables preserved from PDFs?
No. PDF stores tables only as positioned text without structure, so reliable reconstruction is not possible. For DOCX files, tables are fully converted.
What does the separator line (---) in the result mean?
Every page break in the PDF is marked with a horizontal rule. This keeps track of which content came from which page — you can simply delete the lines if you prefer.