How to Extract Text from a Scanned PDF with OCR

Updated: November 2026

A scanned PDF looks like a document, but to a computer it is a photograph of one: the words are pixels, not text. You cannot search it, copy a paragraph from it, or paste it into another document. OCR — optical character recognition — reads the words in the image and turns them back into real, selectable text. It is the bridge between paper and editable documents.

MergeMint's OCR PDF tool reads scanned PDFs and photos of documents in your browser, in eight languages including Hindi and English+Hindi together. The OCR engine downloads once (about 15 MB) the first time you use it, then runs on your device and works offline. The recognised text appears on screen, and you can copy it or download it as a .txt file. Your files are never uploaded.

How to do it, step by step

  1. Add a scanned PDF or a photo. Open the OCR PDF tool and drag in a PDF, JPG, PNG, or WebP file — a scanned letter, a photographed notice, or a screenshot of a document. The tool accepts one file at a time.
  2. Pick the text language. Choose English, Hindi, English + Hindi, Spanish, French, German, Arabic, or Chinese Simplified. Pick the language the document is actually written in — the mixed English + Hindi option is for documents that switch between the two, which is common in Indian paperwork.
  3. Click Extract text. Each page is rendered at double scale for accuracy and read by the OCR engine. The first run downloads the engine (about 15 MB), so give it a moment; later runs start faster. A long document takes longer — the progress bar shows each page being read.
  4. Copy the text or download it. The recognised text appears on screen. Copy it straight into another document, or download it as a .txt file. Then proofread it against the original — OCR is very good on clean scans, but no OCR is perfect.

When to use it

Use it to turn a scanned letter into text you can edit and reply to, to pull the wording out of a photographed notice or circular, to make a scanned book or report searchable, or to extract the text of a certificate for a form. It is the necessary first step before converting a scanned PDF to Word: the PDF to Word tool needs real text, and OCR is what creates it. It also helps with accessibility — recognised text can be read aloud by a screen reader, where a scan cannot.

It is the wrong tool for documents that already have selectable text. If you can select and copy words from the PDF in your browser, the text is already there — use the PDF to Word tool or simply copy it, and skip OCR entirely. OCR is only for images of text.

Tips for a good result

Start with the clearest scan you have. Straight, well-lit, high-resolution pages read best; a crooked photo, faint print, or very small text produces more mistakes. Rotate the page upright first if the scan is sideways — the Rotate PDF tool fixes orientation, and OCR reads upright text far more accurately. Pick the right language before you start: the wrong language setting produces confident-looking gibberish. Always proofread the result, especially numbers, names, and dates — OCR confuses similar shapes, and a wrong digit in a bank detail or a date is worse than no text at all. For long documents, work page by page in your proofreading rather than trusting the whole output at once.

What this tool cannot do

The engine reads printed text — it does not reliably read handwriting, so handwritten notes come out garbled. It extracts plain text only: no formatting, no tables, no images, and no preservation of the original layout, so a complex page comes out as flowing text. It cannot read text that is too small, too faint, or cut off at the edge of the scan. Accuracy depends entirely on the quality of the image; a blurry photo of a page will always give a rough result no matter how many times you run it. And it processes one file at a time — a folder of scans means repeating the steps for each one.

Common mistakes to avoid

Running OCR on a PDF that already has text wastes time and can make the result worse — check whether the text is selectable first. Choosing the wrong language is the fastest way to garbage output; match the setting to the document. Trusting the output without proofreading is risky for anything official — read it against the original, digit by digit for numbers. Using a crooked or shadowed photo when a flat scan is available costs accuracy for no reason; re-scan or re-photograph the page straight. Expecting handwriting to work leads to disappointment — the engine is trained for print, and cursive handwriting in particular is not recognised.

Frequently asked questions

Which languages can it read?

English, Hindi, English + Hindi, Spanish, French, German, Arabic, and Chinese Simplified.

How accurate is it?

Very good on clean, straight scans of printed text. Skewed photos, faint print, and unusual fonts produce more errors — always check the result before using it.

Can it read handwriting?

Not reliably. The engine is trained for printed text, so handwritten notes come out garbled.

Does it work on photos of documents?

Yes — upload a photo (JPG, PNG, or WebP) of a page and the text is extracted the same way.

Are my files uploaded?

No. The OCR engine runs on your device after a one-time download, and your files never leave the browser.

Try it now: use the free OCR PDF tool on MergeMint — no sign-up, no upload, no watermark.

Related guides