No tool matches “”

Try a format (“webp”, “mp3”) or a verb (“merge”, “compress”).

Loading index

↵to open

how-to · 7 min read

PDF OCR accuracy: what it can read and how to improve it

PDF OCR reads the pixels of a scanned page and turns them into text. How well it does that depends on the scan, language and page layout far more than on any single setting, so a clean 300 dpi page of single-column text is a very different job from a phone photo of a glossy brochure with three columns and a table.

This guide explains what OCR can and cannot recover, why the text it produces is not automatically a searchable PDF, and a short verification workflow that catches the mistakes most likely to matter: digits, names, email addresses and table cells.

Scanned text and selectable text are different problems

A PDF page can hold text, an image, or both. When the original document was made digitally, the page usually contains an actual text layer: you can select a sentence, copy it and search for a word, and those operations read the stored characters rather than pixels. A scan is just a picture inside the PDF, so the same actions find nothing useful until OCR adds a text layer of its own.

That distinction is the first thing to check. Open the file and try to select a line of body text. If the selection highlights only a rectangle around the page, or text copies as garbled symbols, the page is image-only and OCR is the right step. If selecting works and copies cleanly, the file already has text and running OCR again only risks adding duplicate or differently ordered text.

Mixed PDFs are common: a scanned signature page followed by a digital invoice, or a report where the cover is an image and the body is selectable. OCR is only needed for the image-only pages, and the results should be combined with the existing text rather than replacing it wholesale.

Resolution and page quality decide most of the result

OCR needs enough pixels per character to tell shapes apart. For ordinary body text, 300 dpi is the usual target, and small print, footnotes or dense tables benefit from more. Below that, thin strokes blur together and the engine has to guess; upscaling a soft 150 dpi scan does not restore detail, it only enlarges the blur.

Beyond resolution, the capture matters: a page photographed with a shadow across the middle, a curved spine, a colored background or heavy JPEG compression gives the engine uneven contrast. Cropping the page margins, straightening a tilted scan and switching to grayscale can improve results without changing the document content. The in-browser PDF OCR tool does not edit the page image, so any cleanup needed for a difficult scan has to happen before the file is passed to it.

A simple test helps set expectations. Zoom to 100% on a few lines of the scan: if a person cannot read a character clearly at that size, the OCR engine is unlikely to do better. If the page is crisp at 100% and still fails, the problem is usually language, layout or the character set rather than resolution.

Language, fonts and the recognition model

OCR engines do not read characters in isolation; they use language models, dictionaries and expected character patterns to choose between similar possibilities. That is why the selected language matters even for short snippets. A page in Spanish or Portuguese recognized with an English model may still produce most words, but accented letters, contractions and unfamiliar words are where errors cluster.

The PDF OCR tool in this collection runs Tesseract in the browser with an English model. That is a good fit for English documents and a poor fit for pages written in other scripts or with a lot of non-English text. For mixed-language documents, expect the non-English passages to need more correction, and check names and diacritics by hand.

Fonts add another variable. Clean serif and sans-serif body text is the easiest case; decorative headings, small caps, condensed fonts and mathematical symbols are harder. Handwriting is a different problem entirely and should not be treated as reliable OCR input. Rotated text, text over photos and transparent overlays also reduce recognition quality.

Layout: columns, tables and reading order

A page is two-dimensional, but the extracted text is a stream. Before it can print words, the engine has to decide the reading order: which block comes first, which column continues after which, and where a header or footer sits relative to the body. Multi-column pages are the most common failure point because the engine can interleave lines from adjacent columns.

Tables are harder still. OCR can recover the words in table cells but does not reliably preserve the cell boundaries, merged headers, or the row and column alignment that made the table meaningful. Extracted text often turns a grid into a run of values, which is still useful for searching but not for arithmetic. When the structure is the point, use a tool that groups text items into rows and columns, and expect to check the result against the page image.

Repeated headers, footers and page numbers also leak into the text and can look like content. If you plan to analyze the extracted text, remove repeated page furniture deliberately rather than letting it distort counts and searches.

Common OCR confusions worth checking

The classic substitutions come from shapes that are genuinely similar: zero and capital O, one and lowercase l or capital I, five and S, two and Z, eight and B, and the pair rn against m. Punctuation is also fragile, especially decimal points, hyphens and curly quotes. A language model can correct an uncommon word toward a common one, which is helpful for prose and risky for identifiers.

Numbers are where these mistakes cause the most damage. Invoice totals, part numbers, ISBNs, coordinates, dates and account references have no reliable context for the model to fall back on, so an incorrect digit can survive every dictionary check. The same is true for email addresses, URLs and codes that mix letters and digits.

A quick review should therefore search the extracted text for digits, then compare each hit with the page image. Check every value in a table column that will be summed, and verify proper nouns against known spellings. Reading the text without comparing it to the source catches grammar problems but misses exactly the substitutions that matter most.

Why OCR text is not a searchable PDF

It is common to expect OCR to produce a PDF that looks identical to the scan and is searchable. That requires writing a new text layer into the PDF, positioned invisibly under the page image, plus the image itself and the correct coordinates for every recognized word. OCR that extracts text does not perform that reconstruction.

The PDF OCR tool here is an extraction tool: it renders pages in the browser, recognizes the text and lets you review and download the result as a plain-text file or JSON. The output is valuable for searching, copying, indexing and feeding other tools, but it is not a new PDF. PDF to Text follows the same extraction model for pages that already have selectable text.

If you need the original page appearance and searchable text in one file, keep the source PDF and treat the extracted text as a companion artifact, or use a dedicated OCR-and-rebuild workflow. Rebuilding a PDF from the extracted text alone loses layout, fonts, images and page structure.

A verification workflow that catches real errors

Start with a sample rather than the whole document. Pick a page with ordinary prose, a page with a dense table and a page with the smallest print in the file. Run OCR on that sample, compare the output with the page image side by side, and only then process the remaining pages if the quality is adequate for the task.

Check the categories of text that matter for your use case. For prose, read a few paragraphs and run a spell-check, remembering that a dictionary will not flag a wrong digit. For tables, verify totals and a handful of cells against the image. For records, search the extracted text for identifiers and confirm every hit. If the result will feed an automated process, keep the original PDF so a later disagreement can be traced back to the page.

Choose the output based on what happens next. Use PDF to Text when you need the existing selectable text, PDF to Excel when the information is organized in rows and columns, and PDF to JPG when you need page images rather than text. The OCR result itself is plain text, so a spreadsheet import or a parser may still need manual cleanup, and that cleanup is part of an honest OCR workflow rather than a sign that something went wrong.

  • Compare a text sample with the page image before processing everything.
  • Search for every digit and identifier that will be used downstream.
  • Verify table totals and a sample of cells against the scan.
  • Keep the original PDF alongside the extracted text.

Frequently asked questions

How accurate is PDF OCR?
There is no single accuracy number that applies to every PDF. Recognition depends on resolution, contrast, skew, font, language, layout and the OCR model, and a clean typed page and a photographed table are very different inputs. Treat any OCR output as a draft and verify the numbers and names that matter for your task.
Can this tool turn a scanned PDF into a searchable PDF?
No. The PDF OCR tool extracts recognized text and lets you download it as TXT or JSON; it does not add an invisible text layer to the original PDF. A searchable PDF needs a rebuild that places text under the page image, which this workflow does not perform. Keep the original file and use the extracted text as a separate artifact.
What resolution should I scan at for OCR?
For ordinary body text, 300 dpi is the usual scanning target, and small print or dense tables may benefit from more. Resolution is not the only factor: a sharp 200 dpi page can beat a blurry 400 dpi one. Upcaling a low-resolution scan adds no detail, so improving the capture is more useful than enlarging the file.
Why does OCR confuse 0 with O and 1 with l?
Those pairs share nearly the same outline, and the recognition model resolves them from context, which fails when the text has no linguistic context such as a part number or an account code. A dictionary will not reliably fix these substitutions, so search the output for digits and compare each identifier with the page image.
Does OCR preserve tables and columns?
Not reliably. OCR recovers words in reading order but usually loses the cell boundaries, merged headers and row-column relationships that make a table useful. If the structure matters, use PDF to Excel on a PDF with selectable text, or plan a manual cleanup pass against the page image after OCR.
Should I OCR a PDF that already has selectable text?
Usually not. If you can select and copy a sentence, the page already has a text layer, and running OCR adds duplicate or differently ordered text rather than improving the file. Check mixed documents page by page so only the image-only pages are processed.

Tools for this job

All PDF Tools