Skip to the test
KeyboardTest

Keyboard Typing Wrong Characters? Fix Typing the Wrong Characters

If @ comes out as ", # turns into £ or \ types as #, the keycaps and the operating system disagree about which language the keyboard is. Press the key printed @, then the key printed ", then the key printed #, exactly as they appear on your caps. The diagnoser works out which layout is printed, which layout the system is using, lists what is swapped and shows the fix for your platform. Run the mac keyboard test to see your result in seconds, right in your browser.

Symbol probe

Three keys, pressed as printed

Step 1 of 3

Press the key printed

@

It produced --

Press the key with @ printed on it.

Observations

Printed symbol, physical key, modifiers and produced character
PrintedPhysical keyModifiersProduced

Diagnosis

Keycaps are printed as
--
Operating system thinks it is
--
Swapped symbols
--

Press the three probe keys and the verdict appears here.

Fix for

When keyboard typing wrong characters starts without warning, the cause is usually a setting, not a broken key: you press the at symbol and get a quotation mark, brackets jump to new places, or an apostrophe turns into something else. This page helps you compare what you pressed with what appeared, so you can match the pattern of wrong letters and numbers to the language settings, lock states or hardware behind it.

Why Keyboard Typing Wrong Characters Happens

A key that registers but prints the wrong character is not a dead key. The keyboard still sends a signal; the operating system, an app or a hardware fault turns that signal into something else. That distinction decides where you look first, because a software cause costs nothing to fix. Searchers call it a wrong typing keyboard fault or keyboard wrong typing, but keyboard typing wrong characters has the same few causes either way. Run the numpad test to see your result in seconds, right in your browser.

When keys are typing the wrong characters, the usual suspects in order of likelihood are:

  • A keyboard layout set to a different region than the printed keycaps.
  • A locked Num Lock, Fn layer or stuck modifier changing many keys at once.
  • A remapping tool, macro or app-level override rewriting the input.
  • An outdated or corrupted keyboard driver, or malware interfering with input.
  • Hardware damage such as liquid residue or a failing key matrix.

Most reports end at the first two items, so start there before replacing anything.

Laptop keyboard or external keyboard

Plug an external keyboard into the same computer and type the same keys. If the external board types correctly, the fault sits with the laptop keyboard itself; if both print incorrect letters, the problem lives in the operating system, a driver or a setting on that device.

Quick Diagnostic Checklist for a Keyboard Typing the Wrong Characters

Work through this checklist in order and stop at the first step that fixes the problem. Every step needs only a keyboard tester and a plain text editor. The tool for mac key repeat rate runs entirely in your browser, so nothing you press is stored or sent anywhere.

  1. Press the key that misbehaves in the tester, then press it again in a plain text editor.
  2. Write down the physical key printed on the keycap, the label the tester shows and the character that appears.
  3. Check whether the at symbol and quotation marks are swapped, or whether Y and Z trade places.
  4. Open the keyboard settings and confirm the active language and layout match your printed keys.
  5. Tap Shift, Alt, Ctrl, Fn and Caps Lock once each to rule out a stuck modifier.
  6. Turn NumLock off if letters print as numbers.
  7. Pause remapping tools and game overlays, then retest.
  8. Compare the keyboard on a second computer before blaming hardware.

This key test works because it separates two questions: did the key register, and did the right character come out? If the tester sees the correct key and the editor prints something else, the fix lives in software, which is the answer for most cases of keyboard typing wrong characters. A single wrong symbol on one key is the same clue, and the most common explanation is the layout, covered next.

Stacked bar chart of a 12-key test where letters and number keys printed correctly but all four shifted symbols printed wrong characters
In a 12-key test, only the four shifted symbols printed the wrong character.

Layout Mismatch: The Most Common Cause of Wrong Symbols

A layout mismatch happens when the active layout differs from the one printed on your keycaps. The keyboard is fine, but the wrong layout translates each press into the output of another region. Letters usually survive; symbols do not, which is the clearest fingerprint of this fault. After an accidental layout switch, such as a language shortcut pressed mid-typing, an incorrect keyboard layout can appear to arrive from nowhere, and the keyboard types incorrect characters on a handful of keys.

Four-step flow showing Shift plus 2 detected as the correct key but translated by an active UK layout into a quotation mark instead of the at sign
The tester sees the right key; the active layout turns it into the wrong character.
Layout Mismatch: The Most Common Cause of Wrong Symbols
Key you pressUS layout printsUK layout printsClue
Shift + 2@"Quotation marks replace the at sign
Shift + 3#£Pound sign replaces the number sign
Shift + '"@The two layouts trade these
Shift + `~¬Top-left key changes

If the output matches the UK column but your keys are printed for the US, a UK layout is active. The same wrong symbols run in reverse if you swap the two.

Punctuation and letter swaps by regional layouts

Regional layouts move more than symbols: a German QWERTZ board swaps Y and Z, a French AZERTY board swaps A with Q and Z with W, and a Dvorak layout rearranges most keys. Slash, backslash and the pound sign also shift between regions, so one misplaced character is a strong hint about which layout is active.

Input source differences between ANSI and ISO boards

The physical shape matters too. An ANSI board has a wide Enter key and one backslash key; an ISO board has a tall Enter and an extra key beside left Shift. The input source you choose must fit both the region and that shape, otherwise one key position prints nothing useful.

US English versus UK English layouts

The most frequent mismatch pairs US English with UK English, because the two share letters and differ in a few keys. If your keycaps show the at sign above the 2, you own a US board and should select US English; if a quotation mark sits there, pick UK English. Switch the keyboard language to match and everything returns.

Fix the Wrong Input Language and Layout in Windows

Windows lets you keep several layouts at once and flip between them, which is handy until one flips by accident. These language settings fix keyboard typing wrong characters on Windows 11 and Windows 10, the two versions most readers use, and every step below works on a laptop or desktop.

Switch layouts with the taskbar and the Windows key

  1. Look for the language abbreviation, such as ENG US, in the taskbar; it only shows when more than one language is installed.
  2. Click that language and choose the layout that matches your keycaps.
  3. Press the Windows key plus the spacebar to cycle through installed languages without the mouse.
  4. Try Ctrl + Shift if Windows does nothing, since some language setups use it to switch.
  5. If nothing changes, only one language is installed, so add the right one below.

Add a keyboard in Windows 11 and 10

  1. Open Windows Settings and choose Time & language.
  2. Select Language & region, then find your language under Preferred languages.
  3. Click Language options, then Add a keyboard and pick the layout you want.
  4. Remove each language and layout you never use so a language shortcut cannot switch to it.
  5. Set the correct language as the default and restart your computer if the change does not stick.

Check Bluetooth and third-party keyboard modes

A Bluetooth board or other third-party keyboard may carry its own Windows and Mac mode switch. A board left in Mac mode on a Windows PC can print wrong symbols even with the correct language selected, so set the mode first, then check the layout and language in Windows settings.

Wrong Characters in a Password: A Layout Mismatch Walkthrough

I'm helping a colleague whose US ANSI laptop rejects her 15-character password, Maple#Door@2291, after a Windows update. The decision in front of us: is this a typo, a layout mismatch or a failing keyboard? Answer first: 2 of the 15 characters are wrong, both symbols, and that points to the layout.

First I type the password into a plain text editor with the tester open. The tester highlights Shift + 3 and Shift + 2 correctly, yet the editor shows Maple£Door"2291. The letters and digits are fine, so the switches work. That is 2 wrong out of 15, or 13.3%, and both failures sit on shifted keys, which is exactly where US and UK layouts differ.

Next I open the taskbar language icon and find ENG UK active, added silently by the update. Switching to ENG US brings back both symbols on the next attempt, 0 wrong out of 15. I then cross-check by hand against the keycaps: the at sign is printed above the 2, so the board is US.

Wrong Characters in a Password: A Layout Mismatch Walkthrough
SetupActive layoutWrong characters
After the updateUK2 of 15 (13.3%)
Rerun, layout switchedUS0 of 15 (0%)
Rerun, password without symbolsUK0 of 15 (0%)

The third row is my sensitivity rerun and the number to watch: a password with only letters and digits would never have shown the fault, which is why it can sit unnoticed for days. The edge case is the Windows sign-in screen. It keeps its own layout, separate from the one in your desktop session, so a fixed desktop can still reject the password at the lock screen. If that happens, change the layout under administrative language settings and copy it to the welcome screen, rather than re-testing the keyboard.

My judgement: when only shifted symbols fail, change the layout before anything else, and keep a spare keyboard test for the case where the same two symbols still fail on a second machine.

Mac Input Source Fixes for Wrong Symbols

On a Mac the equivalent setting is the input source. Open System Preferences, go to Keyboard and then Input Sources, and make sure the selected source matches the printed keys. Show the input menu in the menu bar so you can see which language is active at a glance. Another source switched on in the background is the usual reason a Mac prints unexpected characters.

Remove input sources you do not use, then retype the keys that went wrong. If the Mac keyboard still misbehaves after the source is correct, check the Fn key and any accessibility settings that change how keys behave, then reopen Keyboard settings to confirm the language.

Num Lock, Stuck Modifier and Numpad Keyboard Issue Fixes

When many keys change at once, think state, not layout. On laptops without a separate numpad, Num Lock can turn the right side of the letter keys into a numeric keypad, so J, K, L and U print digits. Press NumLock, or Fn plus the lock key, and retest. Some laptops also have an Fn lock that changes what the top row does, and Mouse Keys can make the numpad move the pointer instead of typing.

A tester that highlights a key permanently shows a stuck state. Release Shift, Ctrl, Alt, NumLock and Caps Lock once each, and turn off Sticky Keys if a prompt appears after pressing Shift five times.

Stuck modifier keys and lock states

A stuck modifier makes ordinary keys print uppercase, accented or as shortcuts. If a stuck Shift shows lit in the tester after you let go, clean around the key or test the board elsewhere. The on-screen keyboard is a quick way to keep working while you find the cause.

Remap and Software Causes of a Typing Issue

Software can rewrite keys before they reach your app. A remap utility, a macro tool, a game overlay, a browser extension and a remote desktop session can each translate keys. Pause them one at a time in their settings and retest; if the typing problem disappears, you found it. Remote desktop deserves extra attention, since the remote machine may use a different language and layout from the one you are typing on.

Also check for auto correct that rewrites text as you type, and run a scan with your antivirus if the behaviour looks random, because malware can interfere with input. Then work through the two fixes below, which resolve the rest of the software cases.

Update the keyboard driver in Device Manager

  1. Right-click Start and open Device Manager.
  2. Expand Keyboards, right-click your keyboard and choose Update driver.
  3. Pick Search automatically for drivers, then restart.
  4. If the problem began after an update, choose Properties and roll back the driver instead.

Run the keyboard troubleshooter

Search for Troubleshoot in the Windows search bar, open Additional troubleshooters, expand Keyboard and choose Run the troubleshooter. It rarely finds layout mistakes, but it does catch a damaged driver, so it earns a place near the end of the software steps.

Hardware Faults Behind a Keyboard Typing Issue

Hardware becomes likely when the same wrong output follows the keyboard from one computer to another, or when a modifier stays active after release. Liquid damage or other physical damage, a faulty keyboard ribbon, worn key switches or a damaged keyboard matrix can all print strange characters, and several keys misbehaving together points to the matrix. Debris can also hold a key down; use compressed air before anything drastic.

For an external board, replacing it is cheaper than repair. For a laptop, a technician should handle the work because opening the case risks other components.

Hardware warning signs

  • The same wrong output appears on a second computer.
  • Several unrelated keys fail together after a spill or knock, a sign of a damaged key or board.
  • A key repeats, shows ghosting or stays highlighted in the tester without being pressed.

Testing Keys with the Keyboard Layout Test

Run the keyboard layout test once your settings look right, using any keyboard tester. Press each key you suspect and compare the highlighted key with what the editor prints. A correct highlight with the wrong character confirms keyboard typing wrong characters is a software fault; a missing or stuck highlight points at the board. Repeat the test after every change so you know which fix actually worked.

Frequently asked questions

My @ and " are swapped. What happened?

Your keyboard is UK but Windows is set to US English, or the other way round. Those two symbols trade places between the layouts. Add the matching language and remove the other.

Why does # type £ or \ type #?

Same cause. On UK caps # lives on the key left of Enter, which US treats as backslash; Shift + 3 is £ on UK and # on US.

Everything is fine except one or two keys.

A regional variant close to the detected one (Irish vs UK, Swiss vs German) or a remapped key. Pick the exact variant in the input settings.

Letters are wrong too, not just symbols.

That is a different layout family (AZERTY or QWERTZ, or Dvorak) rather than a regional variant. Use the layout detector first.

Comments and feedback