BrowserTools
Home / Misc / Keyboard Tester, Test Your Keys Online

Keyboard Tester, Test Your Keys Online

Free online keyboard tester. Press any key to see it light up, inspect key codes, find dead or stuck keys, and check key rollover directly in your browser.

Loading Keyboard Tester, Test Your Keys Online… If nothing happens, please enable JavaScript.

A keyboard tester is the fastest way to find out whether every key on your keyboard actually works. Keys fail more often than most people think: a splash of coffee, years of dust building up under the caps, a worn-out switch or a loose membrane connector can all leave you with a key that registers intermittently, registers twice, or does not register at all. Before you buy a second-hand keyboard or laptop, after a spill, or when a game suddenly stops responding to a key, running every key through a visual test takes two minutes and tells you exactly where the problem is.

Frequently asked questions

How do I use the keyboard tester?
Click anywhere on the page so it has focus, then press each key on your physical keyboard. The matching key lights up on the virtual keyboard while held and stays highlighted as tested once released. Work across every row; any key that never lights up is not sending a signal and is likely faulty.
Why does a key on my keyboard not register?
First check whether the key works in a plain text editor. If it does not register anywhere, the switch or membrane underneath is likely dirty or dead. A few keys can never be captured by a web page: the Fn key is handled entirely inside the keyboard hardware, and some OS shortcuts like Windows lock combinations are intercepted before the browser sees them.
What is the difference between event.key and event.code?
event.key tells you what the key produces with your current layout, for example 'a' or 'ç' or 'Enter'. event.code identifies the physical key position on a standard keyboard, for example 'KeyQ', regardless of the layout. On an AZERTY keyboard, pressing the key labelled A reports key 'a' but code 'KeyQ', because it sits where Q sits on a QWERTY board.
What is keyCode and why is it deprecated?
keyCode is a numeric identifier from the earliest DOM events, for example 65 for A or 13 for Enter. It is inconsistent across browsers, layouts and platforms, so the web standard replaced it with the far more precise key and code properties. It is shown here because plenty of older software, games and job-interview trivia still reference it.
What is key rollover and what is ghosting?
Rollover is the number of simultaneous key presses your keyboard can report correctly. Many basic keyboards are limited to two to four keys in certain combinations because their keys share electrical matrix lines. Ghosting is a side effect where a fourth, unpressed key appears pressed; blocking is when extra presses are simply ignored. Gaming keyboards offer 6-key or N-key rollover to avoid this.
How do I test how many keys register at once?
Press and hold multiple keys simultaneously, spreading your fingers across letters, modifiers and arrows. The rollover counter shows how many are currently detected and the session maximum. Note that USB keyboards in basic mode often top out at six plus modifiers, and some browser or OS combinations impose their own limits.
How can I detect key chatter (a key that types twice)?
Key chatter is a worn or dirty switch registering two presses from one physical keystroke. Press the suspect key once, slowly, and watch the history list: if a single press adds two entries for the same key, the switch is bouncing. Repeat several times, chatter is often intermittent, especially on well-used mechanical switches.
Does the tester work with laptop and wireless keyboards?
Yes. Anything your operating system sees as a keyboard works: built-in laptop keyboards, USB and Bluetooth keyboards, and keyboards attached to tablets. For Bluetooth models with a key that fails intermittently, also test with a cable or fresh batteries, low power can cause dropped keystrokes that look like a hardware fault.
Are my keystrokes sent anywhere?
No. The tester runs entirely in your browser using standard JavaScript keyboard events. No keystroke, statistic or identifier is transmitted to any server, and the record of which keys you tested is stored only in your browser's local storage so you can clear it with the reset button at any time.
Does it work with non-QWERTY layouts like AZERTY or Dvorak?
Yes. The on-screen keyboard is arranged as a standard ANSI QWERTY board, but detection is based on the physical key code, which is layout-independent. Pressing any physical key highlights the corresponding position, and the live panel shows exactly what character your layout assigns to it, which is also a handy way to explore an unfamiliar layout.

About Keyboard Tester, Test Your Keys Online

Using this tool is as simple as it gets: click anywhere on the page and start pressing keys. Each physical key lights up on the on-screen keyboard the moment you press it and stays marked as tested afterwards, so you can methodically work across the board and instantly spot any key that never changes colour. A live panel shows the technical details of every keystroke: the event.key value (the character or action the key produces), the event.code value (the physical key position, independent of your layout), the legacy keyCode number that older software still uses, the key location (standard, left, right or numpad) and the current state of the Shift, Ctrl, Alt and Meta modifiers.

The tester also measures key rollover, which is how many keys your keyboard can register at the same time. Cheap office keyboards often handle only two to four simultaneous keys before ghosting or blocking kicks in, while gaming keyboards advertise 6-key or full N-key rollover. Hold down as many keys as you can and the counter shows how many were actually detected, along with the highest number reached in the session. This matters for fast typists and gamers: if you have ever pressed three movement keys and jumped at the same time only for one input to vanish, rollover limits were the reason.

Everything runs locally in your browser, no keystroke ever leaves your device, which matters when you are typing test sequences on a machine you care about. The tool works with wired, wireless and laptop keyboards, with any language layout (the physical code is layout-independent), and includes the function row, navigation cluster, arrow keys and an optional numpad section. A few keys are reserved by the operating system or browser and cannot be captured, such as the Fn key (which never reaches the operating system) and certain OS-level shortcuts, and the tester handles those gracefully rather than hijacking your browser.

From Typewriter Jams to N-Key Rollover

The layout you are testing is over 150 years old. Christopher Latham Sholes patented the type-writer in 1868 and, together with his collaborators, gradually rearranged its alphabetical keys to reduce jamming: frequently paired letters were separated so their type bars would not collide when struck in quick succession. Remington put the resulting QWERTY arrangement into mass production in 1873, and it stuck. A popular legend claims the top row was arranged so salesmen could peck out the word TYPEWRITER using a single row, a story that is probably embellished but refuses to die. Rival layouts such as August Dvorak's 1936 design promise less finger travel, yet a century and a half of muscle memory has proven almost impossible to displace.

The electrical trick that makes rollover a problem dates from the earliest electronic keyboards. To avoid wiring every key individually, keyboards arrange their switches in a matrix of rows and columns; the controller scans the grid hundreds of times per second to see which intersections are closed. Press three keys forming an L shape in the matrix and the current can sneak along a path that makes a fourth, untouched key look pressed, the phenomenon known as ghosting. Manufacturers countered by blocking (ignoring the ambiguous press) or, in better keyboards, by adding a diode behind every switch, which isolates each key electrically and enables true N-key rollover, where every key on the board can be held at once and still register.

Keyboard testing has a surprisingly rich hardware heritage too. IBM's Model M, introduced in 1985 with its buckling-spring switches, is still prized by typists and collectors, and thirty-year-old units routinely pass a full key test today, one reason enthusiasts call it the tank of keyboards. Modern mechanical switches are typically rated for 50 to 100 million presses per key, but ratings assume clean laboratory conditions; in the real world, dust, crumbs and drink spills end far more keyboards than worn springs do. That is precisely why a quick browser-based test remains one of the most useful diagnostics you can run on any machine, old or new.

Support