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.

About this tool

About the keyboard tester

A key that sometimes fails, a new keyboard you want to check before the return window closes, or a second-hand laptop: this tester shows quickly whether every key reaches the computer.

How to test

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

Key rollover and ghosting

Rollover is how many keys a keyboard can report at the same time. Many office keyboards manage 2 to 6; gaming keyboards often claim every key. The browser, the operating system and the connection can cap what is reported, and some keyboards block certain combinations on purpose, so a low number here may come from the computer rather than the keyboard.

If a key stays white

Try it in another program. If it fails everywhere, the switch or the connection is likely at fault. If it only fails here, your system or keyboard software may be using that key for something else. The Fn key and most media keys are handled inside the keyboard and never reach a browser.

The tester also shows each key's code, which developers use to tell physical keys from the characters they type. Key presses are shown on this page only; nothing is stored or sent.

Related tools