Keyboard

Keyboard Test

Press any key on your physical keyboard — it lights up here labeled for the layout you picked, so you can confirm the right character reaches the browser. Keys stay green once tested, so you can see what's left to check.

Test area

What you've typed
The fn key is dimmed because macOS and most laptop firmware handle it before the browser ever sees it.

What this actually tests

Every key sends a physical position (event.code, like KeyQ) and, separately, the character your OS layout maps it to (event.key). This tool lights up the physical position and relabels it for the layout you pick — so you can tell a genuinely dead key apart from a layout mismatch, which is the single most common reason "half my keyboard" seems broken.

If a key doesn't respond

  1. Confirm your OS keyboard layout matches your physical keyboard — a mismatch, not a dead key, is the most common cause.
  2. Check for debris under the keycap; compressed air clears most of it.
  3. Test on another computer or via a USB keyboard to rule out the port or driver.
  4. For a mechanical board with custom firmware, reset to factory defaults before assuming hardware failure.

Want to know your keyboard's rollover limit?

Ghosting / NKRO test

FAQ

Why does a key show the wrong letter when I press it?

The physical key position lights up correctly, but the label shown depends on the character layout you've selected (QWERTY, QWERTZ, AZERTY, or Dvorak). If your OS keyboard layout doesn't match what's picked here, the letter printed on your keycap and the letter this tool expects at that position will differ — that's a layout mismatch, not a broken key.

Does this work with a non-US physical keyboard?

Yes — the tool reads the physical key position (event.code) regardless of your keyboard's printed layout, then relabels each position for whichever character layout you select. Number, punctuation, and a few edge keys can sit in slightly different physical spots on ISO versus ANSI boards, which is why some layouts show minor differences in key shape.

Can this test a laptop's built-in keyboard the same way?

Yes, it works identically on a laptop's internal keyboard — the browser receives the same kind of key events either way. The one exception is the Fn key, which most laptop firmware and macOS intercept before it ever reaches the browser, so it's shown dimmed rather than as untestable.

Related tools