All tools

Keyboard tester

Press every key, see it light up, and check rollover, repeat, stuck keys and chatter.

Press Start, then press every key once. Nothing you type is stored or sent.

EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause`1234567890-=BkspInsHomePgUpNum/*-TabQWERTYUIOP[]\DelEndPgDn789+CapsASDFGHJKL;'Enter456ShiftZXCVBNM,./Shift↑123EntCtrlMetaAltSpaceAltMetaMenuCtrl←↓→0.

While the test runs, browser shortcuts such as Space to scroll or / to search are paused on the test area. Tab and Escape are never blocked.

0 of 104 keys tested

0 Most keys held at once

Hold several keys together to test rollover.

Last key

No key yet.

Key repeat

Hold a key down to measure the auto-repeat.

Held now

No key is held.

Double presses (chatter)

None detected.

Keys not pressed yet (104)

Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PrtSc ScrLk Pause ` Digit1 Digit2 Digit3 Digit4 Digit5 Digit6 Digit7 Digit8 Digit9 Digit0 Minus = Bksp Ins Home PgUp Num NumpadDivide * NumpadSubtract Tab Q W E R T Y U I O P [ ] \ Del End PgDn Numpad7 Numpad8 Numpad9 + Caps A S D F G H J K L ; ' Enter Numpad4 Numpad5 Numpad6 ShiftLeft Z X C V B N M , Period Slash ShiftRight ↑ Numpad1 Numpad2 Numpad3 Ent ControlLeft MetaLeft AltLeft Space AltRight MetaRight Menu ControlRight ← ↓ → Numpad0 NumpadDecimal

Keys are matched by their physical position (event.code), so the map is right for any language setting, Vietnamese Telex or VNI included. ISO boards have one extra key next to the left Shift (shown as IntlBackslash) and JIS boards add keys such as IntlYen, IntlRo and Lang1/Lang2: they are listed under the map when pressed. Fn and some media keys never reach the browser.

What this tool does

It draws a keyboard and lights each key as you press it, so you can walk across the board and see at a glance which keys work and which never registered. Behind the map it records what a hardware test needs: how many times each key was pressed, the most keys held at once (rollover), the auto-repeat delay and rate when you hold a key, keys that are held suspiciously long (possibly stuck) and keys that register twice for one press (chatter). Each press also shows the browser's view of it: event.key (the character), event.code (the physical key) and the location (left, right, numpad).

Nothing is recorded outside the page and nothing is sent anywhere; the test lives in memory until you press Reset or leave.

How to test a keyboard

  1. Press Start test. Focus moves to the map, and browser shortcuts such as Space-to-scroll are paused there so every key can be pressed safely.
  2. Press every key once, row by row. Each one turns from plain to outlined with a small press counter. The heading counts how many of the 104 (or 87, or 61) keys you have covered; the Keys not pressed yet list names the rest.
  3. For rollover, hold several keys together, for example A S D F and then J K L ;. The panel shows the highest number held at once and how many of those were ordinary keys rather than Shift, Ctrl, Alt or Meta.
  4. For repeat, hold one letter for two seconds. The tool measures the delay before the first repeat and the repeat rate in characters per second. These are set by your operating system, so they tell you about your settings rather than the hardware.
  5. Watch Held now: a key still listed after five seconds without your finger on it is physically stuck or shorted. Double presses lists keys that came back down within 30 ms of being released, the signature of a worn switch.

Tab and Escape are never blocked: Tab still moves focus out of the test, and Stop test ends it.

Rollover, ghosting and blocking

A keyboard reads its keys through a grid (matrix) of wires. With three keys pressed at the corners of a rectangle on that grid, a cheap keyboard without diodes may see the fourth corner as pressed too: that phantom press is ghosting. Most keyboards avoid it by blocking: they ignore the extra key, so it simply does not appear. In this test, ghosting shows up as a key you did not touch lighting up; blocking shows up as a key that stays dark while you hold others.

Rollover is how many keys register at once. A keyboard that speaks the USB boot protocol reports at most six ordinary keys plus the modifiers, which is why "6KRO" is common; gaming and mechanical boards often claim N-key rollover (NKRO). Office keyboards may only guarantee two or three keys in some combinations. Hold different groups: rollover is often better on WASD than elsewhere because manufacturers wire those keys with gaming in mind.

Layouts, languages and what the browser cannot see

The map is a US ANSI board and keys are matched by event.code, the physical position, not by the character. That makes the test correct whatever language you type in: with Vietnamese Telex or VNI, with AZERTY or Dvorak, the A position is still KeyA. ISO keyboards (common in Europe and the UK) have an extra key next to the left Shift, reported as IntlBackslash, and an L-shaped Enter; JIS keyboards add keys such as IntlYen, IntlRo, Lang1 and Lang2. Those extras are listed under the map when you press them. If your board is tenkeyless or compact, switch the layout so the counts match.

Some keys can never be tested in a browser: Fn is handled inside the keyboard, many media keys and the power key are taken by the operating system, and shortcuts such as Ctrl+W, Alt+F4 or the Windows key may act before the page sees them. On macOS, the browser receives no key-up for other keys while Command is held, so the tool releases them when Command is released. If you switch windows mid-test, held keys are cleared, because the browser stops reporting releases. For the raw event fields of a single key, the key code viewer shows everything the browser reports.

Reading the results

  • All keys outlined, rollover of 6 or more, no chatter: the keyboard is healthy.
  • A key never lights up: try it in another app; if it fails there too, it is the switch, the membrane or the matrix.
  • A key lights up by itself or stays held: liquid damage, a stuck keycap or a short. Unplug the keyboard before cleaning.
  • Chatter on one key: common on worn mechanical switches; compressed air, a switch swap, or a debounce setting in the keyboard's software can help.

More on interpreting rollover, ghosting and chatter, with combinations to try, is in how to test a keyboard for ghosting and rollover.

Frequently asked questions

What is the difference between ghosting and key blocking?

Ghosting is a phantom key: with certain three-key combinations, a keyboard without diodes reports a fourth key you did not press. Blocking is the keyboard ignoring an extra key so the phantom never appears. In this test, ghosting lights a key you did not touch; blocking leaves a pressed key dark.

How many keys should register at once?

Six ordinary keys plus modifiers is the USB boot-protocol limit and common on many keyboards. Gaming and mechanical keyboards often handle more (NKRO). Cheap office keyboards may only guarantee two or three keys in some combinations.

Why does a key not show up in the test?

Either the key is faulty or the browser never receives it. Fn, media keys and some system shortcuts are handled by the keyboard or the operating system before the page. Test the key in a text editor to tell the two apart.

Does it work with an ISO, JIS or Vietnamese keyboard?

Yes. Keys are matched by their physical position, so the input language does not matter. ISO and JIS extra keys are listed under the map when you press them, because the drawn map is the US ANSI layout.

Is anything I type recorded?

Only in the page's memory, as key positions and counts, until you press Reset or leave. Nothing is stored or sent.