Input devices

Keyboard Test

Press keys and watch them light up on your own layout, from full ANSI, ISO and JIS to Mac, laptop and 60%. Spot dead keys, chatter and ghosting in seconds.

Plug in a physical keyboard. On-screen keyboards on phones and tablets only open inside text fields, so they cannot be tested here. On this device, try the mic test, the webcam test or the speaker test.
on-screen keyboardheld now: 0 · max at once: 0
Physical layout

Full size, US style: one-row Enter, long left Shift, numpad. 104 keys counted.

Recording every key, Tab and arrows included. Press Esc twice to leave the test.
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
`
1
2
3
4
5
6
7
8
9
0
-
=
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\
Caps
A
S
D
F
G
H
J
K
L
;
'
Enter
Shift
Z
X
C
V
B
N
M
,
.
/
Shift
Ctrl
Win
Alt
Space
Alt
Win
Menu
Ctrl
PrtSc
ScrLk
Pause
Ins
Home
PgUp
Del
End
PgDn
↑
←
↓
→
Num
/
*
-
7
8
9
+
4
5
6
1
2
3
Enter
0
.
  • held now
  • confirmed working
  • chatter, with count
  • not visible to browsers (Fn)
Nothing pressed yet. Start typing: the page already listens, so no click is needed. Work across the whole board, including both Shift, Control and Alt keys.
chatter rule: keydown within 30ms of the same key's keyup
rollover (NKRO) and ghosting
0
held now
0
max at once

Held nownothing

Press keys one by one and keep them held: each one should light up and the count should rise with it. Ghosting shows up here as a key that does not light while the others are held. Modern keyboards guard against ghosting by dropping the extra key rather than reporting a wrong one, so the browser never hears about it and the dark key is the evidence. Stopping at six keys plus modifiers is the USB boot protocol limit (6KRO), a design choice and not a fault; a keyboard sold as n-key rollover should light everything you can hold. Test the combinations you actually use, such as W, A, S and D with Shift and Space.

last key event
No key yet. Press any key and its event values show up here.

Your keyboard passes when every key of the layout you picked has lit up at least once and no key has sent a second keydown within 30 ms of being released.

This keyboard tester lights up each key on a drawing of your own keyboard the moment you press it, so you can confirm that every switch registers. Pick the physical layout that matches yours (full ANSI, full ISO, JIS, Mac, a typical Windows laptop, TKL, 75% or 60%) and the board on screen changes with it, including the extra ISO key next to left Shift and the JIS keys. It works with membrane, mechanical and laptop keyboards and needs nothing more than a modern browser: the page listens as soon as it loads, and the last key panel shows the key name and the raw code your browser reports for every press.

A dead key is easy to miss until it costs you a password or a game. Press every key and check that it lights up: the test counts how many keys of your layout have registered, lists any it has not seen yet, and only gives a pass once the whole board has delivered a keydown. It also tracks how many keys are held at once, which is how you check n-key rollover and anti-ghosting, and it watches every key for chatter, where one press types twice. The guide to n-key rollover and ghosting explains what the rollover count means and how ghosting shows up.

To test Tab, the arrows and Space, the page has to capture them, which would normally trap your keyboard on the page. Press Esc twice within a second and the capture switches off, Tab moves focus again, and resume test picks up where you left off. Nothing you type is recorded, uploaded or stored: the test listens for the browser's keydown and keyup events, mirrors them onto the layout and discards them. Only the layout you picked is remembered in this browser, and the address bar carries it as ?layout=, so a link opens the same board. If a key fails here in more than one browser, the problem is almost certainly the keyboard itself.

Testers, refurbishers and second-hand buyers use a keyboard checker like this to verify a board before they trust it. If you just bought a used mechanical keyboard, run through the full layout, hold the combinations you use to confirm rollover, and tap any suspect key slowly to see whether it chatters. It is the quickest way to catch a problem while you can still return the hardware. Checking a whole used laptop rather than one keyboard? The full check walks through every test in order and ends in one report.

Pick your layout: ANSI, ISO, JIS, Mac, laptop and compact boards

A keyboard test is only useful if the board on screen matches the one under your fingers, so the test draws eight physical layouts. Full ANSI is the US-style board with a one-row Enter and a long left Shift. Full ISO is the European board with a tall L-shaped Enter and an extra key between left Shift and Z, which the browser reports as IntlBackslash. JIS is the Japanese board with the yen key (IntlYen), the ro key (IntlRo) and the conversion keys either side of the space bar.

Mac ANSI draws Command, Option and Control with half-height arrows and no Insert or Print Screen block. Laptop is a typical Windows laptop with a short function row and an Fn key. TKL drops the numpad, 75% folds the navigation keys into one column, and 60% has no function row, arrows or navigation keys at all, because those live on its Fn layer. Fn itself is handled inside the keyboard and usually never reaches the browser, so it is drawn dashed and not counted; keys you reach through Fn arrive as their own keys and are listed separately.

These are physical layouts, the shape and position of the keys, which is a different thing from the typing layout your system uses. A German QWERTZ or French AZERTY board is an ISO board, and the test matches keys by position, so the right key lights up whatever your typing layout is. Where the browser exposes the system keyboard map, the printable keys also show the characters your own layout produces.

Keyboard ghosting and n-key rollover test

Press keys one by one and keep them held: each one should light up, and the held count should rise with it. Ghosting shows up as a key that stays dark while the others are held. Modern keyboards guard against ghosting by dropping the extra key rather than reporting a wrong one, so the browser never hears about it and the dark key is the evidence.

Stopping at six keys plus modifiers is the USB boot protocol limit, often called 6KRO, which is a design choice and not a fault. A keyboard sold as n-key rollover should light everything you can physically hold. Test the combinations you actually use, such as W, A, S and D with Shift and Space for games, because rollover limits are often uneven across the board. Once six or more keys register at the same time, the test confirms the combination you held.

Key chatter: one press that types twice

A worn or dirty switch can bounce and register a single press twice, which types doubled letters. The test flags chatter when the same key sends a new keydown less than 30 ms after its keyup, and auto-repeat from holding a key down never counts. A key with chatter turns amber on the layout with a counter, and the verdict names it.

A deliberate fast double tap can land inside 30 ms, so confirm a flagged key by tapping only that key a dozen times at a relaxed pace. A healthy switch stays clean; a chattering one keeps doing it when you type slowly. Cleaning under the keycap fixes some cases, while a mechanical switch that keeps chattering usually needs replacing.

How to test a keyboard

  1. Pick your layout: ANSI, ISO, JIS, Mac, laptop, TKL, 75% or 60%.
  2. Press every key once and watch it light up.
  3. Hold several keys together to check ghosting and rollover.
  4. Tap suspect keys slowly; a chatter warning means a bouncing switch.
  5. Press Esc twice to leave the test and use Tab again.

How this test works

This test listens for the standard keydown and keyup events on the document and marks the matching key on the layout you picked. Keys are identified by event.code, which describes the physical key position and does not change with your typing layout, so the highlight is correct on QWERTY, QWERTZ, AZERTY and Dvorak alike. The time between a keyup and the next keydown of the same key, taken from the event timestamps, is what the chatter rule uses. Nothing is forwarded or stored, and keys the operating system claims first, such as PrintScreen and most Fn combinations, never reach any page. MyGearCheck flags keyboard chatter when the same key sends a new keydown less than 30 ms after its keyup.

Method in numbers

The fixed numbers the keyboard test works with
MeasureValueNote
Chatterunder 30 msA new keydown (not auto-repeat) less than 30 ms after the same key's keyup.
Leave the testEsc twice within 1 sSwitches key capture off so Tab moves focus again.
Physical layouts8Full ANSI, full ISO, JIS, Mac ANSI, laptop, TKL, 75% and 60%.
Rollover confirmed6 keys or moreHeld at the same time; 6 keys plus modifiers is the USB boot protocol limit.
Key identityevent.codeThe physical key position, independent of the typing layout.

These numbers come straight from the test code. The thresholds are this site's own rules for reaching a verdict, not an industry standard.

Reference tables

These are server-rendered, so they are readable without running the test and quotable without running any JavaScript. Where a figure comes from a specification it is cited under the table; where it is our own judgement, the table says so.

What the keyboard test can and cannot tell you
What it measuresWhat it cannot see
Whether the browser receives a keydown and keyup for a physical keyWhether a key that never arrives is a dead switch, a dead cable or an OS-level block
Which physical key was pressed, through event.codeWhich key is printed on your keycap: that is a layout setting, not a hardware fact
How many keys the browser reports as held at the same timeYour keyboard's true rollover ceiling, because the browser and OS can drop keys before we see them
Repeated keydown events while a key is heldActuation force, travel distance, switch type or debounce timing
Chatter: a second keydown less than 30 ms after the same key's keyupChatter the keyboard's own firmware filters out before the browser sees it
Your board drawn as full ANSI, full ISO, JIS, Mac, laptop, TKL, 75% or 60%Which physical layout you have: the browser does not report it, so you pick it
Nothing when the OS intercepts the key firstPrintScreen, some Fn combinations and OS shortcuts, which never reach the page

Compiled by MyGearCheck from the browser APIs each test uses. Every limit listed here is a limit of the browser, not of your hardware.

Keyboard rollover levels and what each one means in practice
LevelSimultaneous keys reportedWhat you notice
2KROTwo, plus modifiersA third key is dropped. Common on cheap membrane boards and enough for typing, not for games.
6KROSix, plus modifiersThe ceiling of the USB HID keyboard boot protocol report, which carries six key slots and a modifier byte. Plenty for almost everything.
NKROEvery key, in principleThe keyboard sends a different kind of report so it is not bound to six slots. Often needs to be switched on in firmware.
GhostingNot a level: a wrong key appearsA key you never pressed registers, because the switch matrix cannot tell certain combinations apart. Anti-ghosting hardware prevents this.

The six-key figure comes from the USB HID keyboard boot protocol report format. The rest describes what the keyboard test above can show you. Remember the limit in the table further up this page: a browser cannot prove your board is NKRO, because the operating system and the browser can both drop keys before the page sees them. What it can prove is the opposite, that keys are being dropped somewhere in that chain. See n-key rollover and ghosting explained.

Frequently asked questions

How do I know if a key is dead?

Press the suspect key and watch the on-screen keyboard. If the matching key does not light up while every other key does, that key is not registering and is likely dead. The test also lists every key of your layout it has not seen yet. Try a second browser to rule out software before you blame the hardware.

What is n-key rollover and how do I test it?

N-key rollover is the number of keys a keyboard can register at the same time. Hold down several keys together and watch the held count: basic keyboards often stop at two or three, many stop at six plus modifiers, and keyboards with full rollover keep every held key lit.

What is key chatter and how does the test detect it?

Chatter is a switch that registers one press twice. The test flags it when the same key sends a new keydown less than 30 ms after its keyup, ignoring auto-repeat. A fast deliberate double tap can land inside that window too, so confirm a flagged key by tapping it slowly a dozen times.

Which keyboard layouts can I test?

Eight physical layouts: full ANSI, full ISO, JIS, Mac ANSI, a typical Windows laptop, TKL, 75% and 60%. Your choice is remembered in this browser and carried in the address bar as ?layout=, so a shared link opens the same board.

How do I leave the test? Tab does nothing.

Tab is one of the keys being tested, so the page captures it. Press Esc twice within a second: key capture switches off, Tab moves focus as usual, and the resume test button picks up where you left off.

Is anything I type sent to a server?

No. The keyboard test runs entirely in your browser using the native keydown and keyup events. Nothing you press is uploaded, logged or stored; the only thing remembered is the layout you picked, in this browser.

Why does a key show the wrong character?

That usually means your active keyboard layout in the operating system does not match the physical keyboard. The test shows the raw event code, which is tied to the physical key, so you can compare it against the printed legend to confirm a layout mismatch rather than a fault.

Does the test work with any keyboard layout?

Yes. The key that lights up is matched on event.code, which describes the physical key position and does not change with your typing layout, so a QWERTZ, AZERTY or Dvorak keyboard highlights the correct key. Pick the physical layout, such as ISO for most European boards, so the drawing matches your keys.

Why does nothing happen when I press the Fn key?

Fn is handled inside the keyboard itself and never becomes a browser event, which is why the layouts draw it dashed and leave it out of the count. Its absence here says nothing about whether it works. Keys you reach through Fn, such as media keys, arrive as their own keys.

Can I use this test on a Bluetooth keyboard?

Yes, and it is worth doing: the browser cannot tell a Bluetooth keyboard from a wired one, so any difference you see between the two is real. Keys dropping only over Bluetooth points at the link or the battery rather than the switches.

Does the test remember which keys I have already pressed?

Yes, within the session: a key you have pressed stays marked so you can work through a full board without watching every key at the moment you hit it. Use the reset button to clear it and start again.

Guides for this test

The test shows you what is happening. These explain what to do about it.

More hardware tests

The closest tests to this one are the rest of the input devices group. Working through a whole machine instead? The full check runs everything in order and ends in one report.

Everything else in the suite:

All 10 MyGearChecktests ->