Keyboard test: check every key works, with an on-screen keyboard and rollover

Press each key and watch it light up on an on-screen keyboard. See which keys you have tested, the last key's code, and how many keys you can hold at once. Nothing you type is stored.

Keep it one tap away for everyday use.

Bookmark Keyboard Test?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

Or install fibub as an app: every tool you open then works offline.

  1. Click box
  2. Press keys
  3. All green
Nothing is uploadedWorks offline once open
Layout:

Laptop hides the number pad and the Insert/Home block. Use it on a narrow screen to get bigger keys.

Click here to start

Click the keyboard above, then press any key. Tab, Space and the arrows will not scroll the page while you test.

Keys tested
0 of 0
Held now
0
Most at once
0
Last key
–
Code
–
Location
–
Auto-repeat
–

Rollover is how many keys the keyboard can report at the same moment. Cheap keyboards "ghost": press three keys together and a fourth shows up that you did not press, or one goes missing. Gaming keyboards report 6 keys or many more (N-key rollover).

Some keys never reach a web page: Fn, media and brightness keys, Windows/Cmd combinations, and Print Screen on some systems. If a key stays dark here, try it in another app before blaming the key.

What it does

The Keyboard Test shows a full-size keyboard on screen and lights each key while you hold it. A key stays green once it has worked, so a quick sweep across the keyboard shows which keys never responded. It also shows the last key’s name, its physical code, whether it is a left, right or numpad key, and whether the press was an auto-repeat.

It is useful for a new or second-hand keyboard, a laptop after a spill, or a key that “sometimes” misses. The Most at once figure shows rollover: how many keys the keyboard reports together, which matters for gaming and fast typing. Nothing you type is stored or sent anywhere. To check the other half of your desk, use the mouse Test; for your hands’ speed, the reaction time; for a music keyboard, the MIDI Test.

How to test your keyboard

  1. Click the keyboard picture (“Click here to start”). The box gets a solid border while it is listening.
  2. Press every key once. Each turns green. Hold a key to see it stay lit while held.
  3. Choose Laptop to hide the number pad and the Insert/Home block, or Full to test them.
  4. Press Reset to start again. Click outside the box to leave it (Tab is captured while testing).

What each part shows

  • Keys tested: green keys out of the keys on the picture. Hidden keys are not counted.
  • Held now / Most at once: keys down right now, and the highest number seen together (rollover).
  • Last key, Code, Location: what the browser reported. The code names the physical key, so it stays the same on any language layout.
  • Auto-repeat: “yes” when the key is held and the system is repeating it.
  • Rollover: if you press three keys and a fourth appears, or one vanishes, the keyboard is “ghosting”.

Worked example

Press and hold Q, W and E together, then release. Most at once reads 3, and Q, W, E stay green. A basic membrane keyboard may stop at 3 to 6 keys; a gaming keyboard with N-key rollover shows as many as you can press.

A key stays dark

  • Fn, media, brightness and volume keys are handled by the laptop and never reach a web page. Windows/Cmd combinations, and Print Screen on some systems, are also taken by the system.
  • Try the key in another app. If it types nowhere, it may be worn, dirty or broken. Clean under it with compressed air.
  • Check the layout. A key may type a different character than printed if the system language differs, but the code and the lit position will match the physical key.
  • On a phone or tablet, the on-screen keyboard does not send physical key events; connect a keyboard.

FAQs

Is what I type saved? No. Key presses are shown on screen and forgotten when you reset or leave. Nothing is uploaded.

Why does the page not scroll when I press Space or the arrows? While the box is focused the test blocks those keys so they only light up. Click outside the box and they work normally.

Why is the Fn key never lit? Fn is handled inside the keyboard hardware and is not sent to the computer at all.

Can it tell me my keyboard’s exact rollover? It reports the most keys you managed to hold; press more keys together to find the limit.

Where the numbers come from

  • Keys are read from the browser's KeyboardEvent: key (the character), code (the physical key, such as KeyA) and location (left, right or numpad).
  • Key names on your layout come from navigator.keyboard.getLayoutMap(), which only Chromium browsers offer; elsewhere the labels follow a US layout.
  • Rollover is the largest number of keys seen down at the same moment, counted from keydown and keyup events. Checked in tests/device.mjs.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-19.

Change log for Keyboard Test

  1. Add 13 device testers (#T1051-#T1063) and allow the microphone on audio tools Details on GitHub

Every change to fibub

Related tools