Does my PDF actually contain text?
This is the question that decides whether this page can help you, and there is a two-second test.
Open the PDF in any reader and try to select a word with your cursor. If individual words highlight, the document has a real text layer and the extraction will work. If you can only drag a rectangle over the page, as though it were a photograph, then it is a scan.
Why scans contain no text
A scanned PDF is a picture of a page. The file holds an image; the letters exist only as arrangements of pixels, in exactly the way letters in a photograph do.
Getting text out of that requires optical character recognition — software that looks at the image and works out which shapes are which characters. That is a fundamentally different operation from reading a text layer, and it is not what this page does.
If your document is a scan, you need an OCR tool. This page will honestly return nothing rather than pretend.
Why the text comes out in an odd order
A PDF does not store paragraphs. It stores instructions for placing pieces of text at particular positions on a page.
For ordinary prose that maps cleanly to reading order. For a two-column academic paper, a magazine spread, or a page with sidebars and footnotes, it often does not — the extraction follows the document’s own ordering, and that ordering was chosen for drawing the page, not for reading it.
Line breaks come from where lines physically ended on the page, which is why the output is not reflowed into paragraphs. Reflowing would mean guessing, and a wrong guess is harder to fix than a visible line break.
The output is plain text. Bold, italics, headings, tables and columns are all properties of how the page is drawn, and none of them exist in a .txt file.
Why do this locally
The reason to pull text out of a PDF is usually to work with its contents — a contract, a report, a statement, a letter.
The parsing here runs entirely in your browser with PDF.js, Mozilla’s PDF renderer. Nothing is transmitted, and the Uploaded readout beside the result measures this page’s own outbound network calls to prove it.
Questions
- Why can't I extract text from my scanned PDF?
- Because there is no text in it. A scan is a photograph of a page — the file contains an image, and the letters exist only as pixels. Extracting text requires optical character recognition, which is a different operation from reading a text layer. This page reads text that is genuinely stored in the document.
- How do I know if my PDF has real text?
- Open it in any reader and try to select a word with the cursor. If the selection highlights individual words, the text is there and this page will find it. If you can only draw a box over the page like an image, it is a scan.
- Why is the text out of order?
- Because a PDF stores where each piece of text sits on the page, not necessarily the order a human would read it in. Multi-column layouts, sidebars, headers and footnotes can interleave. The extraction follows the document's own ordering, which is usually right for ordinary prose and often wrong for magazines and academic papers.
- Is formatting preserved?
- No. The output is plain text. Bold, italics, headings, tables and column layout are all properties of how the page is drawn, and none of them survive into a plain text file.
- Is my document uploaded?
- No. The parsing runs in this browser tab using PDF.js. The Uploaded readout beside the result measures the page's own outbound network traffic, so a successful extraction reads 0 B.
- Can I extract text from a password-protected PDF?
- Documents that only restrict copying will often still be readable. Documents that require a password to open cannot be parsed without it.
- Is there a page limit?
- None imposed. Long documents take longer to parse but are not rejected.
- Why does the text have odd line breaks?
- PDFs record text positioned on a page rather than flowing paragraphs, so line breaks come from where lines physically ended. Reflowing that back into paragraphs is guesswork, and this page does not guess.
- Can I extract text from a specific page only?
- The whole document is extracted. Extract the pages you want into a shorter PDF first if you need a subset.
- Will there be a watermark or a limit?
- No watermark, no page cap, no account. There is no server to pay for, so there is nothing to ration.