Skip to main content
PDF PRO SAFEGDPR · Zero storage

Extract Text from a Scanned PDF (OCR)

Extract text from a scanned PDF

To extract text from a scanned PDF, drop it in, pick the document's language and the pages, then run OCR. The recognized text appears on screen, ready to copy or download as a .txt file. Recognition happens in your browser; only the language model downloads the first time. You get plain text, not a new PDF.

  • Files processed on your device
  • No server-imposed size limit
  • 100% free
Restoring your session…

How to extract text from a PDF (OCR)

  1. 1Drop in your scanned PDF. It opens inside your browser and isn't uploaded.
  2. 2Pick the document's language (English, French, Spanish, German, Italian, Portuguese, or French + English) and the pages to read: all of them, or ranges like 1-3, 5.
  3. 3Click “Run OCR”, then copy the recognized text or download it as a .txt file. An average confidence score comes with the result.

What OCR does

A scanned PDF holds nothing but pictures of pages: you can't select a sentence, search for a word or copy a paragraph. Optical character recognition (OCR) looks at those pictures and works out which letters they show.

Each page is rendered by pdf.js and then read by Tesseract, the leading open-source OCR engine, compiled to WebAssembly. The text of every page is put together in order, with a separator between pages, and the tool shows an average confidence score: the higher it is, the more reliable the result.

What you get

The result is plain text, shown right below the tool. One button copies it to your clipboard, another downloads it as a .txt file. From there you can paste it into a document, an email or a spreadsheet.

The tool doesn't change the original PDF and doesn't produce a searchable PDF. If you need a PDF with selectable text, turn the pages into images with PDF to image, then rebuild a document with Image to PDF in “Digital text (OCR)” mode. The text is retyped cleanly, without the original layout.

Choosing the language

The language model helps the engine recognize accents and common words. Pick the document's main language; for text that mixes French and English, such as a bilingual contract or a Canadian form, the French + English option combines both models.

Each model downloads once and is then kept by your browser, so later runs work offline.

Getting a good result

Recognition quality depends mostly on the scan itself:

Always proofread the output: OCR can mix up look-alike characters, such as 1 and l, or 0 and O, and that matters most in numbers.

  • a sharp scan, at 300 dpi if your scanner allows it, does far better than a blurry phone photo;
  • pages need to be upright, so rotate any that are sideways first;
  • printed text is recognized well; handwriting is not;
  • tables and columns are read line by line, so check the order of what comes out;
  • a document of several hundred pages takes a while, so limit the run to the pages you need with a range.

Everyday uses

OCR saves time whenever the alternative is retyping everything by hand:

In each case, a quick proofread of names and numbers against the original scan is worth the extra minute.

  • getting the text out of an old letter, contract or deed that only exists as a scan, so you can quote or edit it;
  • copying a case number, reference or address from a scan without typos;
  • reusing a photocopied article or chapter to translate, summarize or annotate it;
  • pulling a scanned list or statement out so you can paste it into a spreadsheet.

What goes over the network

The first time, the engine and the language model (about 5 to 7 MB) download from a public content delivery network (cdn.jsdelivr.net) and are then cached. Your document never travels: pages are rendered and read inside your browser, and nothing is stored or logged on a server. If your PDF already contains text, you don't need OCR at all: PDF to Word pulls the text out directly.

Technical specifications

Processing
100% local, in your browser
Technology
Tesseract.js (WebAssembly) · PDF.js
File size
No server-imposed size limit: your device's memory is the only limit
Privacy
File never uploaded or stored: suited to GDPR and professional secrecy
Price
Free, no sign-up, no watermark

Frequently asked questions

Is my document uploaded to a server?

No. Pages are rendered and recognized inside your browser. Only the engine and language model download the first time, from public servers; your document never leaves the device.

Which languages are supported?

English, French, Spanish, German, Italian and Portuguese, plus a French + English option for bilingual documents.

Does it make my PDF searchable?

No, it extracts the text so you can copy it or download it as .txt. For a PDF with selectable text, turn the pages into images, then use Image to PDF in “Digital text (OCR)” mode.

Can it read handwriting?

Not well. OCR is built for printed text, and handwriting gives unreliable results. Always proofread the output.

Do I need an internet connection?

Yes, the first time, to download the engine and language model (about 5 to 7 MB). After that they're cached and OCR runs offline.

What does the confidence score mean?

It's the average of the scores the engine gives each page. A high score means reliable recognition; a low one points to a blurry, skewed or handwritten scan worth checking carefully.

Related guides

Related tools