Your activity

Recently visited

  • No pages visited yet.

Most visited

  • No pages visited yet.
// key_diagnostic

Keyboard Test

Press any key and watch it light up on the on-screen layout.

Keys Tested
0

Press any key on your physical keyboard — it will light up above.

What this test actually does

This page renders a full visual keyboard layout on screen and lights up each individual key the moment you physically press it, using your browser's underlying key-code detection rather than the character a key produces — which means it correctly distinguishes the left and right Shift keys, the left and right Control keys, and every other key pair that would otherwise look identical to software relying only on which letter or symbol got typed.

Why every key gets tracked by its physical code rather than the character typed

Relying on the character a keypress produces rather than its physical code creates real problems for a diagnostic tool specifically: holding Shift while pressing the letter A produces the character 'A', which tells you nothing about whether the underlying physical A key itself is working correctly, only that some combination of keys eventually produced that specific character. Reading the physical key code directly sidesteps that entirely, correctly registering the A key regardless of Shift state, capitalization, or whatever text input context you happen to be interacting with elsewhere on the page.

What counts as a genuinely thorough test

A complete pass means pressing every single key shown in the layout at least once, methodically working row by row rather than randomly, including easily forgotten keys tucked at the edges — function keys along the top row, modifier keys, and punctuation keys that see far less everyday use than letters and numbers. Skipping straight to typing a few sentences and assuming the rest of the keyboard is fine misses exactly the keys most likely to have gone unnoticed if something actually is wrong with them.

Common early warning signs a key is starting to fail

A key that requires noticeably more pressure than its neighbors to register, one that occasionally needs a second press to actually light up on this page, or one that produces a slightly different tactile feel or sound compared to surrounding keys are all early signs worth paying attention to. Catching these signs here, in a controlled, deliberate test, is considerably easier than noticing them only in the middle of typing something important, where a missed keystroke is far more disruptive and far less obvious as a hardware issue rather than a simple typo.

Ghosting and why some keyboards can't register certain key combinations

Cheaper keyboards, particularly membrane keyboards built around a simple matrix-scanning circuit, sometimes can't correctly register certain specific combinations of three or more simultaneously pressed keys, a phenomenon called ghosting, where an unintended, unpressed key gets incorrectly reported as pressed, or a genuinely pressed key gets silently dropped entirely. This test surfaces ghosting issues if you deliberately hold down several keys at once in the specific combinations relevant to whatever you use your keyboard for, though the dedicated Key Rollover Test elsewhere on this site is purpose-built specifically to explore and quantify this exact issue in more depth.

Why gamers specifically care about testing every key

Games frequently bind actions to keys well outside the standard WASD movement cluster — number keys for quick item or ability selection, function keys for menus or macros, and modifier keys held in combination with other keys for sprinting, crouching, or special abilities. A key that fails silently mid-match, without you immediately noticing during the heat of a fast-paced moment, can cost a game outright, which is exactly why methodically testing every key here, well before a competitive session rather than during one, is worth the two or three minutes it takes.

Testing after a spill or other liquid exposure

If your keyboard has recently been exposed to a spilled drink or other liquid, testing every single key methodically here, once the keyboard is thoroughly dried out, is a genuinely useful way to check for lingering damage — sticky, unresponsive, or inconsistently registering keys are common lingering symptoms of dried residue still affecting the switch mechanism underneath, even well after the keyboard has otherwise dried and looks fine from the outside.

Why some keys are more failure-prone than others

Keys that see disproportionately heavy use — the spacebar above all, followed closely by the most commonly typed letters and Enter — accumulate wear far faster than rarely used keys like F-row function keys or punctuation symbols most people barely touch during ordinary use. This uneven wear pattern is part of why a full-keyboard test that covers every key, rather than just the commonly used ones, catches problems that casual daily typing alone might not surface for a long time, since the specific key that's failing might simply not come up often in your regular typing.

Mechanical versus membrane keyboards on this test

Mechanical keyboards, with each key built around an individual physical switch, tend to register presses more consistently and with a more distinct, repeatable tactile feel than membrane keyboards, which rely on a shared rubber dome layer beneath the whole key matrix. Both keyboard types work equally well with this test's detection method, but mechanical keyboards generally make it easier to physically feel the difference between a healthy key press and a failing one, since each switch's individual mechanical behavior is more distinctly separated from its neighbors.

A note on laptop keyboards specifically

Laptop keyboards use the same underlying physical key-code detection this test relies on, but their more compact layout means some keys found on a full-size desktop keyboard are relocated, combined via a function-key modifier, or simply absent altogether. Testing a laptop keyboard here still works correctly for whichever keys are actually present, and pressing an available key that's mapped differently than a standard desktop layout expects will still register correctly against its true underlying physical code.

Using this test before an important use case

Musicians relying on keyboard shortcuts in production software, competitive gamers before a tournament or ranked session, and anyone about to rely heavily on their keyboard for an important deadline all benefit from the same basic habit: a quick, methodical pass through every key here beforehand, catching any quietly failing key while there's still time to address it, rather than discovering the problem in the middle of the thing that actually mattered.

What to do once you've confirmed a specific key has failed

Once you've isolated a specific failing key through a methodical pass here, a few common next steps are worth trying before assuming full replacement is necessary: compressed air directed carefully into the gap around the key to clear dust or debris, gently removing the keycap itself (straightforward on most mechanical keyboards, considerably more delicate on most laptops and low-profile keyboards) to inspect and clean the switch mechanism underneath, and, for a keyboard still under warranty, checking with the manufacturer before attempting any deeper repair yourself.

How to build a quick daily testing habit

For anyone whose keyboard sees genuinely heavy daily use, running a fast pass through every key here once a week or so — it takes well under two minutes once you're familiar with the layout — is a reasonable, low-effort habit that catches developing issues early, well before they become disruptive during something that actually matters.

Reading your keyboard's overall health from a full pass

A completely clean pass, where every key lights up instantly and consistently with an even, expected tactile feel throughout, is a strong signal your keyboard is in good working order overall. Even a single key that consistently requires a second press, or one that feels noticeably different from its immediate neighbors, is worth flagging and monitoring, even if it isn't yet disruptive enough to justify immediate repair or replacement.

A closer look at how key-code detection actually works under the hood

Every physical key on a keyboard sends a standardized code — KeyA, ShiftLeft, Digit1, and so on — to the browser regardless of what character that key currently produces in your operating system's active layout or language setting. This is why this test correctly detects the physical A key whether your system is set to a QWERTY, Dvorak, or AZERTY layout, since the underlying code identifying which physical key was pressed doesn't change even though the letter that same key produces on screen very much does depend on your active layout.

Testing modifier key combinations specifically

Modifier keys — Shift, Control, Alt, and the Windows or Command key — behave differently from ordinary letter and number keys because they're almost always held down in combination with something else rather than pressed alone. Testing them here in isolation, one at a time, confirms the physical switch itself works, which is a genuinely useful first diagnostic step, though testing them in their actual real-world combinations (Ctrl+C, Alt+Tab, and similar) is worth doing separately in your actual operating system afterward, since combination behavior involves your OS's own input handling on top of the raw key detection this page focuses on.

Why an aging keyboard is worth testing periodically, not just when something feels wrong

Key switches degrade gradually rather than failing all at once in the overwhelming majority of cases, which means a slowly worsening key can go unnoticed for weeks or months of ordinary typing before it becomes disruptive enough to consciously notice. A periodic full pass through this test — say, monthly for a keyboard in heavy daily use — catches that gradual decline while it's still a minor annoyance rather than a keyboard-replacing problem, the same preventive-maintenance logic that applies to checking a mouse's buttons and scroll wheel periodically too.

What this test can't tell you

This page confirms whether a key press reaches the browser correctly — it can't diagnose issues further upstream, like a keyboard driver conflict, USB port problems, or wireless connectivity issues that might affect the keyboard as a whole rather than any single key specifically. If every key fails to register here, that points toward a connection or driver-level problem rather than individual switch failures, and is worth troubleshooting at that level (checking cables, ports, and pairing) before assuming every single key on the keyboard has simultaneously failed.

A word on custom and hobbyist mechanical keyboards

Custom-built mechanical keyboards, increasingly popular among enthusiasts who assemble their own from separately purchased switches, keycaps, and circuit boards, benefit especially from thorough testing immediately after assembly, since a soldering issue or a switch seated slightly incorrectly during the build process is a genuinely common source of a single dead or intermittent key on a freshly built board — catching that immediately after assembly, before extensive use, makes tracking down and fixing the specific problem considerably easier than discovering it weeks later.

How this test complements typing speed practice

Confirming every key works reliably here, before working on typing speed with the WPM Typing Test elsewhere on this site, rules out a hardware issue as the explanation for an unexpectedly low or inconsistent typing score. A specific key that's failing intermittently can quietly drag down typing speed and accuracy results in a way that's easy to misattribute entirely to technique, when the actual root cause is sitting in the hardware rather than your typing skill at all.

A final practical checklist

A genuinely thorough session here takes roughly two minutes: work through the function row, then the number row, then each letter row top to bottom, then the modifier and spacing keys along the bottom, pressing each one deliberately rather than rushing. That short, methodical routine catches the overwhelming majority of hardware issues this kind of test is built to surface, and it's a habit worth repeating periodically rather than treating as a one-time check.

Frequently Asked Questions

Why does this test track physical key codes instead of the letters I type?

Reading the physical key code (rather than the resulting character) correctly distinguishes keys like left/right Shift or left/right Control that would otherwise look identical based on typed output alone, and correctly registers a key regardless of Shift state or capitalization.

What's the most thorough way to use this test?

Work through the layout row by row rather than randomly, making sure to include easily forgotten keys — function keys, modifiers, and punctuation — rather than just typing a sentence and assuming the rest of the keyboard is fine.

What are early warning signs a key is starting to fail?

Needing noticeably more pressure than neighboring keys, occasionally requiring a second press to register, or a slightly different tactile feel or sound compared to surrounding keys are all worth paying attention to.

What is keyboard ghosting?

A phenomenon, most common on cheaper membrane keyboards, where certain combinations of three or more simultaneously pressed keys can't be correctly registered — an unpressed key may get reported as pressed, or a genuinely pressed key may be silently dropped.

Should I test my keyboard after a liquid spill?

Yes, once it's thoroughly dried. Sticky, unresponsive, or inconsistently registering keys are common lingering symptoms of dried residue affecting the switch mechanism, even after the keyboard looks fine on the outside.

Why do some keys fail before others?

Keys that see disproportionately heavy use — the spacebar, common letters, and Enter — accumulate wear far faster than rarely used keys like F-row function keys, which is why a full-keyboard test catches problems ordinary typing alone might not surface for a long time.

Does this test work on a laptop keyboard?

Yes — laptop keyboards use the same underlying physical key-code detection, though their more compact layout means some keys are relocated, combined via a function modifier, or absent compared to a full-size desktop keyboard.

What should I do once I've found a specific failing key?

Try compressed air around the key first, then consider gently removing the keycap to inspect the switch underneath if you're comfortable doing so, and check your warranty status with the manufacturer before attempting any deeper repair.

Does this test work correctly if I use a non-QWERTY layout?

Yes — key-code detection reads the physical key pressed regardless of your active layout (QWERTY, Dvorak, AZERTY, etc.), since the underlying code identifying which physical key was pressed doesn't change even though the character it produces does.

If every single key fails to register, does that mean my whole keyboard is broken?

Not necessarily individual switches — if every key fails at once, that points toward a connection, driver, or USB/wireless-level problem rather than every switch failing simultaneously, and is worth troubleshooting at that level first.

Should I test a custom-built mechanical keyboard right after assembly?

Yes, definitely — a soldering issue or a switch seated slightly incorrectly during a DIY build is a common source of a dead or intermittent key, and catching it immediately after assembly is considerably easier than discovering it weeks later.

How long does a genuinely thorough test actually take?

About two minutes if you work through it methodically — function row, number row, each letter row top to bottom, then modifiers and spacing keys — rather than rushing or skipping around.

Is there any benefit to testing keys I never actually use?

Yes — testing rarely-used keys (certain function keys, punctuation symbols) is exactly how this test catches problems that ordinary daily typing wouldn't surface for a long time, since a failing key you never press won't show up until you specifically go looking for it.