What OCR can and cannot do for your scanned paperwork
Optical character recognition, or OCR, tries to read the letters in a picture and turn them into real text. When it works, a scanned PDF becomes searchable, you can copy words out of it, and it can be converted into an editable file. When it does not, you still have a picture, now with an invisible text layer that may be wrong without telling you. Knowing which of those you are holding saves time and avoids awkward errors.
How OCR works on a PDF
A scanned document or phone scan is a series of images. A computer sees only pixels, so there is nothing to search or select. OCR studies those pixels, matches shapes to letters and words, and places a hidden layer of text behind the image. The page looks exactly as before, but search, copy and screen readers now have words to work with. In our OCR PDF tool that layer is stored for searching rather than lined up word by word, so a selection may not match the printed words; the separate .txt download is the easier way to copy text.
That detail is important: the picture stays on top. If the recognised text is wrong, the page will not show you the error. You only discover it when a search comes up empty or a copied figure is off by one digit.
Jobs OCR handles well
- Clearly printed letters and forms, such as a cukai taksiran bill from the local council, an electricity or water bill, or a letter from your insurer.
- Finding one clause inside a long scanned file, like a tenancy agreement or a set of AGM minutes.
- Copying an account number, reference number or address without typing it out.
- Turning scanned lecture notes or readings into something you can search while studying.
- Getting a scan ready for PDF to Word, so there is actual text to convert.
See OCR as a way to make image-only PDFs more useful, not as a promise that every character will be right.
Where recognition breaks down
- Handwriting, particularly quick notes and signatures, which OCR may try to read as words.
- Company chops stamped over text, coloured or patterned paper, and dim phone photos.
- Tables with thick borders and pages in several columns, where words can be read out of order.
- Very small print, faded carbon copies and faxed pages.
- Pages that are tilted, upside down or partly cropped.
- Characters that look alike: 0 and O, 1 and l, 5 and S, plus decimal points that disappear.
The look-alikes are the real risk. A renovation quotation showing RM8,650 on the image might read RM8,550 in the text layer, and nothing on screen will warn you.
Language is the other catch for Malaysian paperwork. Our tool offers ten recognition languages, one per run, and Bahasa Melayu and Tamil are not among them (Simplified Chinese is). For a Malay letter, English is the nearest setting because both use the Latin alphabet, but expect more slips in Malay words and names. The language data is downloaded when you start, so you need to be online.
Giving OCR a good start
- Scan as well as you can. Even light, a flat page and a camera held straight above it. A flatbed scanner or a proper scanning app does better than a quick photo at an angle.
- Straighten pages first. Turn sideways or inverted pages upright with Rotate PDF. Recognition is far more reliable on upright text.
- Remove junk pages. Blank reverse sides and repeat shots only add work and confusion.
- Hold off on heavy compression. Strong compression blurs the letter edges OCR depends on. Recognise the sharp version, and do not run the OCR output through Compress PDF afterwards: that turns each page back into a plain picture and the searchable text is lost.
- Run the recognition. Use OCR PDF and download the output.
Testing the output
Before relying on the new text layer, put it to the test:
- Search for an unusual word you know is on the first page. If the viewer cannot find it, do not trust the layer.
- Paste a paragraph into a plain text editor and compare it with the image. Look for words run together, lines missing and strange symbols.
- Check each name, date, RM amount and reference number by eye. Small mistakes here cause the biggest trouble.
- In tables, make sure the columns were not mixed together.
Do not treat OCR text as accurate enough for legal, medical or financial use without a person checking it. If you are sending something to LHDN, an insurer or a court, the image of the original is what counts, so double-check anything you retyped or copied from the recognised text.
Things OCR does not do
It does not remove a PDF password. It does not rearrange or tidy a messy layout. It does not prove a document is genuine, and it does not make a blurred scan look sharper to a human reader. All it does is add or improve a text layer so search and software can use what used to be only pixels.
When you can skip it
If all you need is to email or upload a clear scan, and nobody will search or copy the text, OCR is optional. Many portals only want a legible document. If the PDF already has selectable text, because it was exported from Word or saved from a website, running OCR again rarely adds anything and can sometimes confuse viewers with duplicated text. Use it when search, copying, accessibility or conversion is the aim, and check the result afterwards.
Checklist
- The scan is sharp and evenly lit, with every page upright.
- Blank and repeated pages have been removed.
- No strong compression before OCR, and none after it.
- A search for a known word succeeds.
- Names, dates, amounts and reference numbers are checked against the image.
- The original scan is kept alongside the OCR version.