PDF to Markdown
Turn embedded PDF text into editable Markdown. It runs in your browser.
Input and settings
Choose a PDF and configure its Markdown output.
No PDF selected.
Physical page positions starting at 1. Overlaps count once, in document order.
Optional table detection treats the first aligned row as the header. Columns can be mistaken for tables.
Choose a PDF to begin.
Markdown source
Your converted Markdown will appear here.
Layout detection is approximate. Scanned pages need OCR, which this tool does not run. Review the source before using it.
How to use
- Choose a PDF. Enter its password if required.
- Choose pages and formatting, then select Convert. Leave Pages blank for all pages.
- Review the Markdown source. Copy it or download the UTF-8 .md file.
Changing a setting clears the result. Convert again to apply it. Cancel stops processing and keeps the file and settings. Reset clears everything.
Files stay in your browser
Conversion runs in browser workers. Your PDF, password and extracted text are not uploaded or saved by this page.
Browser memory limits can stop large conversions. Select fewer pages if that happens.
What the conversion keeps
- Embedded text and its Unicode characters, where the PDF provides usable character mappings.
- Headings inferred from relative font size and lists with explicit bullet or number markers. The Plain paragraphs option turns those rules off.
- Web and email links attached to text in the PDF. Unsafe links and internal page jumps are left as text.
- Optional tables from consecutive rows with aligned, separated cells. The first row becomes the table header.
Reading order, spacing and paragraph breaks depend on the PDF's text layer. Columns, rotated text and complex layouts may need editing. Images, exact styling, form fields and comments are not exported. Pages without embedded text are listed by number; an entirely empty selection creates no download.
Related tools
Frequently asked questions
Are my files uploaded?
Conversion runs in browser workers. Your PDF, password and extracted text are not uploaded or saved by this page.
Does this work with scanned PDFs?
Only embedded text is extracted. A scanned image needs OCR first. A PDF containing both scans and text can produce Markdown for its text pages.
Which Markdown format is generated?
The source uses headings, paragraphs, lists and links. Table detection adds pipe tables, supported by GitHub-flavored Markdown. HTML characters and literal Markdown punctuation in the original text are escaped.
Can I convert a password-protected PDF?
Enter its password in the local field. An incorrect or missing password leaves your input and settings available for correction.
Will the layout match the PDF?
Markdown reflows text. Font size and text positions help infer structure, but the result does not reproduce the original page layout. Check headings, tables and reading order.