Skip to content

OCR came out wrong: gibberish, symbols, missing accents, and the fix for each

By the getPDF team · Published 11 October 2026

The short answer

Bad OCR almost always has 1 of 4 causes. Wrong accents mean the wrong language pack: pick the document’s language and run it again. Random symbols mean too few pixels per letter: rescan at 300 dpi in greyscale. Merged or sliced lines mean a tilted page: rescan it straight. Next to no text means handwriting or an empty page, which OCR cannot fix. Always rerun on the original scan, not on the result.

Try it here, nothing is uploaded

PDF · scanned or photographed · any size

Match your symptom to the cause

We read invented test pages in different states with getPDF’s OCR PDF: the language rows on 11 October 2026, the others on 12 October 2026 on the lease scan from our test suite. Each example below is a real output, so you can compare it with yours.

What you see Example from our tests Cause Fix
Accents missing or swapped for other letters “todzi” for “Łodzi”, “zt” for “zł”; with the German pack on Czech, “K6E” for “Kč” Wrong language pack Pick the right Language
Random symbols, broken words, wrong digits “37540 F UR” for “3750 EUR”, “Beeckor” for “Becker” Too few pixels per letter Rescan at 300 dpi, greyscale
Lines run into each other, letters swapped “LCase Agreemen;” for “Lease agreement”, 5 lines read as 1 Page tilted by about 10 degrees Rescan or rephotograph straight
Nothing, or a few stray words “no text found” in the report Handwriting, an empty page, very small text See symptom 4

Symptom 1: accents wrong or missing

The language pack tells the engine which letters exist. If the pack lacks a letter, the engine picks the nearest one it knows, and is sure about it. Our Polish page read with the English pack scored 87 % confidence, named no unsure word, and turned every ł, ą and ę into t, g and e. With the Polish pack the same page came out word for word right at 95 %.

The fix:

  1. Open the original scan in OCR PDF.
  2. Under Language, pick the language the text is written in. The panel starts from your browser’s language, so a Czech letter on an English laptop needs changing by hand.
  3. If the page mixes 2 languages, set the second under And. It reads more slowly. Adding Polish to English left our English page exactly as good as before (95 %).
  4. Run it and search the result for a word with an accent.

getPDF reads 11 languages: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Croatian and Russian. A language outside this list, say Hungarian or Greek, cannot be read with its own letters here yet.

Symptom 2: random symbols and broken words

The engine needs enough pixels to tell an e from a c. getPDF always draws the page at 300 dpi before reading, but drawing a coarse scan larger does not add the detail it never had.

What hurts most is a low resolution saved in pure black and white, the way fax machines and some office scanners do it. Our lease page as a black and white image at 100 dpi scored 64 %, named 9 unsure words, and read “3750 EUR” as “37540 F UR”. The same page at 72 dpi but in greyscale scored 81 % and got every amount right, with a few wrong letters (“Thes leasa” for “This lease”), because the grey edges carry the shape of each letter.

The fix: scan again at 300 dpi in greyscale (or colour), not black and white. For a phone, move closer so the page fills the frame. Our guide to turning a photo of a document into a PDF covers light and angle.

Symptom 3: lines merged or words sliced

OCR finds lines of text first, then words within them. A page tilted by a few degrees makes the lines slope across each other, and the engine starts stitching the end of 1 line onto the next. Our page tilted 2 degrees still read all but 1 word right (95 %). At 5 degrees, a few letters went wrong and 4 lines ran together (88 %). At 10 degrees 5 lines merged into 1 and a third of the words broke, as in the example above, yet the score was still 75 %, too high for a page warning.

The fix depends on how far the page is turned:

  • A quarter turn or upside down (a page scanned sideways): turn it upright with Rotate PDF first. OCR reads the page the way your viewer shows it, so a page rotated upright reads normally.
  • A tilt of a few degrees: getPDF does not straighten pages, and a crooked page is better rescanned than repaired. Push the paper against the scanner’s edge, or photograph it from straight above.

Symptom 4: next to no text

If the report says a page had “no text found”, the page is empty to the engine. The usual reasons are handwriting, text far too small or faint, or a page that really is blank. Tesseract, the engine behind our tool, is trained on printed type, so joined-up handwriting comes out with wrong words or not at all; our handwriting OCR guide has the measured verdict.

On a speckled or faded page the report may also say it left out a number of marks the reader could not make into words. Those are specks, smudges and lines, kept out of the text so search does not hit them; they are not lost words. A count in the hundreds, with few words read, means the scan is too faint or too noisy to read.

2 things that are not the cause in our tests: white text on black (it read at 95 %, like the normal page), and small print (6 point text scanned at 300 dpi read perfectly).

A different message, “every page already has text, so nothing was added”, means the file was not a scan. If copying from it gives gibberish, its text was made wrongly by the program that wrote the PDF. Setting Pages with text to “read again too” adds a correct OCR layer, but the old layer stays too, so search finds some words twice.

The rerun checklist

  1. Start from the original scan, never from an OCR result.
  2. Language: the document’s own, plus a second under And if it mixes 2.
  3. Resolution: 300 dpi, greyscale or colour.
  4. Straightness: upright with Rotate PDF; tilted pages rescanned.
  5. Compare the average confidence in the report, and search for 1 accented word and 1 number you can see.

The honest part

If 2 careful reruns do not beat the first result, the scan is the limit, and no setting fixes it. Rescan when you still have the paper; retype when you do not and the text is short or matters to the digit. Our test pages were drawn by a computer, so they are cleaner than any real scan: expect real pages to score lower than ours in every row. Each run happens in your browser; nothing is uploaded, so trying again costs only a few seconds per page.

Questions

Why does OCR drop the accents from my text?

The language pack decides which letters the engine can choose. Read Polish with the English pack and there is no Ł or ą to pick, so you get t and g instead. Pick the document's language under Language in OCR PDF and run it again on the original file.

Can I just run OCR again on the result?

Run it on the original scan instead. The result already has a text layer, so getPDF leaves those pages alone, and forcing a second read with read again too would leave 2 layers, the old wrong one and the new one, and double every search hit.

Does getPDF straighten a crooked scan before reading it?

No. It reads the page as it is. A page turned by a quarter, such as a sideways scan, is fixed with Rotate PDF first; a page tilted by a few degrees needs a new scan or photo taken straight.

Why did OCR find no text at all?

The report says it: no text found, and that the page may be handwritten, very small, or in a language not picked. A blank page gives the same line. If the report instead says every page already has text, the file was not a scan, and nothing was added.

Will a higher resolution setting help?

getPDF always draws the page at 300 dpi before reading, so there is no setting to raise. It cannot add detail a low-resolution scan never had. Rescanning at 300 dpi, in greyscale rather than black and white, is what helps.

The tools for this job