OCR for Urdu, Arabic and Hindi PDFs: Tips for Better Accuracy
Optical character recognition has become very good for English, but scripts such as Urdu, Arabic and Hindi bring extra challenges: connected letters, right-to-left text, dots and diacritics that change meaning, and, in Urdu's Nastaliq style, letters that slope diagonally down the line.
Always choose the right language
The OCR engine uses a different model for each script. If you leave it on English, an Urdu page will come out as nonsense. In OCR PDF, pick Urdu, Arabic or Hindi from the language list before you start. The first run downloads that language's data, which is then reused.
Prepare the scan
- Resolution: scan at 300 DPI. Dots and small marks disappear at lower resolutions.
- Contrast: dark ink on white paper works best. Photocopies of photocopies lose detail.
- Straight pages: even a slight tilt reduces accuracy for connected scripts.
- One column at a time: newspapers with many columns are harder. Crop columns into separate images if accuracy is poor, then combine them with Image to PDF.
What to expect
Printed Arabic in common fonts and printed Hindi (Devanagari) usually give good results. Urdu in Naskh style works better than calligraphic Nastaliq, and handwriting generally won't be recognised reliably in any of these languages.
Check and use the result
Choose “Plain text” output, or extract the text later with PDF to Text, and read through it. Common mistakes involve similar-looking letters that differ only by dots. For important documents, compare a few lines against the original.
Privacy
Recognition runs entirely in your browser, so personal documents such as ID cards, property papers and certificates never leave your device.
Documents with mixed languages
Many documents mix scripts, for example an Urdu letter with English names, or an Arabic certificate with English dates. Choose the language that makes up most of the text. Numbers are usually recognised in either case, and short English words are often read correctly even with Urdu or Arabic selected.
Typing up the result
If OCR quality is not good enough to use directly, it still saves time. Copy the recognised text into a document and correct it while looking at the original. That's usually much faster than typing from scratch, especially for long documents.
Frequently asked questions
Why is the first run slow?
The language data for the script you choose is downloaded once and then reused from your browser's cache, so later runs start much faster.
Can I OCR a photo instead of a PDF?
Yes. Upload a JPG or PNG directly. The same tips apply: good light, a straight page and a sharp image.
Which other languages are supported?
Bengali, English, French, German, Spanish, Italian, Portuguese, Turkish, Russian, Indonesian, Chinese, Japanese and Korean are also available in the language list.