PDF to Text with OCR
Read the words out of a scanned document. Recognition runs in your browser, so the file never leaves your device.
Document
Runs in your browser. Your PDF is never uploaded, not even the scanned pages.
How this tool works
Everything happens on your own device. When you choose a file, every page is first checked for a text layer — the real, selectable text that a digital PDF carries. Pages that have one are read directly, which is instant and exact. Only the pages that turn out to be pictures of writing go through optical character recognition, and that recognition also runs in your browser, using the open-source Tesseract engine compiled to WebAssembly.
No page, and no part of the file, is sent to a server. The only things this page downloads are the recognition engine and the language model, fetched once from this site and then kept in your browser's cache, so a second document starts straight away and the tool keeps working even if your connection drops after it has loaded.
The common cases this produces are worth spelling out:
- An ordinary digital PDF — every page is read from its text layer in a moment, and no recognition is needed.
- A report with two scanned inserts in forty pages — thirty-eight pages are read directly and only two are recognised.
- A fully scanned document — every page is recognised, up to 30 pages per run. Split a longer scan and run the parts in turn.
Which tool should you use?
If your PDF is a normal digital document, PDF to Text does the whole job faster and is the better choice. Come here when that tool returns nothing or when your file is a scan. For a single photo or screenshot rather than a PDF, use Image to Text.
Getting good results
Recognition quality depends far more on the scan than on the software. On a clean scan of printed text most characters come through correctly. What pushes it down:
| Problem | Effect | What helps |
|---|---|---|
| Low resolution | Letters blur into each other | Rescan at 300 DPI; below 200 accuracy drops sharply |
| Skewed or curved pages | Lines are missed entirely | Straighten the page, or photograph it flat |
| Photograph at an angle | Distorted characters | Shoot square to the page with even light |
| Faint or dot-matrix print | Characters guessed | Increase contrast before scanning |
| Wrong language selected | Plausible but wrong words | Name the language; choose English and Hindi for mixed text |
| Handwriting | Largely unreadable | No reliable fix — this is printed-text recognition |
The language setting matters more than people expect. Recognition uses it to choose between characters that look nearly identical, so a document read as the wrong language returns real words that are not the ones on the page — a failure that is much harder to spot than obvious nonsense.
Always read the result
Recognition is a very good guess, not a transcription. A digit misread in an invoice or a name misread in a record is the kind of error that survives right through to whatever you paste it into. The text comes back editable here for that reason: read it against the original before you rely on it.
Speed on your device
Because the work happens on your machine, speed depends on it. A laptop typically recognises a full scanned page in a few seconds; a phone takes longer. Each page shows its own progress and time, and Stop ends the run at once while keeping every page finished so far.
Questions
Is my document uploaded?
No. The whole job runs inside your browser. Pages that already carry a text layer are read directly, and scanned pages are recognised by an OCR engine that runs on your own device. The file, and any page of it, never leaves your computer or phone. The only downloads are the engine and language files themselves, fetched once from this site and then cached.
What is the difference between this and the ordinary PDF to Text tool?
The ordinary tool reads the text layer a PDF already contains and returns nothing for a scan. This one adds recognition for pages that have no text layer. If your document is a normal digital PDF, the other tool is faster and does the same job.
How accurate is the recognition?
On a clean scan of printed text at a reasonable resolution, good — most characters come through correctly. Accuracy falls with low resolution, skewed pages, photographs taken at an angle, faint or dot-matrix printing, unusual typefaces and handwriting, which is not reliably readable at all. Always read the result before trusting it.
Which languages are supported?
English, Hindi, English and Hindi together, French, German, Spanish, Portuguese and Italian. Naming the right one materially improves accuracy, because recognition uses the language to resolve characters that look alike.
How long does it take?
Pages with a text layer are read almost instantly. A scanned page usually takes a few seconds on a laptop and longer on a phone. The first run also downloads the engine and the language model, which are cached for next time. Progress is shown page by page and the job can be stopped at any point.
Is there a limit?
Files up to 25 MB, and up to 30 scanned pages recognised per run. Pages that already have a text layer do not count towards the 30. For a longer scan, split the PDF with the PDF split tool and run the parts one after another.
Related tools
Browse all Sigma Wire tools - every free tool on the site, grouped by category.