How to Get Text Out of a Scanned PDF

Open the PDF, let text recognition read the pages, check the result, then copy the text or save a searchable PDF.

By Shaojie (Firefly Lab) · Updated November 18, 2026

A scanned PDF is a stack of photographs. The words are visible to you and invisible to the computer — no selecting, no Ctrl+F, no copying. Optical character recognition (OCR) reads the pictures and produces text, which PDF to Text does in your browser without uploading the file.

Before running anything, spend five seconds working out which of three situations you are in, because they need different things.

Which of these is your PDF?

Open it in any reader and try to select a line of text with the cursor.

What happens What it is What to do
Words highlight normally Real text layer Copy it directly, or use PDF to Text for the whole document at once
Nothing highlights, or one box covers the page A scan Run OCR — this guide
Text highlights but copies as nonsense A bad OCR layer Run OCR with Recognise every page as an image

That third case is the one that wastes people’s time. A PDF that has been through cheap OCR software, or a fax-to-PDF pipeline, carries a text layer that looks real and produces garbage like Tbe arnoLmt due 1s ,f1 250 when copied. Tools trust that layer by default, so you have to tell them to ignore it.

Step by step

1. Check whether it is really a scan

As above. It takes five seconds and determines whether you need recognition at all — a PDF with real text converts exactly, with no recognition errors to proofread.

2. Open the PDF in the reader

Go to PDF to Text and choose the file. For a document you already know is entirely scanned, OCR PDF is the same tool with every-page recognition already on.

A password-protected PDF opens after you type the password.

3. Let it read the pages

The recognition engine — about 11 MB — downloads the first time and is then cached by your browser, so subsequent documents start immediately.

Pages are read one at a time and text appears as it goes. For a long document you can stop part-way and keep whatever has been read, which is useful when you only needed the first few pages.

4. Tick the force option if the text is garbled

Recognise every page as an image ignores any existing text layer and reads every page from its picture.

Turn it on when:

  • The copied text is nonsense (the third case above)
  • The PDF is a mix of real pages and scanned inserts, and the scanned ones come out empty
  • You do not trust the existing layer for any reason

Leave it off otherwise — real text is always more accurate than recognised text, so there is no reason to re-recognise a page that already has good text.

5. Copy the text or save a searchable PDF

Three outputs, for three different needs:

  • Copy or Download .txt — the plain text, for pasting into a document, a translator or a search.
  • Download searchable PDF — the original scan with an invisible text layer added. It looks identical and now supports Ctrl+F, selecting and copying in any reader. This is the right format for archiving.
  • Add “Page N” headings keeps track of where text came from in a long document. Turn it off for clean prose you are going to reuse.

The searchable PDF is the output most people actually want and do not know exists. You keep the exact appearance of the original — important for anything official — and gain the ability to find things in it.

Scan quality decides accuracy

Recognition quality is set by the scan, not the software. Roughly:

Scan Result
300 DPI, straight, printed text Very few errors
200 DPI printed text Occasional errors in small print
150 DPI or below Frequent errors; rescan if you can
Photo of a page, good light, held square Usable
Photo at an angle or in shadow Poor; lines may be missed
Faded fax, or a photocopy of a photocopy Poor
Handwriting Not supported

300 DPI is the target. Higher rarely improves accuracy and slows everything down. If you control the scanner, scan in greyscale rather than colour and leave sharpening off — sharpening creates artefacts that recognition reads as marks.

For a phone photo, the three things that matter are: square to the page, even light, and the whole page in frame.

Proofread the data, not the prose

Errors in sentences are obvious when you read the result. The costly ones hide where there is no context to catch them.

The character pairs that get confused are exactly the ones that matter: 0/O, 1/l/I, 5/S, 8/B, and decimal points lost at low resolution.

So check specifically: amounts, dates, account numbers, invoice numbers, postcodes, phone numbers and names. A wrong letter mid-paragraph is noise. A wrong digit in a contract value is a problem, and it will read perfectly fluently.

Languages

Auto covers English, European languages, Chinese and Japanese. For Korean, Russian, Arabic, Hindi, Thai, Greek, Tamil or Telugu, pick the language under Text language first — each script needs its own model, and leaving it on Auto produces poor output rather than an error message.

A mixed-language document is best read as its dominant language. A mostly-English scan with a few Russian names will do better as English than as Russian.

When you want more than plain text

You need Use
An editable document with paragraphs and headings PDF to Word
The tables as spreadsheet rows and columns PDF to Excel
Text from a photo rather than a PDF Image to Text
The document in another language Translate PDF

Plain text flattens a table into lines, which loses the column structure. If the point of the document is its numbers, PDF to Excel rebuilds the rows and columns and keeps numbers as numbers you can sum.

Why doing this locally matters

The documents people need to OCR are rarely trivial: old contracts, medical letters, bank statements, ID scans, land registry documents, academic records.

The engine is downloaded to your browser and runs on your device. The PDF is not uploaded, not queued, not stored, and there is no account — see how it works to verify it in your browser’s network panel.

That matters more for OCR than for most conversions, because the documents that need it are overwhelmingly the ones nobody should be uploading anywhere.

Tools used in this guide