Home › Guides › Digital skills guides
Typed Arabic With the Wrong Keyboard? How to Fix It
Why Arabic text turns into English letters like hgsghl, how the standard Arabic keyboard maps to QWERTY, and the fastest way to correct it.
You type a whole paragraph, look up, and see something like hgsghl ugd;l instead of the Arabic greeting you meant. It happens to everyone who switches between Arabic and English, and the fix does not require retyping.
Why it happens
A keyboard sends key positions, not letters. The operating system's input language decides which character each key produces. If you type while the language is set to English, the key where the Arabic letter ه sits produces the English letter I instead. Because the standard Arabic (101) layout places each Arabic letter on a fixed physical key, the garbled text is perfectly predictable, which means it can be reversed.
How the layout lines up
| Key (English) | Arabic letter |
|---|---|
| q w e r t y | ض ص ث ق ف غ |
| a s d f g h | ش س ي ب ل ا |
| j k l ; ' | ت ن م ك ط |
| z x c v n m | ئ ء ؤ ر ى ة |
| , . / | و ز ظ |
The b key produces the two-letter combination لا.
Examples
- hgsghl ugd;l becomes السلام عليكم
- lvpfh becomes مرحبا
- hgugl becomes العلم
Why punctuation turns into letters
On the Arabic layout, the comma key types و, the period key types ز, the semicolon key types ك and the apostrophe key types ط. So if punctuation was typed with the wrong language, it turns into letters when converted. A good converter lets you choose whether to convert these keys or leave them unchanged.
The reverse mistake
The same works the other way. If you meant to type English but the Arabic layout was active, you will see Arabic letters such as ضصثقف, which are simply qwert on the wrong layout.
How to avoid it
- Watch the language indicator in the taskbar or on your phone keyboard before you start typing.
- Learn the switch shortcut. On Windows it is usually Alt + Shift or the Windows key + Space. On a Mac, Control + Space or the Caps Lock key can switch languages, depending on your settings.
- On phones, tap the globe or language key to change the layout.
- Use one layout per window if your system allows it, so you switch less often.
Fixing it quickly
- Select the garbled text and copy it.
- Paste it into a layout converter and pick the direction (English to Arabic or Arabic to English).
- Copy the corrected result back into your document.
Our Arabic keyboard fixer is built from the standard Arabic (101) layout definition, handles the lam-alef key and Arabic punctuation, and works entirely in your browser, so private messages are never uploaded.
Shifted keys and diacritics
Holding Shift on the Arabic layout gives a different set of characters, mostly diacritics. For example, Shift + Q gives a fatha, Shift + W a fathatan, Shift + E a damma, Shift + R a dammatan, Shift + A a kasra and Shift + S a kasratan. Shift + P gives the Arabic semicolon (؛) and Shift + Y gives the letter إ. If garbled text contains capital letters, a converter can map those too, but it is usually safer to leave capitals alone unless you are sure they were typed with Shift for Arabic.
Phones and tablets
Mobile keyboards place Arabic letters differently from a computer layout, so the mapping described here applies to physical keyboards and to on-screen keyboards that copy the standard layout. If you type with the wrong language on a phone, you normally see English words, not scrambled letters, and you can fix it by switching the keyboard and retyping.
Which languages does this apply to?
The mapping is for the standard Arabic (101) layout. Persian, Urdu and other languages that use the Arabic script have their own layouts with extra letters, so the same table will not be correct for them.
When it is better to retype
For one or two words, retyping is quicker. A converter saves time when you have written a long paragraph, a chat message or an email in the wrong language, or when you pasted garbled text from somewhere else.
Frequently asked questions
Can I recover text I already sent in the wrong language?
The sent message cannot be changed, but you can convert the characters and resend or edit the message if the app allows it.
Why do commas and periods become letters?
On the Arabic layout those keys type و and ز. Converting punctuation keys is optional so you can keep real punctuation unchanged when needed.
Does the converter send my text anywhere?
A browser-based converter processes the text on your device, so private messages are not uploaded.