Keyboard Tester
Press keys to see each one light up on an on-screen keyboard and turn green once it works, with key codes, a rollover count and a number pad.
Last key pressed
- key
- code
- keyCode (legacy)
- location
Press Start, then press keys. Each key lights up while held and turns green once it has worked.
Rollover and extras
Was this tool helpful?
Thanks for the feedback!
This keyboard tester shows an on-screen keyboard that lights up as you press each key and turns it green once it has worked, so a dead key stands out at a glance. It also shows the codes the browser receives and counts how many keys you can hold at once. Use it after a tea spill, before buying a second-hand laptop or when a new mechanical keyboard arrives.
How to use it
- Press Start testing, or click anywhere on the keyboard drawing. A coloured ring round it shows the tester is listening.
- Press keys one by one. A key takes the accent colour while held and stays green after you let go. The counter reads, for example, "12 of 87 keys tested".
- On wider screens, tick Show number pad to add the number pad, and the total becomes 104. It is ticked by default on screens at least 1280 pixels wide.
- Press Pause testing when you need to type elsewhere, and Reset to clear every key.
The drawing follows the US-style (ANSI) layout, with Esc and F1 to F12 on top and the Print Screen, Insert and arrow keys to the right. Keys not on the drawing, such as the extra key beside left Shift on UK-style keyboards (reported as IntlBackslash) or media keys, are listed under Other keys seen. On a Mac, Cmd lights up the keys marked Win.
Reading the key details
The Last key pressed panel shows four values:
key: the character or name the key produces with your layout and modifiers, such asa,AorEnter.code: the physical position, such asKeyAorShiftLeft. The drawing is lit from this value, so on a French AZERTY keyboard the key printed A lights up the Q position.keyCode (legacy): the older numeric code some scripts and games still use, for example 65 for A and 16 for Shift.location: Standard, Left, Right or Number pad, with "auto-repeat" added while a held key repeats.
Example: on Windows with Num Lock off, pressing 1 on the number pad gives key End, code Numpad1, keyCode 35 and location Number pad.
Rollover and ghosting
Most keys held at once records the largest number of keys that were down together. To check rollover, hold keys one after another, for example W, A, Shift and Space for a game, and watch Keys held right now. If a key you add does not light up while the others are held, the keyboard did not send it.
Most keyboards read their keys through a grid of wires. Without a diode on each switch, pressing three keys at three corners of a rectangle in that grid can make the controller think the fourth corner is pressed too. That phantom key is called ghosting. To avoid typing wrong characters, many keyboards block such combinations instead, so the extra key you press simply does not register. That is what a tester usually shows: a missing key rather than an extra one. A key lighting up that you never touched is true ghosting.
N-key rollover (NKRO) means every key is read on its own, however many are held. Keyboards using the standard USB boot report can send six ordinary keys plus the modifiers (Ctrl, Shift, Alt, Win) at once, which is where "6-key rollover" comes from. Some keyboards offer NKRO only in a particular mode, so check the manual. The count here also depends on your operating system, the connection and the browser, and on exactly which keys you hold. Treat it as a practical check of the combinations you use, not a lab measurement.
Keys a web page cannot see
- Fn is handled inside the keyboard and never reaches the computer as a key. Fn combinations arrive as whatever they produce, such as Home, PageUp or a media key.
- The browser acts on F5 (reload), F11 (full screen), F12 (developer tools) and Ctrl or Cmd with R, W, T, N, L or Q. Test these last: F5 reloads the page and clears your progress, and Ctrl+W closes the tab.
- The system keeps shortcuts such as Alt+Tab, Win+L and Ctrl+Alt+Delete. If Win opens the Start menu and the page loses focus, the tester clears the keys it thought were held.
- Print Screen often sends only a key-up to the page on Windows. The tester still marks it as tested.
- On a Mac, keys released while Cmd is held may not send a key-up, so they can look stuck until you press Reset.
If a key fails here and also in a plain text editor, clean under it or try the keyboard on another computer before replacing it. Once everything works, practise on the Typing Speed Test, or check your mouse with the Click Speed Test.
Frequently asked questions
How do I test if all my keyboard keys are working?
What is key ghosting on a keyboard?
How can I check if my keyboard has N-key rollover?
Why does the Fn key not show in the keyboard tester?
Why did the page reload when I pressed F5 in the keyboard test?
Why do my number pad keys move the cursor instead of typing numbers?
Related guides
- Best Free Online Tools for Students in India (No Signup, 2026) Free browser tools for Indian students, sorted by task: essays, marks and CGPA, exam-form photos and PDFs, and study timers, with what each one can't...
- How to Create a Strong Password (NIST 2025 Rules and Entropy Table) Make it long, random and unique: 16+ generated characters in a password manager, or 5–6 random words you can remember. NIST's 2025 rules, 2FA and pass...
- How to Make a Digital Signature for Documents and PDFs Draw a clean signature image and put it on a PDF for free, and learn when Indian law needs a real digital signature (DSC) or Aadhaar eSign instead.