Keyboard Tester

A keyboard tester that lights up every key you press: pick your layout, press each key and see at once which ones register, which stay stuck and which double-type. Works with laptop, mechanical and Mac keyboards, with a downloadable report.

Click the keyboard, then press any key
Result class: Measured
pressed nowtestedstuck suspectchatter suspect
Tested
0
Untested
102
Held now
0
Suspects
0
KeyCodeLocHeldNote
Key events appear here with hold time in milliseconds.
— — Hz

Runs in your browser. Nothing is uploaded.

How to use

  1. Click the drawn keyboard (or press Tab until it has focus). The status line turns green: keys are now captured and won't scroll or move the page.
  2. Press every key once, working row by row. A key turns teal when it registers; a key that stays orange after two seconds is held down or stuck; red means it repeated within the chatter threshold.
  3. Open Settings to switch the layout (full-size, TKL, 75 %, 60 %, laptop, ISO, Mac, JIS) or the labels, and press Untested keys to see what is left.
  4. Press Esc to release the keyboard, then download the PNG report if you need evidence for a return, a warranty claim or a second-hand purchase.

Test every key on your keyboard

Click the keyboard drawing, or press Tab until it is focused, and the status line turns green: the page is now capturing keys. From that moment Space, Tab, the arrow keys and Backspace act on the test instead of scrolling or navigating, so you can press everything freely; Esc hands control back to the page at any time. Then work through the keyboard row by row, pressing each key once. The drawing updates instantly, the counters above the log show how many keys are tested and how many are left, and the event log lists every press with its key and code values, its physical location and how long it was held in milliseconds.

Pick the drawing that matches your keyboard in Settings: full-size ANSI, tenkeyless, 75 %, 60 %, a Windows laptop, ISO (the European layout with the tall Enter and the extra key next to the left Shift), Mac, or JIS. The labels can be switched independently of the physical layout, which is the point of the design: a German keyboard is an ISO board with QWERTZ labels, and the tester treats those as two separate choices. Keys are matched by their physical position (event.code), so the test is correct even when your operating system’s input language doesn’t match the keycaps. Mac users get their own page: the Mac keyboard tester limits the picker to MacBook ANSI, MacBook ISO and the Magic Keyboard with numeric keypad, with Apple’s key names.

When you are done, Untested keys lists what you haven’t pressed yet, and PNG report produces an image with the layout, the date, the counts and any suspects, which is the kind of evidence a retailer, a repair shop or a second-hand buyer asks for.

What the colors mean (pressed / tested / stuck)

Blue: pressed right now. The key is down and the browser is reporting it. Several keys can be blue at once; the Held now counter shows how many, which is a quick rollover check (the ghosting test goes further).

Teal: tested. The key has been pressed and released at least once and behaved normally. A key that registers here is electrically fine; if it still misbehaves in a particular program, the cause is software.

Orange: stuck suspect. The key went down and no release arrived within two seconds. That is normal if you are deliberately holding it; if you tapped it and it stays orange, the switch is sticking or the key-up event is being lost, often because a modifier combination triggered an operating-system shortcut that swallowed the release. Press the key once more; if it turns teal, it was the shortcut.

Red: chatter suspect. The key registered twice within the chatter threshold (50 ms by default, adjustable in Settings) when it was pressed once. A single red event can be a genuinely fast double-tap; a key that keeps turning red is a chattering switch, and the keyboard chatter test measures how often it happens so you can decide between a debounce setting, cleaning and a switch replacement.

Keys drawn with a dashed border, such as Fn, Pause and Scroll Lock on some boards, are ones a browser usually cannot see; they are excluded from the untested count.

Keys a browser can’t detect (Fn, some media keys, OS shortcuts)

A web page sees keys only after the keyboard’s firmware, the operating system and the browser have each had their turn, and all three keep some for themselves. Fn is consumed inside the keyboard on almost every model; it never reaches the computer. Media and special keys (volume, brightness, play/pause, calculator, sleep) are delivered inconsistently: Chromium reports many of them as AudioVolumeUp, MediaPlayPause and similar codes, other browsers and operating systems act on them without telling the page. Operating-system shortcuts such as Alt+Tab, the Windows key on its own, Cmd+Space, Ctrl+Alt+Delete and the screenshot keys are intercepted before the browser; the tester shows the modifier going down but may never see the combination or the release.

In full screen the tester asks for Keyboard Lock where the browser supports it (Chromium on desktop), which routes Esc, Tab, Alt+Tab, Ctrl+W and the like to the page so they can be tested; the note under the log tells you whether the lock is active, and holding Esc for two seconds always exits. Browsers without the API still test every ordinary key; they just can’t capture the handful the system reserves, and the tester says so rather than marking them as faulty.

Finally, Print Screen, Scroll Lock and Pause behave differently per operating system, and on some laptops Num Lock toggles a numeric overlay rather than producing an event. Treat any of these as untestable here rather than broken.

Testing a laptop keyboard

Laptop keyboards fail in their own ways: liquid damage takes out a cluster of neighbouring keys, a stretched ribbon cable takes out a whole row or column, and worn membranes make a key register only when pressed hard or off-centre. Choose the Laptop layout, press every key with normal force, then go back over any key that needed extra pressure and press it at its edges; a key that registers in the middle but not at a corner has a worn stabiliser or dome and will get worse.

If keys type the wrong characters, the problem is almost never the hardware. Check the input language and layout in the operating system (a UK layout on a US keyboard swaps @ and ”, a German layout swaps Y and Z), and check Num Lock on compact laptops whose letter keys double as a number pad. The event log helps: code shows the physical key you pressed, key shows what the system made of it, and a mismatch between the two is a layout setting. Filter Keys and Sticky Keys in Windows accessibility settings produce missed or doubled presses that look like hardware faults; our keyboard-not-working guide walks through all of these.

A laptop keyboard that fails this test but works in the BIOS or firmware screen has a software problem; one that fails in the BIOS too has a hardware problem, usually the ribbon cable or the keyboard assembly.

Testing a mechanical keyboard (chatter, ghosting, polling)

A mechanical keyboard passes the basic key test easily; what you are checking is the quality of each switch and the keyboard’s electronics. Three things matter. The mechanical keyboard switches guide explains linear, tactile and clicky switches with the makers’ force and travel figures.

Chatter. A worn or dirty switch bounces and sends two presses for one. Press each key a few times at normal typing speed and watch for red: the tester flags any repeat within the threshold. If a key is flagged, run the keyboard chatter test, which counts the chatter rate per key over thirty seconds and tells you whether a debounce setting in the keyboard’s software will hide it or the switch needs cleaning or replacing. Hot-swap boards make the replacement a two-minute job.

Ghosting and rollover. Hold several keys together and watch the Held now counter. A keyboard with n-key rollover counts every key you can physically press; a 6-key USB keyboard stops at six; a cheap membrane board may miss or invent keys when three in a row are held. The keyboard ghosting test runs gaming and shortcut combinations and records the maximum, with a note about combinations the operating system itself intercepts.

Polling rate. How often the keyboard reports to the computer (125 Hz on older boards, 1000 Hz on most gaming keyboards, 8000 Hz on a few) can be estimated from the timing of fast repeated presses; the keyboard polling rate test does that and explains why the estimate depends on the browser’s timer resolution and on the USB port and hub you use.

The hold-time column in the event log is useful on mechanical boards too: consistent 60–120 ms holds at normal typing are healthy, while keys that show 1–3 ms holds you didn’t intend are bouncing on release.

A key isn’t working: what next

Start by separating hardware from software. Press the key here: if it never lights up in any program, note whether its neighbours work (a dead cluster means liquid or a cable), whether it works in the BIOS or on another computer (if yes, the fault is in the operating system or a driver), and whether the key is physically different to press (a mechanical switch that feels mushy or scratchy has debris or a damaged stem). If it lights up here but doesn’t work in one application, the application has remapped it or a shortcut utility is intercepting it. Developers who need the exact event.key, event.code and keyCode values a key sends can use the keycode finder. If the key is sticky or intermittent rather than dead, the keyboard cleaning guide is the first stop.

For a dead key on a laptop, check for a disabled keyboard device in Device Manager or a pending driver update, then try an external keyboard to confirm the laptop’s own keyboard is the problem. For a mechanical board, pull the keycap and look at the switch; a hot-swap switch can be replaced, a soldered one can be cleaned with contact cleaner or replaced by a repair shop. For a membrane keyboard, a single dead key usually means the whole keyboard is replaced; they are rarely worth repairing. The keyboard-not-working guide covers each path in detail, including Filter Keys, the Windows and macOS layout settings that make keys appear dead, and what a warranty will and won’t cover.

All keyboard tests

Each of the keyboard tools below runs on the same engine as this page and goes deeper on one question: how fast the keyboard reports, how many keys it can register at once, whether a key double-types, and how long a press takes to arrive. Run the basic test here first, then the specific one for the problem you found. The spacebar test is a timed counter for the space key that also flags missed and doubled presses.

Frequently asked questions

Why isn't my Fn key detected?

On most keyboards Fn is not a key the computer ever sees: it is handled inside the keyboard's own controller to switch other keys to their secondary function, so no event reaches the browser. The tester draws it dashed and leaves it out of the untested count. If Fn-combinations such as brightness or volume do nothing either, that is a driver or firmware issue, not a dead key.

My keyboard isn't working at all. Can this test help?

Yes, as the first step: if no key lights up here while the capture status is green, the computer is not receiving anything from the keyboard, which points to the cable, the USB or Bluetooth connection, the receiver, the battery or a driver rather than individual keys. Our keyboard-not-working guide takes it from there, with separate paths for laptops, wired, wireless and Bluetooth keyboards.

Does the keyboard tester work on a Mac?

Yes. Choose the Mac layout in Settings to see Command, Option and the function row drawn correctly, or use the dedicated Mac keyboard tester, which adds the ISO MacBook and Magic Keyboard with keypad drawings and Apple key names. macOS keeps a few keys for itself: the Globe/Fn key, Touch ID, and some function-row keys that trigger Mission Control or Spotlight before the browser sees them; press Fn with them or disable the shortcuts in System Settings to test the key itself. Safari also cannot lock system keys in full screen.

Does it work on a Chromebook, phone or tablet?

On a Chromebook, yes; the Search/Launcher key reports as Meta and the top row reports as function keys or media keys depending on your settings. On a phone or tablet the on-screen keyboard can't be tested, but a Bluetooth or USB keyboard connected to the device works, and the page tells you when no physical keyboard has been seen yet.

How do I test a keyboard without a computer?

You can't test individual keys without something to receive them, but a phone or tablet counts: connect the keyboard over Bluetooth or a USB adapter, open this page and press the keys. For a wired keyboard with no device at hand, the only check is visual and mechanical: look for bent pins or a damaged cable and press each key for a consistent feel.

Is anything recorded or sent when I type here?

No. Key events are processed in your browser to light up the drawing and fill the log on this page; nothing is transmitted, stored on a server or kept after you leave. The PNG report is generated on your device and saved only where you save it. Avoid typing passwords anyway: the event log on screen shows every key you press.

Last updated:

Reviewed by: TestPane Editorial Team

Tested on: Chromium 141 (automated, synthetic key events), Firefox 142 (automated, synthetic key events), WebKit 26 (automated, synthetic key events)