Keyboard Tester

Press every key to find dead keys, see key codes and check how many keys register at once.

Free tools that run in your browser. Nothing you type, open or create is uploaded to NerdBible or anyone else.

Click here, then press keys to test them

 event.key
 event.code
 keyCode
 location
0Keys held now
0Most held at once
0Keys tested

Rollover: your browser and operating system may not report every key held together, and some keyboards block certain combinations on purpose (ghosting protection). So a low number here can come from the computer rather than the keyboard. The Fn key and most media keys are handled inside the keyboard and never reach the browser. On a Mac, other keys release early while Command is held.

How to use it

  1. Choose the size and layout that match your keyboard.
  2. Click the test area, then press every key once. Each key turns black while held and grey once it has worked.
  3. Any key that stays white after you press it did not reach the browser. Hold several keys together to see how many register at once.

Questions

A key stays white when I press it. Is it broken?

Possibly. Try it in another program too. If it fails everywhere, the switch or the connection may be at fault; if it only fails here, your operating system or a keyboard app may be using that key for something else.

What is key rollover?

It is how many keys a keyboard can report at the same time. Many office keyboards manage 2 to 6 keys, gaming keyboards often claim every key. The browser and the connection (USB or Bluetooth) can cap what is reported, so treat the number as a lower limit.

What is the difference between key and code?

event.code names the physical key position, such as KeyQ, whatever the language setting. event.key is the character it produces, which changes with your layout, so the Q key on a French keyboard reports the letter a.

Does this page record what I type?

No. Key presses are shown on this page only and nothing is stored or sent anywhere.