Fix Broken Urdu Text

Paste Urdu that came out disjointed, backwards or full of Arabic letters after copying from a PDF or website, and get clean, searchable Unicode Urdu back.

2 Repaired Urdu
Your text stays on your device. Nothing is uploaded. Report a problem

Quick answer

How do I fix broken Urdu text copied from a PDF?

Paste the broken Urdu into the Fix Broken Urdu Text tool above and press Fix text. It joins letters stored as separate shapes, turns Arabic ي into Urdu ی, ك into ک and ه into ہ or ھ, removes invisible characters and spacing errors, and offers to reverse lines that read backwards. Copy the clean Unicode Urdu or download it as a text file, free and without uploading anything.

  1. Paste the broken text Copy the Urdu from your PDF, website or app and paste it into the left box.
  2. Review the fixes The repaired text appears on the right with every changed character shaded green, plus a summary of what was fixed.
  3. Reverse if needed If the words read backwards, the tool says so. Press “Reverse each line” to put them in the right order.
  4. Copy the clean Urdu Copy the result or download it as a .txt file. Turn individual fixes on or off under Options.

Why Urdu breaks when you copy it

Older PDF makers and some websites store Urdu by how it looks rather than by its letters. When you copy the text out, four problems cover most cases: letter shapes (presentation forms) that look right but break search and spell checking, lines stored backwards, Arabic look-alike letters in place of Urdu ones, and invisible characters or double spaces. This tool repairs each problem in a careful order and shows you exactly which characters it changed. How each kind of damage gets into a PDF is explained in why Urdu text copied from a PDF looks broken.

What each repair does

Fix Example before After
Joined letter shapes ﭘﺎﻛﺴﺘﺎﻥ (shape codes) پاکستان
Arabic → Urdu letters يه كتاب یہ کتاب
ه → ہ or ھ مجهے بهت مجھے بہت
Arabic digits ١٩٤٧ ۱۹۴۷
Punctuation ہے . ہے۔
Reversed line ےہ باتک یریم ہی یہ میری کتاب ہے

Joined-letter shapes are converted with a targeted map, not blanket Unicode NFKC normalisation. NFKC would also expand honorifics such as ﷺ into several words and change other symbols you meant to keep. We keep ﷺ, ﷽ and ornate brackets exactly as they are.

Example: text from an old government PDF

This is the kind of text you might copy from an older government PDF:

Copied from a PDF

مجهے يه كتاب بهت پسند هے ، اور ميں اسے روز پڑهتا هوں ?

After repair

مجھے یہ کتاب بہت پسند ہے، اور میں اسے روز پڑھتا ہوں؟

Nine letters changed: ي → ی, ك → ک, and every ه resolved by word (مجھے، پڑھتا with ھ; یہ، بہت، ہے، ہوں with ہ). Three punctuation fixes followed: the stray spaces before the comma and the question mark went, and the question mark became ؟.

When you need the whole PDF rather than a passage, Urdu PDF to Word applies the same repairs to every page and gives you an editable Word file.

When the repaired text still looks wrong

The text still reads backwards

Click Reverse each line. If only some lines are reversed (common when a PDF mixes columns), paste those lines separately. English words and numbers inside a reversed line are kept in their normal left-to-right order.

Letters look fine but search still fails

That is the classic sign of presentation forms. Make sure Joined letter shapes is on under Options. Afterwards, every changed character shows in green.

Some words have the wrong ہ or ھ

Uncommon words containing do-chashmi ھ default to ہ. Fix them by hand, and let us know the word so we can add it to the list.

The copied text is random English letters

The PDF has no real Urdu text inside, only drawings of letters, which is common with InPage exports and scans. Repair cannot help there. If you have the original InPage file, copy from InPage and use the InPage to Unicode converter instead. If you only have the PDF, Urdu OCR can read its pages as images.

Frequently asked questions

Why does Urdu copied from a PDF look broken?
A PDF records how text looks, not always what it says. Many PDF makers store each letter in its joined shape (initial, middle or final form), store lines in visual right-to-left order, or use Arabic letters instead of Urdu ones. When you copy, you get those shapes and orders back, which breaks searching, editing and sometimes reading.
Will this fix every PDF?
It fixes the most common problems: joined-letter shapes, reversed lines, Arabic letters, invisible characters and spacing. Some PDFs, especially those exported from InPage as images or with custom fonts, contain no real text at all, only shapes. Copying from those gives random Latin letters or nothing. Those need OCR (text recognition) rather than repair.
How does it decide between ہ and ھ?
Arabic text uses one letter ه for both. The tool checks each word against a built-in list of common Urdu words spelled with do-chashmi ھ (بھی، تھا، کچھ، دیکھنا and many more) and uses ہ everywhere else, since gol hay is far more common. Rare words may need a manual touch-up.
Why doesn’t the tool reverse the text automatically?
Reversing correct text would scramble it, and some lines mix Urdu with English or numbers. The tool detects likely reversed text using patterns such as words that start with ے or ں, which never happens in correct Urdu, and asks you to confirm with one click.
Does it change English text in the same document?
No. English words, Western digits and URLs are left exactly as they are. Punctuation is only converted to Urdu forms (۔ ، ؟) when it directly follows an Urdu word.
Is ZWNJ (zero-width non-joiner) removed?
Only where it does nothing. A ZWNJ between two Urdu letters controls joining in compound words, so it is kept. ZWNJs next to spaces, along with zero-width spaces, byte-order marks and direction marks, are removed.
Is my document uploaded?
No. All repairs happen in your browser. Nothing you paste is sent, stored or logged.

Last updated Processed entirely in your browser Report a problem with this tool