Perso-Arabic (Nastaliq) script
Urdu OCR اردو
Extract text from scanned Urdu documents and images. Urdu is written right to left, usually in the flowing Nastaliq style, and the result comes out as Unicode text you can edit or give to an AI assistant.
● Runs in your browser. Your files are never uploaded.- Urdu and English are already selected
- Output: .md, .txt
.pdf.jpg.png.docx.pptx.xlsx.xls.csv.txtNo file to hand? (a made-up 6-page PDF).
Good for
- Urdu newspapers and books
- Old property and court documents
- Religious and literary texts
- Letters and notices
Tips for better Urdu results
- Nastaliq is one of the hardest scripts for OCR: expect more errors than with Hindi or English, especially in dense or decorative text. Naskh-style printing converts better.
- Use the highest-resolution scan you can get.
- Urdu and English are selected together. Remove English for purely Urdu pages.
What to check in Urdu results
- Nastaliq calligraphy slopes and overlaps, which makes it much harder for OCR than Naskh-style print. Expect more errors on calligraphic pages.
- Dots (nuqtay) distinguish many letters (ب پ ت ث), so specks and blur cause wrong letters.
- Text runs right to left; numbers inside a line run left to right, which can affect the order when copied into other apps.
Why Nastaliq is hard
Most Urdu print uses Nastaliq, a flowing style in which each word slopes down from right to left and letters stack and overlap. That makes words hard to split into letters, and OCR finds it much harder than the straighter Naskh style used for Arabic. Clean, modern digital Nastaliq converts reasonably; calligraphic book titles, old newspapers and handwriting do not.
Expect to proofread Urdu output more than other languages. Dots above and below letters (as in ب, ت, ث) carry the meaning, so a single lost dot changes a word.
InPage documents and right-to-left text
For decades Urdu books and newspapers were composed in InPage, which does not store text as Unicode. PDFs exported from it usually contain no usable text, so Docuflat treats those pages as scans and reads them with OCR.
The result is right-to-left Unicode Urdu. When you paste it into Word, set the paragraph direction to right-to-left; when you paste it into an AI chat, it will display correctly on its own.
Questions
Does it work for Nastaliq newspapers and books?
It works best on clean, printed Nastaliq or Naskh at 300 dpi. Old lithographed books and dense calligraphy give weaker results.
Will the Markdown display right to left?
The text is stored correctly. Whether it displays right to left depends on the app you paste it into; most editors and AI chats handle it.
Are my Urdu documents uploaded anywhere?
No. OCR runs inside your browser. The Urdu language data is downloaded to your browser once, but your files never leave your device.