Home › Guides › Typed Arabic With the Wrong Keyboard? How to Fix It
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.