Text Tools

How to Count Words in Urdu, and Why Counters Disagree

By · Published

To count words in Urdu, paste your text into an Urdu word counter or use Word's own count. Both count words the same way, by spaces. The trouble starts with sentences, characters and missing spaces, where Urdu behaves differently from English and most counters were built for English. We tested the common cases so you know which numbers to trust.

Short version: word counts are reliable if every word has a real space after it. Sentence counts are only right if the counter knows ۔ and ؟. Character counts include every zabar, zer and pesh.

How do I count words in Urdu?

  1. Open the Urdu Word Counter.
  2. Paste your text from Word, WhatsApp, a website or anywhere else.
  3. Read the words, sentences, characters and paragraphs. Mixed text also shows Urdu and English words separately.

Already writing in Word? Choose Review, then Word Count. In Google Docs, press Ctrl+Shift+C. Their word totals should be close to ours, since all three split words at spaces.

What did we find when we tested Urdu text?

We ran four short samples through an English-style counter (one that ends sentences only at . ! and ?) and through our Urdu counter:

SampleEnglish-style counterUrdu counter
پاکستان ایک خوبصورت ملک ہے۔ کیا آپ نے لاہور دیکھا ہے؟ ہم اگلے سال جائیں گے!16 words, 1 sentence16 words, 3 sentences
میں نے Google Docs میں essay لکھا۔ اب word count چیک کرنا ہے۔13 words, 1 sentence13 words (8 Urdu, 5 English), 2 sentences
اَللّٰہُ اَکْبَرُ2 words, 17 characters2 words, 17 characters, of which 8 are aerab
یہ جملہ ختم ہوا ۔ دوسرا جملہ7 words, 1 sentence6 words, 2 sentences

The word counts agree except in the last row, where a ۔ typed on its own between two spaces counts as a "word" in the simple counter. The sentence counts are where English-style tools fall down: they never see ۔ or ؟, so a whole paragraph of Urdu looks like one long sentence.

Why is my Urdu word count lower than it should be?

Almost always because of missing spaces. In Urdu, letters like ا، د، ڈ، ذ، ر، ڑ، ز، ژ، و and ے never join the letter after them. So when a word ends in one of them, the next word looks separate on screen even if you never pressed Space. Your eye reads two words; every counter, including Word's, sees one.

Two ways to check:

  • In Word, press Ctrl+Shift+8 (Show/Hide ¶). Every real space appears as a small dot. A gap with no dot is a missing space.
  • Anywhere, move the cursor through the text with the arrow keys. It stops once at a real space. If it jumps straight from the end of one word into the next, there's no space there.

The opposite problem is rarer: a space typed in the middle of a word to "fix" how it looks splits one word into two. Writers who use the zero-width non-joiner instead (as in خوش‌قسمت) don't have this issue, because that invisible character isn't a space and no counter treats it as one.

Do zabar, zer and pesh count as characters?

Yes. In Unicode each aerab mark is its own character, stored after the letter it sits on. That's why اَللّٰہُ اَکْبَرُ is 17 characters even though it has only eight letters and a space. It matters in three places:

  • Forms with a character limit. Removing aerab can bring a passage under the limit without changing a letter. The Urdu Word Counter has a Remove aerab button for exactly this.
  • Search. Text with aerab won't match a search typed without them in many apps, so plain text is easier to find.
  • Quranic text and poetry, where the marks carry meaning. Keep them there; only count them.

How many characters fit in an Urdu SMS?

70, not 160. A text message in English letters uses a compact 7-bit alphabet that fits 160 characters. Urdu letters aren't in that alphabet, so the phone switches to Unicode encoding, which fits 70 characters per message. Long Urdu messages are sent in parts of 67 characters each, because a little room goes to joining the parts back together. One emoji in an English message has the same effect. Use the character count, not the word count, when you're writing for SMS.

Why does Urdu pasted from InPage look like gibberish?

Older InPage files don't store Urdu as standard Unicode letters. Copied out of InPage, the text often arrives as Latin letters and symbols, so any counter (ours included) counts those symbols, not the Urdu. The text has to be converted to Unicode first; once it pastes as real Urdu letters, counting works normally. Newer InPage versions handle Unicode better, so check which version made the file.

Questions people ask

Does Microsoft Word count Urdu words correctly?

For words, yes: Word splits at spaces, the same as our counter, so the totals should be close. The missing-space problem above affects Word too.

Is a word with both Urdu and English letters counted once?

Yes. Anything between two spaces is one word. In our counter, a word that contains any Urdu letter is counted in the Urdu column.

How do I type Urdu if I don't have an Urdu keyboard?

Write it in Roman Urdu with Online Urdu Typing: type "aap kaise hain", press Space after each word, and it turns into Urdu script. Then paste it into the counter.

Are numbers like ۲۰۲۶ counted as words?

Yes, both Urdu digits (۰ to ۹) and English digits count as a word when they stand between spaces, as they do in Word.