Keyboard Tester

Press every key to check it registers — spot stuck, dead or ghosting keys on any keyboard, right in your browser.

Runs in your browserUpdated Built and maintained by Leon and Henrik

Press any key and watch it light up — a fast way to check every key on your keyboard works. Free. No sign-up. Runs in your browser, nothing is uploaded.

Keyboard Tester

Click here (or Tab into this box), then press keys. Needs a hardware keyboard.

Last key

Press any key…

key
—
code
—
keyCode
—
EscF1F2F3F4F5F6F7F8F9F10F11F12
`1234567890-=Backspace
TabQWERTYUIOP[]\
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift
CtrlWinAltSpaceAltWinMenuCtrl
←↑↓→
No keys tested yet. Click the box above and start typing
Runs in your browser
Nothing is uploaded

Click the test area and start pressing keys. Each key lights up while held and stays marked once tested, and a counter shows how many of the 78 drawn keys you have covered. The Last key panel shows the key, code and keyCode your browser receives, and Recently pressed keeps your last 14 presses so double fires and wrong characters stand out. Reset clears the marks for a fresh pass.

While the area is focused, Tab, Space, Backspace, Enter and the arrow keys are captured so the page does not scroll or jump. Press Escape twice quickly to give the keyboard back to the page.

A full check in two minutes

  1. Go row by row: Esc and F1–F12, the number row, the three letter rows, the modifiers on both sides, Space, the arrows. Pressing keys in order makes a missed one obvious on the layout.
  2. Check the counter. If it stops short of 78, the unmarked caps are the ones to look at.
  3. Test both Shift, Ctrl, Alt and Win/Cmd keys separately. The left and right versions have different codes (ShiftLeft, ShiftRight), and a dead right Shift goes unnoticed for months.
  4. Tap each key once, deliberately, and watch Recently pressed: one tap should give one entry.
  5. Hold a key for a second. It should stay lit while held and go dark the moment you let go.

Keys outside the drawn layout — numeric keypad, Insert, Home, Page Up, the extra key next to left Shift on European ISO keyboards — are listed under Other keys detected, so they can be tested too.

Diagnosing the four classic faults

What you seeLikely faultWhat to try
Cap never lights up, readout does not changeDead key: switch, contact or the connectionClean under the cap; on a laptop, gently remove debris; test on another computer
Cap stays lit after releaseStuck key or a sticky switchPress it firmly a few times; remove the cap and clean it
One tap adds two entries to Recently pressedChatter: worn or dirty contacts bouncingClean the switch; on mechanical boards, replacing the switch is the lasting fix
Cap lights up, but key shows the wrong characterLayout or remapping, not hardwareCheck the keyboard language in your operating system and any remapping software

The log ignores the automatic repeats a held key produces, so two entries from one tap really are two separate presses — a reliable sign of chatter.

key, code and keyCode: which tells you what

  • code is the physical position, such as KeyA or ShiftLeft. It ignores your language layout, which is why the on-screen keyboard matches on it.
  • key is what that position produces right now: a, A with Shift, ! for Shift + 1 on a US layout. On a German keyboard, the key at position KeyY produces z.
  • keyCode is an older numeric code, deprecated in web standards but still handy when you are comparing notes with legacy software or old documentation.

The practical rule: if code is right and key is wrong, the hardware is fine and the layout setting is not. If neither changes, the signal never arrived.

Keys a browser cannot see

Some presses never reach a web page, so their absence here is not a fault:

  • Fn is usually handled inside the keyboard.
  • Media and brightness keys are often taken by the operating system first.
  • System and browser shortcuts such as the Windows key menu, Alt+Tab, or Ctrl+W may be acted on before the page sees them. Test the keys involved one at a time instead.

On a Mac, the Command keys appear as the Win caps (MetaLeft, MetaRight), and Option as Alt.

Rollover and ghosting, briefly

Key rollover is how many keys a keyboard can report at once. A board with 6-key rollover guarantees six simultaneous keys; N-key rollover (NKRO) means every key is independent. Ghosting is the older problem of a keyboard reporting a key you did not press because of how its wiring matrix works; most modern boards block that and simply drop the extra key instead.

To test rollover, hold down keys one after another — for example A, S, D, F, J, K, L — and see how many stay lit together. If some combinations drop keys that work fine alone, that is the keyboard's design, not damage. Once every key checks out, gamers often move on to the CPS Test or the APM Test to see how fast they can drive it.

Frequently asked questions