Guide

Gurmukhi and Shahmukhi: One Punjabi Language, Two Scripts

How Punjabi came to be written in Gurmukhi and Shahmukhi, how the letters and vowels match up, and why converting between the two scripts needs more than rules.

By Wasiullah Updated 7 min read

A Punjabi speaker from Lahore and one from Amritsar can talk for hours and understand each other. Hand them each a printed page, though, and often neither can read the other’s. The language is shared; the writing is not. Punjabi is written in Gurmukhi in Indian Punjab and in Shahmukhi in Pakistani Punjab, and most readers learn only one of them at school.

This guide explains where the two scripts come from, how their letters and vowels line up, and why turning one into the other is harder than it looks. If you only need to convert some text, the Gurmukhi to Shahmukhi converter does it in your browser in both directions.

Where the two scripts come from

Gurmukhi

Gurmukhi (ਗੁਰਮੁਖੀ) means roughly “from the mouth of the Guru”. It grew out of older scripts used for trade and record keeping in Punjab and was standardised in the sixteenth century by Guru Angad, the second Sikh Guru. It became the script of the Sikh scriptures, and that link is why it spread and survived.

Gurmukhi is written left to right, with letters hanging from a line across the top, much like other North Indian scripts. Its traditional alphabet has 35 base letters, arranged in rows by where the sound is made in the mouth. Later, letters written with a dot underneath were added: ਸ਼, ਖ਼, ਗ਼, ਜ਼ and ਫ਼ for sounds borrowed from Persian and Arabic, and ਲ਼ for a Punjabi l-sound. Today Gurmukhi is the official script for Punjabi in the Indian state of Punjab, and the one Sikh communities abroad usually teach their children.

Shahmukhi

Shahmukhi (شاہ مکھی) means “from the mouth of the king”. It is the Perso-Arabic script, the same family as Urdu and Persian, adapted for Punjabi. It is written right to left, usually in Nastaliq, and anyone who reads Urdu can read most Shahmukhi straight away. The classic Punjabi poetry of Pakistan, from Bulleh Shah to Waris Shah’s Heer, is read in Shahmukhi there today.

After the partition of Punjab in 1947, the split hardened: West Punjab, now in Pakistan, kept Shahmukhi, and East Punjab, in India, used Gurmukhi. Families, poets and readers on both sides still share songs, books and letters, which is exactly where a conversion tool earns its keep.

Gurmukhi to Shahmukhi converter turning three lines of Punjabi from Gurmukhi into Shahmukhi script
The same Punjabi sentences in Gurmukhi (left) and Shahmukhi (right), converted with the Gurmukhi to Shahmukhi converter.

How the consonants line up

Most Punjabi consonants have a single partner in the other script. Shahmukhi uses the Urdu letters, plus a few that Punjabi needs, such as ڑ for the flapped r and, in some writing, ݨ for the retroflex n.

Gurmukhi Shahmukhi Note
ਪ پ one to one
ਟ ٹ retroflex t
ਡ ڈ retroflex d
ੜ ڑ flapped r
ਖ کھ aspirated: one letter in Gurmukhi, two in Shahmukhi
ਭ بھ aspirated, same pattern
ਣ ن or ݨ most Shahmukhi writing uses the plain letter
ਸ س, ص, ث the word decides
ਤ ت, ط the word decides
ਹ ہ, ح the word decides
ਜ਼ ز, ذ, ض, ظ four Arabic letters, one Gurmukhi letter
ਕ ک, ق ਕ਼ exists for ق but is rarely typed

The bottom half of the table is the heart of the problem. Arabic has several letters that sound the same in Punjabi. Shahmukhi keeps the original spelling of borrowed words, so صبر (patience) starts with one s-letter and سال (year) with another. Gurmukhi writes the sound, so both start with ਸ. Going from Shahmukhi to Gurmukhi is easy here; going the other way, nothing in the Gurmukhi letter tells you which Arabic letter the word uses.

A side note on sound: in modern Punjabi, ਘ, ਝ, ਢ, ਧ and ਭ are usually spoken with a tone rather than a breathy h. Neither script marks tone directly. Both keep the older spelling, so the letters still convert cleanly.

Vowels: written in one script, mostly missing in the other

This is the biggest difference. Gurmukhi writes every vowel, long or short, with a sign attached to the consonant. Shahmukhi, like Urdu, writes the long vowels with letters but normally leaves the short ones out. They exist as small marks (zer, zabar, pesh), but everyday text skips them.

Gurmukhi sign Sound Usual Shahmukhi
ਾ aa ا
ਿ short i not written
ੀ ee ی
ੁ short u not written
ੂ oo و
ੇ, ੈ e, ai ی, or ے at the end of a word
ੋ, ੌ o, au و

Gurmukhi has three more marks with no letter of their own in Shahmukhi:

  • Tippi and bindi (ੰ, ਂ) mark a nasal sound. At the end of a word it becomes ں; inside a word it is usually ن.
  • Addak (ੱ) doubles the next consonant. Shahmukhi could show this with a shadd mark, but normally does not write it at all.
  • A tippi before m or n doubles that letter rather than adding a separate n sound, so it disappears in Shahmukhi too.

Worked examples

Gurmukhi Shahmukhi Meaning What changed
ਦਿਲ دل heart short i dropped
ਮੁੰਡਾ منڈا boy short u dropped, tippi became ن
ਗੱਲ گل talk, matter addak dropped
ਮਾਂ ماں mother final bindi became ں
ਪਿਆਰ پیار love short i written as ی before a vowel
ਹਾਲ حال condition ਹ is ح in this word
ਜ਼ਮੀਨ زمین land ਜ਼ is ز in this word

Read the table from right to left and the trouble becomes clear. دل could be ਦਿਲ (heart) or ਦਲ (a group or party). گل could be ਗੱਲ (talk) or ਗੁਲ (a flower, in poetry). A human reader picks the right one from the sentence. A letter-by-letter rule cannot.

Why rules alone are not enough

Put the two problems together and each direction has its own weak spot:

  • Gurmukhi to Shahmukhi loses nothing, but has to choose: which s-letter, which z-letter, ہ or ح, and whether a word starts with ا or ع. A wrong choice gives a spelling no Shahmukhi reader uses, like writing “sity” for “city”.
  • Shahmukhi to Gurmukhi has an easy job with consonants but must invent the short vowels and doubled letters the writer never wrote. Rules can only guess.

The reliable fix is a list of real spellings. Punjabi Wikipedia exists in both scripts, so it is possible to take common Gurmukhi words, generate every Shahmukhi spelling the rules allow, and keep only the one that really appears in Shahmukhi text. That is how our converter’s word list was built: about 30,000 verified pairs. Each word is looked up there first. Words that are not in the list, usually names, rare words and new borrowings, are spelled by rule and marked with a dotted underline so you know to check them.

Two honest limits remain. A word with two meanings, such as دل, gets the more common reading, so read the result once. And the list reflects how Wikipedia editors spell, which may differ from a particular poet’s or newspaper’s style.

Practical tips

Typing each script

Shahmukhi uses the Urdu alphabet, so any Urdu keyboard works. Our online Urdu keyboard types it on a computer or phone without installing anything; the letters ڑ, ٹ and ڈ are all there. The special letter ݨ is missing from most Urdu keyboards, which is one reason most writers use the plain ن. For Gurmukhi, add a Punjabi (Gurmukhi) keyboard in your phone or computer settings.

Dotted letters can be stored two ways

ਸ਼ can be saved as one character or as ਸ plus a separate dot. They look identical but do not match in search. Good converters normalise both forms first; ours does.

Old Gurmukhi fonts

Before Unicode, many Gurmukhi documents were typed in fonts that stored Punjabi on English letter codes, the same trap as Urdu text in InPage, which our InPage vs Unicode guide explains. If text turns into English letters when you change the font, it is in one of those legacy encodings. Convert it to Unicode Gurmukhi with a converter made for that font first, then convert the script.

Printed pages and screenshots

If your Shahmukhi text is only in a photo or scanned book, it has to become real text first. Shahmukhi uses Urdu letters, so the Urdu OCR tool can read it, though Nastaliq print is never perfect. The Urdu image to text guide explains how to get the cleanest result. Then paste the text into the converter.

Punctuation and digits

Gurmukhi ends a sentence with a vertical bar (।) and Shahmukhi with the Urdu full stop (۔); commas and question marks also change shape. Shahmukhi often uses Urdu digits (۱۲۳), while Gurmukhi text today mostly uses 123. The converter switches all of these, and the Urdu digits guide covers the number side in detail.

Try it now: Paste Punjabi in either script into the Gurmukhi to Shahmukhi Converter and see the letter pairs from this guide at work.

Tools mentioned in this guide