Gurmukhi to Shahmukhi Converter

Paste Punjabi in Gurmukhi and read it in Shahmukhi, or the other way round. Common words come from a verified word list, and any word spelled by rule is marked so you can check it.

Gurmukhi Shahmukhi
2 Shahmukhi

Underlined words are spelled by rule and are worth a check; all others come from our verified word list.

Converted on your device. Nothing is uploaded. Report a wrong word

Quick answer

How do I convert Gurmukhi to Shahmukhi?

Paste Punjabi written in Gurmukhi into the converter above and press Convert to get Shahmukhi, the Perso-Arabic script used in Pakistan; press Swap to go from Shahmukhi to Gurmukhi. A verified list of 30,000 word pairs from Punjabi Wikipedia handles letters such as ص and ع correctly, and words it had to guess are underlined.

  1. Choose the direction Gurmukhi to Shahmukhi is the default. Press Swap to convert Shahmukhi to Gurmukhi instead.
  2. Paste your Punjabi text Type or paste text in box 1. The result appears in box 2 as you type.
  3. Check the underlined words Words with a dotted underline were spelled by rule rather than taken from the word list. Read them once.
  4. Copy or download Copy the result or save it as a text file, ready for WhatsApp, Word or any website.

Punjabi in two scripts

In India, Punjabi is written in Gurmukhi (ਗੁਰਮੁਖੀ), which runs left to right. In Pakistan it is written in Shahmukhi (شاہ مکھی), a Perso-Arabic script close to Urdu that runs right to left. Most readers can read only one of them, and converting between the two is not a matter of swapping letters one for one:

  • One Gurmukhi letter, several Shahmukhi letters. ਸ can be س, ص or ث, ਤ can be ت or ط, and ਅ at the start of a word is often ع. Only the word tells you which is right.
  • Short vowels. Gurmukhi always writes them; Shahmukhi usually leaves them out, so ਕਿਤਾਬ becomes کتاب. Going back, the vowels have to be restored.

The guide Gurmukhi and Shahmukhi explains where the scripts come from and how every letter, vowel sign, tippi and bindi lines up.

How this converter works

The conversion combines rules with a verified word list.

The rules follow the standard correspondences described in transliteration research, such as M. G. Abbas Malik’s “Punjabi Machine Transliteration” (COLING/ACL 2006) and the work of T. S. Saini and G. S. Lehal on Shahmukhi–Gurmukhi transliteration. For every Gurmukhi letter and vowel sign they list all the possible Shahmukhi spellings.

The word list was built from Punjabi Wikipedia, which exists in both scripts: about 20 million words of Gurmukhi and 40 million words of Shahmukhi. For each of the most common Gurmukhi words, every spelling the rules allow was generated, and the one actually used in Shahmukhi Wikipedia was kept. A pair was accepted only if that Shahmukhi spelling really occurs, so the list never invents a spelling. The 30,000 pairs cover about 92% of the words in typical Gurmukhi text.

When you convert, each word is first looked up in this list. Words that are not in it are spelled by the rules alone and shown with a dotted underline. Names, rare words and new loanwords are the usual cases.

Gurmukhi and Shahmukhi side by side

These are real outputs from the tool.

Gurmukhi

ਪੰਜਾਬੀ ਦੁਨੀਆ ਦੀਆਂ ਵੱਡੀਆਂ ਬੋਲੀਆਂ ਵਿੱਚੋਂ ਇੱਕ ਹੈ। ਇਹ ਗੁਰਮੁਖੀ ਅਤੇ ਸ਼ਾਹਮੁਖੀ ਦੋਹਾਂ ਲਿਪੀਆਂ ਵਿੱਚ ਲਿਖੀ ਜਾਂਦੀ ਹੈ।

Shahmukhi

پنجابی دنیا دیاں وڈیاں بولیاں وچوں اک ہے۔ ایہ گرمکھی اتے شاہمکھی دوہاں لپیاں وچ لکھی جاندی ہے۔

All 18 words come from the word list, and converting the Shahmukhi back gives exactly the Gurmukhi you started with.

Some words show how the list solves the letter choices that rules alone cannot:

Gurmukhi Shahmukhi What had to be decided
ਸਾਹਿਬ صاحب ਸ as ص and ਹ as ح
ਤਾਕਤ طاقت ਤ as ط and ਕ as ق
ਇਸ਼ਕ عشق initial ਇ as ع
ਇਲਾਕੇ علاقے initial ਇ as ع, ਕ as ق
ਆਪਣਾ اپنا ਆ written as ا, not آ
ਕੰਮ کم tippi doubling ਮ, not ن

In the other direction, Shahmukhi written in the everyday Lahore style also converts cleanly:

Shahmukhi

ایہ گورمکھی تے شاہ مکھی دوہاں لپیاں وچ لکھی جاندی اے۔

Gurmukhi

ਇਹ ਗੋਰਮਖੀ ਤੇ ਸ਼ਾਹ ਮੁਖੀ ਦੋਹਾਂ ਲਿਪੀਆਂ ਵਿੱਚ ਲਿਖੀ ਜਾਂਦੀ ਏ।

Only one word is underlined: گورمکھی is not in the list in this spelling, so the rules wrote ਗੋਰਮਖੀ, without the short vowels of the correct ਗੁਰਮੁਖੀ. That is exactly the kind of word to check.

When the converted Punjabi looks wrong

An underlined word is wrong

Correct it in the result after copying. Underlined words are usually names, rare words or unusual spellings. If a common word is wrong, please report it so the list can be improved.

Shahmukhi text comes out with missing vowels in Gurmukhi

This happens for words outside the list, because Shahmukhi does not write short vowels. If your Shahmukhi text has zer and pesh (aerab), they are used, so کِتاب gives ਕਿਤਾਬ even without the list. To add them as you type, the Urdu typing pad has zer on Shift+i and pesh on Shift+p.

Shahmukhi copied from a PDF comes out jumbled

Some PDFs store Urdu-script text with reversed lines or odd letter shapes. Clean the Shahmukhi with Fix Broken Urdu Text first, then convert it.

Letters show as boxes

Your device is missing a Gurmukhi or Nastaliq font. Most phones and computers have both; on older Windows versions install a free Gurmukhi font such as Noto Sans Gurmukhi.

Urdu text gives odd Gurmukhi

The word list is built for Punjabi. Urdu words shared with Punjabi convert well, but Urdu grammar words (ہے، کا، کی) follow Punjabi spellings. For Urdu, use Urdu tools such as Roman Urdu to Urdu.

Frequently asked questions

How accurate is the Gurmukhi to Shahmukhi conversion?
Gurmukhi to Shahmukhi is very reliable for everyday text: the 30,000 most common Gurmukhi words come from a word list in which every Shahmukhi spelling has been confirmed in real Shahmukhi writing. In a hand check of 100 random entries from the whole list, 95 were right; common words, which make up most of any text, do even better. Shahmukhi to Gurmukhi is harder, because Shahmukhi leaves out short vowels.
Why is Shahmukhi to Gurmukhi less accurate?
Shahmukhi, like Urdu, usually does not write short vowels, so کتاب does not show whether it is ਕਤਾਬ or ਕਿਤਾਬ. For words in the list the right Gurmukhi is known. For other words the tool can only guess the vowels, and it underlines those words so you can correct them.
How does it choose between س, ص and ث for ਸ?
Gurmukhi writes س, ص and ث all as ਸ, ت and ط as ਤ, and ا and ع often as ਅ. For each common word, the tool tried every possible spelling and kept the one that is actually used in Shahmukhi writing, so ਸਾਹਿਬ becomes صاحب and ਤਾਕਤ becomes طاقت.
Does it work for Gurbani or old texts?
It converts the letters, but the word list is built from modern Punjabi, so old spellings and Gurbani vocabulary are more often spelled by rule. Check the underlined words carefully for religious and literary texts.
Is my Punjabi text uploaded anywhere?
No. The conversion runs in your browser. The word list is downloaded once (about 270 KB) and your text never leaves your device.
Which digits are used?
By default, numbers are written in Urdu digits (۱۲۳) in Shahmukhi and in Western digits (123) in Gurmukhi. Use the digits switch to keep Western digits in Shahmukhi or use Gurmukhi digits (੧੨੩) instead.

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