PDF to Markdown Converter
HeadingsBetaExtract the text of a PDF and convert it to Markdown. Headings are detected by font size; paragraphs, lists, code and URLs are kept. Runs in your browser.
Files are not uploaded · processed in your browser
Enter content or choose a file, then click “Convert to Markdown”.
How to use
- Choose or drop a PDF file.
- Click “Convert to Markdown”.
- Check the result, then copy it or download it as a .md file.
Privacy
Files you choose and text you enter are processed in your browser. They are not uploaded to our servers and we do not store them. Some tools download the code or data they need (such as OCR language data) from this site the first time you use them.
Read the privacy policyFAQ
Is my PDF uploaded anywhere?
No. The conversion runs in your browser and your file never leaves your device.
How well are PDFs converted?
The text layer is extracted, headings are detected by font size, paragraphs by line spacing and indentation, and lines starting with bullets or numbers become lists. Lines set in a monospaced font (such as code) become code blocks and URLs become links. Tables and multi-column layouts come out as plain text line by line.
Can scanned PDFs be converted?
No. Scanned or image-only PDFs have no text layer. Use OCR: Image and PDF to Text to recognize the text first.
What about password-protected PDFs?
Remove the password first with Unlock PDF, then convert.
Why are there backslashes in the result?
Characters like *, _ and # have special meaning in Markdown, so they are escaped with a backslash to make them display exactly as in the original.
Are there size limits?
PDFs can be up to 50 MB and 300 pages.
Related tools
- Vertical text
Extract Text from PDF
Extract the text of a PDF page by page, then copy it all or download a TXT file.
Keeps lines and paragraphs
- Auto structure
Plain Text to Markdown
Turn plain text into Markdown, detecting paragraphs, lists, code, tables and headings.
Opens .txt files
- Tables & code
HTML to Markdown Converter
Convert HTML code or .html files to Markdown, keeping headings, lists, links and tables.
Scripts are never run
- Print to PDF
Markdown to PDF
Lay out Markdown as a document and save it as a PDF with your browser's print dialog.
Supports CJK text