Guide · 4 min read · Updated 2026-08-09
How to Convert PDF to Text
Plain text is the most portable thing you can pull out of a PDF. This guide shows you how to do it in a couple of clicks, and — more usefully — explains what to do when the output is not what you expected.
This file never leaves your browser.
Convert your file
Drop a PDF into the tool below. The conversion runs inside this browser tab, so the file is never uploaded to a server and you get the .txt back immediately.
What actually happens during extraction
A PDF does not store paragraphs. It stores instructions like "draw this glyph at this coordinate". A text layer is a list of positioned text runs, and extraction means reading those runs back and rebuilding the reading order from their coordinates.
That is why extracted text sometimes looks slightly different from the page: the extractor groups runs into lines by vertical position, then orders them left to right. Multi-column layouts, footnotes and page headers all live in the same coordinate space as body text, so they come out interleaved with it.
Steps
- 1Choose your PDFDrag it onto the drop zone or click to browse. Nothing is transmitted at this point.
- 2Press ConvertThe text layer of every page is read in order and joined with blank lines between pages.
- 3Check the previewSkim the preview before downloading. This is the fastest way to spot a scanned PDF or a column-order problem.
- 4Download the .txtThe file is generated in your browser and saved straight to your downloads folder.
When extraction returns nothing
If you get an error saying there is no text layer, the PDF contains pictures of words rather than words. This is normal for anything produced by a scanner, a fax machine or a phone camera.
No amount of retrying will fix this, because there is genuinely no text in the file to read. You need optical character recognition, which looks at the pixels and guesses the letters.
Fixing messy output
| Symptom | Cause | What to do |
|---|---|---|
| Columns are interleaved line by line | Two-column academic layout read across the page | Extract anyway, then split the columns manually — or try Markdown output, which preserves structure better |
| Headers and page numbers everywhere | Running headers are ordinary text runs | Strip repeated lines with a quick find-and-replace |
| Words joined together | The PDF has no explicit space glyphs, only positioning | Unavoidable in some generators; Markdown output often spaces better |
| Empty result, no error | Pages carry only vector art | Try PDF to SVG to keep the artwork instead |
Frequently Asked Questions
Is my PDF uploaded anywhere?
No. The conversion is JavaScript running in your own browser tab. You can confirm it by opening your browser devtools network panel during a conversion — there is no request carrying your file.
Does it work on a phone?
Yes, as long as the browser is reasonably modern. Very large PDFs are limited by the memory your phone will give the tab, so a few hundred pages on an old device may struggle.
Will formatting be preserved?
No — plain text has no concept of bold, headings or tables by definition. If you want structure preserved, use PDF to Markdown or PDF to HTML instead.
Can it handle a password-protected PDF?
Not if the PDF requires a password to open. Remove the protection in the app that created it first, then convert.