Extract the text from a PDF
Pull the text out of a PDF so you can copy, search or paste it. It runs in your browser, and it will tell you plainly if the file is a scan with no real text inside.
- Choose a PDF. It is read straight into the page — nothing is uploaded.
- Leave the page box blank for the whole document, or give a range like 1-5, 8.
- Click Extract text. The text appears below, ready to copy or save.
- Copy it, or download it as a plain .txt file.
Two completely different kinds of PDF
This is the thing worth understanding before you start, because it explains almost every disappointing result. A PDF made by exporting from Word, a browser or an accounting system contains real text: characters, positions, fonts. Extracting from one of those is near-perfect and instant, because the text is already in the file and only has to be read out.
A PDF made by a scanner or a phone camera contains a picture of text. There are no characters in the file at all, only pixels that a human eye resolves into words. No amount of extraction will find text that is not there, and a tool that claims otherwise is quietly doing something else.
When this page finds nothing, it says so rather than handing you an empty box and letting you wonder. For a scan, what you need is optical character recognition — our image to text tool runs a real OCR engine in the browser, and will read a page image into text.
Why the layout does not always come out right
A PDF stores where each fragment of text sits on the page, not that this column belongs to that paragraph. Reconstructing reading order from coordinates is guesswork, and the guess is good for ordinary prose and poor for anything laid out in columns.
So: a report, a letter, a contract or a judgment extracts cleanly. A two-column academic paper tends to interleave the columns. A table comes out as a stream of cell contents with the grid gone. A newspaper page is usually a mess. That is a limitation of the format rather than of this tool, and every extractor has it to some degree.
If you only need one section, give the page range rather than extracting the whole document — less to wade through, and quicker.
Doing it without uploading the document
The documents people most want to extract text from are the ones they should be most careful with: contracts, statements, medical letters, case papers. Pasting one into a free online extractor means handing the entire content to a server, and the text is the part that matters.
Here the PDF is parsed by Mozilla's open-source pdf.js running inside your tab. The file is read from your disk into memory, the text is pulled out there, and it is shown to you. Nothing is transmitted — load the page, disconnect from the internet, and extraction still works.