Arabic Transliteration: How Typing in Latin Letters Works
What transliteration is, how a keyboard turns Latin keys into Arabic letters as you type, and where the approach helps or gets in the way.
Transliteration means writing the sounds of one script using the letters of another. Marhaba is a transliteration of مرحبا — same word, different alphabet. A transliteration keyboard runs that process in reverse and in real time: you type Latin letters, and it writes the Arabic ones.
This page explains what that actually involves, because knowing the rule the keyboard follows is what makes it predictable.
Transliteration is not translation
The two get confused constantly, and they do completely different jobs.
| What it changes | slam becomes | |
|---|---|---|
| Transliteration | The script only | سلام |
| Translation | The language | peace |
A transliteration keyboard never interprets your text. It does not know that سلام means peace, or that you were aiming for a greeting. It converts letters and stops there — which is why it works equally well for names, place names, and words no dictionary contains.
How the keyboard decides what to write
Each typing style is a table: a list of Latin sequences and the Arabic each one produces. When you type, the keyboard reads your input left to right and, at every position, takes the longest entry in the table that matches.
That one rule explains most of the surprising behaviour:
lon its own is ل, andaon its own is ا — butlais in the table as the single ligature لا, so it wins. Typingsalamgives سالام rather than سلام, because the keyboard findslain the middle of it.dis د, butd'is ذ. Typedand you see د; add the apostrophe and the letter you already have is rewritten to ذ.sis س,s'is ش. Same pattern.
So letters changing after you type them is not a glitch. It is a longer entry in the table becoming available, and it is why the output settles only once you finish the word.
There is no dictionary and no autocorrect behind this. The same input always produces the same Arabic, which is what makes it safe to learn a spelling once and reuse it.
Vowels are the part that trips people up
Arabic is normally written without its short vowels, so the letters on the page are mostly consonants. Transliterated Arabic, as people write it in chat and on signs, does include those vowels — kitab, shukran, salam.
The keyboard writes what you type, letter for letter. So the everyday transliteration you already
know is usually more letters than the Arabic word needs, and typing it literally gives you a
word with extra alifs and yaas in it. ktab gives كتاب; kitab gives كيتاب.
This is the single biggest adjustment for a new user, and it is a habit rather than a rule to memorise: type the skeleton of the word, not its pronunciation.
The styles exist because transliteration is not standardised
There is no single agreed way to write Arabic in Latin letters. خ is written kh in English habits, 5 in chat spelling, and elsewhere as a letter with a mark under it. A keyboard therefore has to pick a convention, and this one offers four so you can pick the convention you already use.
| Typing style | Suits someone who writes |
|---|---|
| Traditional | With apostrophes for the dotted letters — s' for ش, H' for خ |
| English | With English digraphs — sh, kh, th, dh, gh |
| French | With French habits — ch for ش, ou for و |
| Arabizi | In chat spelling, where digits stand in for letters |
The same input can produce different Arabic in different styles: khbz gives خبز in the English
style and كهبز in Traditional, where kh is simply k followed by h. The
typing style guide compares them properly.
Where transliteration runs out
It is worth being clear about the limits.
- Some spellings need a real letter, not a sound. The bare hamza ء sits inside words in a way that Latin letters do not capture well. The on-screen keyboard has it as a key, and tapping it is the reliable route — see tricky Arabic letters.
- It does not add the short vowels for you. If your text needs harakat — for teaching, or a Quranic or poetic line — you type them deliberately, using the diacritics triggers.
- It is for composing, not for living in. If you write Arabic all day inside other applications, a system Arabic keyboard is the better tool. Transliteration earns its place when installing one is not possible or not worth it.
Next step
The fastest way to understand the matching rule is to watch it happen: open the
Arabic keyboard, type d, then add an apostrophe, and see د become ذ. If
you would rather start with practical spellings than mechanics,
writing Arabic with Latin letters is the hands-on
version of this page.
And if you would like to stop leaning on the Latin spelling altogether, the Arabic reading course teaches the alphabet itself — the letters, their four forms, and the vowel marks that tell you how to say them.