Keyboard tester

Press a key. Watch it light up.

Test every key on your keyboard in the browser: find dead keys, stuck keys, wrong layouts and how many keys register at once. Nothing is uploaded; it all runs on your device.

How to use
  1. 1Click the tester so it has focus.
  2. 2Press each key. Green means it registered.
  3. 3Pick the diagram that matches your keyboard.

Browser shortcuts like Ctrl+W are blocked while the tester is focused. Fn never reaches the browser.

0 keys tested

Click the tester, then press any key. Browser shortcuts are blocked while it has focus.

Keyboard tester (windows) Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 SysRq PrtSc Lock Scroll Break Pause ~ ` 1 2 3 4 5 6 7 8 9 0 _ - + = Backspace Insert Home Up Page Lock Num / * - Tab Q W E R T Y U I O P { [ } ] | \ Delete End Down Page Home 7 ↑ 8 PgUp 9 + Caps Lock A S D F G H J K L : ; " ' Enter ← 4 5 → 6 Shift Z X C V B N M < , > . ? / Shift ↑ End 1 ↓ 2 PgDn 3 Enter Ctrl Win ⊞ Alt Gr Alt Win ⊞ Menu ≡ Ctrl ← ↓ → Ins 0 Del .
Full-size Windows keyboard (ANSI 104-key) Hover or tap a key
Last key

—

key
—
code
—
keyCode
—
Held right now

none

Max at once: 0 (rollover)

Stuck keys

None detected. A key held for more than 2 seconds is flagged.

Last 10 presses newest first
KeyCodekeyCodeHeldGap
Nothing pressed yet.

What the results mean

A key stays grey when pressed

The browser received nothing. First check the obvious: is the tester focused, and does the key work in a text editor? If it works there but not here, the operating system consumed it (the Windows key and Print Screen sometimes do this). If it works nowhere, the switch is dead. On laptops, keys that need Fn will only register when Fn is held, and Fn itself is invisible to software.

A key turns red

It has been held for more than two seconds. If your finger is not on it, the key is physically stuck: pull the keycap and clean the switch, or on a membrane keyboard check for debris under the cap.

The wrong character appears in "key"

The code column shows the physical position (Backquote, KeyQ), while key shows what the operating system turned it into. If Digit2 produces " instead of @, Windows is using a UK layout on a US keyboard (or the reverse). Fix it under Settings → Time & Language → Language, or System Settings → Keyboard on a Mac.

Several keys stop registering when held together

That is ghosting or limited rollover. Most office keyboards guarantee only certain combinations of 2 to 6 keys. Gaming keyboards with N-key rollover register every key. The "max at once" counter shows what yours reached.

keyCode versus code

keyCode is the old numeric identifier (still used by some sites); code is the modern physical-key name; key is the character produced. Developers debugging shortcuts want code for position-based and key for character-based bindings.

Frequently asked questions

Why does a key not light up? +

Either the key is dead, the operating system is intercepting it, or the browser never receives it. Fn, and on some systems Print Screen and the Windows key, are handled before the browser. Try the key in a text editor as a second check.

What does "stuck key" mean? +

A key the tester sees as held down for more than two seconds. If you are not pressing it, the switch is stuck or the keycap is jammed. Clean under the cap or reseat it.

What is key rollover? +

How many keys the keyboard can register at once. Cheap keyboards manage 2 to 6, gaming keyboards report every key (N-key rollover). Hold several keys and watch the counter.

Why does the wrong character appear? +

The key works but Windows or macOS is using a different layout than the one printed on your keyboard, for example UK versus US. Change it in the keyboard or language settings.

Does the tester work on a phone or tablet? +

Only with a physical keyboard attached. On-screen keyboards do not send the same key events.

✓ Copied to clipboard