PDF to Markdown
Turn a PDF's text into Markdown, pick the pages, then download a .md file.
Free, fast, and privacy-first.
Convert a PDF to Markdown
or drag & drop files here
PDF files onlyone file at a timeup to 100 MB each
Selected files 0
document.pdf
0 KB
Your text file is ready
Your download should have started automatically.
Convert PDF to Markdown: extract clean, structured text
Turn a PDF's words into a Markdown (.md) file you can drop into notes, a wiki, a README, or a static site. pdfcosmos reads the text and infers simple structure entirely in your browser, so your document never leaves your device.
You get a best-effort Markdown: paragraphs, bullet and numbered lists, and short all-caps titles promoted to headings. Because a PDF stores text and positions rather than a real outline, subtler headings, tables, multi-column layouts, and inline bold/italic aren't reconstructed. It reads the PDF's own text layer with full Unicode support (Arabic, Chinese, emoji), saved as UTF-8. Scanned or image-only PDFs have no text layer, so those need OCR, which this tool doesn't do. It tells you instead of returning an empty file. Convert all pages, the first or last, or a custom range.
-
Structure, not just text
Bullet and numbered lists and clear all-caps titles come through as Markdown lists and headings.
-
Full Unicode text
Reads the PDF's text layer (Latin, Arabic, Chinese, emoji), saved as UTF-8.
-
Honest about scans
Image-only PDFs need OCR (which this doesn't do), so you get a clear message, not an empty file.
-
Nothing is uploaded
The text is read in your browser. Your PDF never leaves your device.
How to convert a PDF to Markdown
-
Add your PDF
Click “Add PDF”, or drag a single file into the upload area.
-
Choose the pages
Convert all pages, just the first or last, or a custom range.
-
Convert and download
Click “Convert to Markdown” to download a .md file with your PDF's text.