PDF Tools
PDF to Text / Markdown
Extract the text from a PDF as plain text or Markdown — keeping lines and paragraphs, with headings detected — to copy, search or reuse.
How to use
- 1Add a PDF.
- 2Choose plain text or Markdown, then copy or download the result.
Frequently asked questions
Why is my PDF's text empty?
Scanned PDFs are images of text. Run OCR PDF first to recognize the text.
How are headings detected?
Lines in a noticeably larger font than the body text become Markdown headings.
Does it keep tables?
Table text is extracted line by line. For spreadsheets, use PDF to Excel.
How Markdown headings get detected without any AI
The Markdown mode works by measuring every character's font size across the whole document and finding the single most common size — that becomes the assumed 'body text' size. Any line sized at least 1.35x that body size (and under 120 characters, so it isn't mistaken for an oversized paragraph) gets promoted to a heading, with lines at 1.8x or more becoming a top-level '#' and the rest '##'. This is a purely visual heuristic: a document where headings happen to use the same font size as body text (just bold) won't be detected, but most reports, contracts and slideshows exported to PDF use a genuinely larger font for headings, which is exactly what this method catches.
Why an empty result means the PDF is scanned, not broken
Text extraction reads the PDF's actual text objects — the characters a program drew with a font, each with a real position and size. A scanned document, by contrast, is just a photograph of a page saved as an image; there's no text object anywhere in the file to extract, so every page comes back empty. The tool detects this exact case and tells you directly rather than returning a blank result with no explanation — the fix is running the file through OCR PDF first, which adds a genuine text layer by recognizing characters in the scanned image.
Paragraphs are rebuilt from line spacing, not punctuation
Markdown mode doesn't just dump every line as-is — it groups consecutive lines into a paragraph by watching the vertical gap between them; when the gap between one line's baseline and the next is unusually large (more than 1.8x the font size) relative to normal line spacing, that's treated as a paragraph break and the next line starts a new one. Bulleted and numbered lines are also detected by the characters they start with and are never merged into surrounding paragraph text, so a two-column résumé bullet list stays as a list rather than collapsing into one long sentence.
Example: pulling a 15-page policy document into editable text
An HR policy PDF has section headings at 16pt against 11pt body text, with a few bulleted lists of entitlements. Running it through Extract Text with Markdown selected produces a document where each 16pt heading becomes a '##' line (16 ÷ 11 ≈ 1.45, clearing the 1.35x threshold), each bullet stays a '- ' line, and the paragraphs between them are rejoined into single flowing lines instead of staying broken at each PDF line wrap. The output — roughly however many words the 15 pages contain, shown in the tool's own word counter — can then be pasted directly into a wiki or word processor with its structure mostly intact, instead of a wall of disconnected lines.
Related tools
- PDF Highlights & Comments Exporter
Pull every highlight, underline, sticky note and comment out of an annotated PDF, with the highlighted text, page, colour, author and replies, as Markdown (for Obsidian or Notion), CSV or JSON.
- Compare PDF Files (Text Differences)
Compare two PDFs (or Word files) and see exactly what text was added, removed or changed — page by page, highlighted like a redline.
- Edit PDF (Add Text, White-Out, Shapes)
Add text, white-out boxes, highlights, rectangles and form fields to PDF pages — click to place, drag to move — then download.
- Extract Images from PDF
Save every picture embedded in a PDF as PNG or JPG files — at their original resolution — downloaded together as a ZIP.
- Text to PDF
Paste notes or open a .txt file and get a clean, readable PDF with your choice of page size and font size.
- Word to Text Converter (DOCX ↔ TXT)
Extract plain text from Word documents, or turn plain text into a formatted .docx file with headings and bullet lists — free, instant and private.