How to fix text typed in the wrong keyboard layout
Last updated
Quick answer: on Windows, the fastest way is a layout fixer such as ShiftAlt: press Ctrl+Space and the mistyped words are retyped in the right layout where they are. Without an app, you have to delete the text, switch layouts with Win+Space and type it again, or paste it into an online layout converter.
Why text comes out in the wrong layout
Windows has one active keyboard layout at a time. Every key you press is turned into a character by that layout. If the layout is not the one you think it is, the same keys produce letters from the other alphabet. Russian привет typed with English active becomes ghbdtn; English hello typed with Hebrew active becomes יקךךם.
This usually happens after a layout switch you did not notice: an accidental Alt+Shift, a different layout remembered by another app window, or simply starting to type before checking the language indicator on the taskbar.
Method 1: delete, switch and retype
- Delete the mistyped text.
- Press Win+Space (or Alt+Shift) to switch to the layout you meant. Check the language indicator on the taskbar.
- Type it again.
This always works but costs time, especially for a long sentence.
Method 2: use an online layout converter
Copy the text, paste it into a website that maps keys between two layouts, then copy the result back. This avoids retyping but takes several steps, usually supports only a few language pairs, and sends your text to a third-party website, which is a bad idea for anything private.
Method 3: fix it in place with one hotkey
A layout fixer runs in the background and remembers the last keys you typed. When you notice the mistake you press a hotkey and it replaces the text with what those keys produce in the right layout.
With ShiftAlt:
- Install it from the Microsoft Store and keep your layouts installed in Windows.
- Type as usual. When words come out wrong, do not delete them.
- Press Ctrl+Space. The words are retyped in the right layout and Windows switches to it.
To fix older text, highlight it and press the same hotkey. Pressing it again undoes the change or tries the next layout if you have three or more.
Examples in common languages
| You typed | You meant | Layouts |
|---|---|---|
| ghbdtn | привет | English and Russian |
| akuo | שלום | English and Hebrew |
| lvpfh | مرحبا | English and Arabic |
| geia | γεια | English and Greek |
| ghbdsn | привіт | English and Ukrainian |
| ;q;qn | maman | French AZERTY and English QWERTY |
| ywei | zwei | German QWERTZ and English QWERTY |
| עינגאמ | привет | Russian and Hebrew |
Frequently asked questions
Is there a keyboard shortcut to convert text to another layout in Windows?
Windows itself has no shortcut that converts text that was already typed. Win+Space and Alt+Shift only change the layout for the next keys you press. A tool like ShiftAlt adds that missing shortcut (Ctrl+Space).
Can Microsoft Word fix text typed in the wrong layout?
No. Word can change case (Shift+F3) and proofread, but it cannot remap characters from one keyboard layout to another.
Does it matter which apps I type in?
With ShiftAlt, no: it works in browsers, Office, chat apps, code editors and the Windows search box. Only apps running as administrator are excluded, because Windows blocks other apps from typing into them.