Friday, August 19, 2011

Typing ‘Sall Allāhu ʿalay-hi wa-sallam’ in MS Word and MS Office Documents

All Muslims are obligated to say ‘Sall Allāhu ʿalay-hi wa-sallam’, whenever they hear or write the name of Holy Prophet Mohammed  صلى الله   عليه وسلم  As you have noticed, in the previous sentence I wrote ‘Sall Allāhu ʿalay-hi wa-sallam’ in Arabic after the name of the Holy Prophet. In Holy Quran, Allah says "Indeed Allah and His angels send blessings on the Prophet; O People who believe! Send blessings and abundant salutations upon him” - (Chapter 33, Verse 56).

The phrase ‘Sall Allāhu ʿalay-hi wa-sallam’ means ‘May Allah honor him and grant him peace’. While Muslims do say ‘Sall Allāhu ʿalay-hi wa-sallam’ when they hear the name of Holy Prophet Mohammed ( صلى الله عليه وسلم), but when the name is being written in MSWord or Outlook, they face with challenge of writing the phrase in Arabic font. As you can see, it’s not easy to type the phrase in Arabic, especially when you are working on an English keyboard. To overcome this challenge, it became a commonly accepted practice among Muslims to write the English translation of ‘صلى الله عليه وسلم, that is ‘May Allah honor him and grant him peace’.

However, some people, in order to save some time and energy, have further reduced the phrase to ‘Peace be upon Him’. If one translates ‘Peace be upon Him’ in Arabic, it is ‘عليه السلام‎’ but not ‘صلى الله عليه وسلم’. Muslims are obligated to say ‘ عليه السلام  ’ for archangels and Prophets of Islam except Prophet Mohammed (صلى الله عليه وسلم). For Prophet Mohammed (صلى الله عليه وسلم ), a Muslim must say صلى الله عليه وسلم. Yet, many of the Muslims, continue to use the phrase ‘Peace be upon Him’ for Prophet Mohammed (صلى الله عليه وسلم) too.

In recent times, as an act of laziness, Muslims have started using the abbreviation ‘PBUH’ for ‘Peace be Upon Him’. Several Islamic scholars have severely criticized such abbreviation. Several Fatwas (orders based on Islamic laws) have given against usage of abbreviations instead of writing  صلى الله عليه وسلم . I must accept that, I have also committed this sin of writing abbreviation. I pray to Allah for forgive me for my sins.  

So, this demands a question, how should a Muslim get over the challenge of writing ‘صلى الله عليه وسلم’ in Arabic font and not commit any sin by using abbreviations? Is there a solution to it?

I did some research on this and found that, there is indeed an elegant and easy solution. In computers, every character is assigned a unique code called ‘Unicode’. Formally, ‘Unicode’ is a computing industry standard for the consistent encoding, representation and handling of text expressed in most of the world's writing systems. Whether it is English or French or Arabic, every character that can be typed, is assigned a Unicode. In order to reduce the length of the code, hexadecimal system is used instead of decimal system. Without going into too much of technical details, here’s an elegant solution to typing ﷺ in a MS word or any MS Office documents.

To type in MS Word or any MS office Document:

(1) Type FDFA.

(2) Type ‘Alt+x’. (Hold on to ‘Alt’ key and press ‘x’ key.) As soon as you type ‘Alt+x”, ‘FDFA’ is converted to ﷺ

Unicode for ‘ﷺ’ is ‘FDFA’.

Below table gives Unicode Values of common Arabic Words/Phrases:

Arabic Phrase/Word

English Transliteration




Sall Allāhu ʿalay-hi wa-sallam






















For example, if you want to type ﷲ, then

(1) Type ‘FDF2’.

(2) Type ‘Alt + x’ (Hold on to ‘Alt’ key and press ‘x’ key). MS Word or any Office document will then convert FDF2 to ﷲ.

For the Unicode for all the Arabic characters, refer to this link.

Note: This technique works for all MS Office products. In case, due to some issue, if it doesn’t work for you, then add ‘U+’ to the Unicode and repeat the steps mentioned above. For example, for typing ﷺ, type ‘U+FDFA’ and type Alt+x.

To know the general techniques for inputting characters via Unicode in Windows, Mac, Linux, etc., check this Wikipedia link. (


Razi said...

This is really great.

Razi said...

This is really great.Thanks brother for your awesome work.

SulimanN said...

This is great - what key combinations provide for Radiallaho anhu and Rahmatallah Alahi?