Your keyboard is typing the wrong letters, yet you’re pressing the right keys? The keyboard itself is rarely broken. Usually it’s because the keyboard layout changed: a shortcut you hit by accident switched Windows to your other language, or a second English layout crept in. On a laptop, the other usual suspects are Num Lock and the Fn key. The one-minute test below points to the cause, and each cause has its own fix.
Find the cause in a minute
Open any text box — Notepad will do — and type hello.
Got руддщ or יקךךם, letters of your other language? The layout changed. Look at the input language icon next to the clock, and press Win+Space.
Letters are fine, but Shift+2 types " instead of @, or you get £ where you wanted #? Windows is on the wrong English layout: United Kingdom instead of US, or the other way around.
Got he336, with numbers in place of some letters? Num Lock is on, and some of your laptop’s letter keys are working as a number pad.
Typing is fine, but F1–F12 change the volume or brightness instead of doing their usual job? The Fn mode has flipped.
None of these? The last section covers that.
Keyboard layout changed by accident
Start with this one. Win+Space switches to the next layout, and Ctrl+Shift or Alt+Shift may do the same. They’re easy to press without meaning to — say, while reaching for a capital letter or a shortcut — and the next word comes out in another alphabet.
The input language icon in the taskbar, next to the clock, shows which layout is on. Click it and pick the one you need, or press Win+Space until you get it back — I’ve collected all the ways to change the keyboard language in a separate post. If Win+Space does nothing, only one layout is installed, and the cause is something else.
Changing the Windows display language can switch the layout too — Microsoft warns that the keyboard layout may change to match the new language. You’ll find the same icon on the sign-in screen, so if your password suddenly doesn’t work there, look at the icon first.
Fix what you’ve already typed
Switching back fixes the next word, not the ones already on the screen. You can retype them. Or not.
I made Lang Switcher, a small free program for exactly this moment. Just press Pause/Break. The last word you typed is converted — руддщ becomes hello — and the window switches to the right layout. Press it again, and you get back exactly what you typed. Select a whole line first, and it converts all of it. No Pause/Break on your laptop? You can pick another key. And if you’d rather not install anything, paste the text into the keyboard layout converter on this site.
What it can’t fix: Num Lock, Fn or a broken key. There’s nothing to convert there.
@ and " swapped: United Kingdom instead of US
If the letters are right but some symbols aren’t, you most likely have two English layouts, US and United Kingdom, and Windows switched to the one that doesn’t match the keys on your keyboard. Microsoft’s charts for US and United Kingdom show where they differ, and these are the keys you’ll notice first:
- Shift+2 types
@on US and"on United Kingdom; - Shift+3 types
#on US and£on United Kingdom; - Shift and the apostrophe key type
"on US and@on United Kingdom; - the key by Enter types
\and|on US,#and~on United Kingdom.
That’s why people describe it as “@ and " swapped”: with the US layout on a UK keyboard, the key marked " types @, and the key marked @ types ".
Press Win+Space to get to the other English layout. To keep the extra one from coming back, remove it. In Windows 11, go to Settings → Time & language → Language & region, click the three dots next to English and choose “Language options”. Under “Keyboards”, click the three dots next to the layout you don’t use and choose “Remove”. In Windows 10, go to Settings → Time & language → Language, select the language and click “Options”, then select the layout under “Keyboards” and click “Remove”.
Windows doesn’t always list a layout under its own language; it may sit under your display language instead. So if you have more than one version of English, check each one. If “Remove” is grayed out, that’s the only layout of your display language: add the right one first, then remove the wrong one.
A third English layout, United States-International, has a different surprise: ' and " don’t appear until you type the next character, because they’re used for accents — ' and then e gives é. To type the mark itself, press Space after it.
Numbers instead of letters: Num Lock
Compact laptops have no room for a number pad, so many hide one in the letter keys. With Num Lock on, 7, 8 and 9 stay digits, U, I and O type 4, 5 and 6, J, K and L type 1, 2 and 3, and M types 0. That’s where he336 comes from — and why one Microsoft Q&A thread is titled “2eyb6ard ty*5ng n40bers”.
Press Num Lock again to turn it off. On a laptop, it’s often a second label on another key: F11 on Samsung laptops, F7, F8 or Insert on Lenovo. As Dell notes, you may need to hold Fn while you press it.
Can’t find it? Open the On-Screen Keyboard with Win+Ctrl+O, click the Options key and check “Turn on numeric keypad”. A number pad appears on the screen, and you can switch Num Lock off with the mouse.
Want a warning next time? In Windows 11, press Win+U, select “Keyboard” and turn on “Toggle keys”. Windows will then play a sound whenever you press Caps Lock, Num Lock or Scroll Lock.
Fn: the top row does something else
Fn doesn’t change letters. It decides what F1–F12 do: their usual job, or the actions printed on them — volume, brightness, mute. If the top row suddenly works the other way around, the Fn mode has flipped, and one shortcut usually flips it back.
On Dell laptops and Lenovo ThinkPads, that’s Fn+Esc. Dell calls it the Function Key Lock Toggle, and on a ThinkPad the Fn Lock indicator shows which mode is on. Many ASUS laptops use Fn+Esc too — a small light on the Fn key tells you yours is one of them. Many HP laptops keep the setting in the BIOS, under “Action Keys Mode”, and some HP business laptops switch it with Fn and the left Shift. For other brands, check your laptop’s manual.
What to check, in order
Start with Win+Space; if only the symbols are off, check the list of keyboards in Language & region. Then try Num Lock, then Fn+Esc — the picture at the top follows the same order.
Still wrong? Then it may be the keyboard itself. Type on the On-Screen Keyboard (Win+Ctrl+O) or plug in a USB keyboard — Dell suggests this test too. If the text comes out right there, the laptop’s keyboard is at fault, not Windows.