Skip to main content

DigitalCalculators.net

Keyboard Tester

Last updated By the DigitalCalculators.net team Free, no sign-up

Press each key on your keyboard and watch it light up on screen. Keys that never light up may be broken or stuck.

Results

ItemValue
Keys are matched by their physical position (KeyboardEvent.code), so the test works with any keyboard language. Some keys, such as Fn, Print Screen or media keys, are handled by your computer and never reach the browser. Nothing you type is sent or saved.

Quick Answer

Press Start testing, then press every key on your keyboard one by one. Each key turns green while you hold it and stays light green once it has been pressed. If a key never lights up, it may be broken, stuck or remapped. Press Clear to start over.

Last updated: 15 November 2026 ·How we calculate this: how keys are detected

How This Keyboard Tester Works

When a key stops working, it is hard to know whether the problem is the key, the keyboard or the software. This tester shows a keyboard on screen and lights up each key the moment your browser receives it. Press every key once, and any that stay white are the ones to check.

What you see:

  • Dark green: the key is being held down now.
  • Light green: the key has worked at least once.
  • White: not pressed yet, or not reaching the browser.
  • Details: the last key's name and position code.

How to Use the Keyboard Tester

  1. Press Start testing.
  2. Press each key on your keyboard once.
  3. Watch each key light up on the screen keyboard.
  4. Look for keys that stay white.
  5. Press Clear to test again.

How Keys Are Detected

  • Key events: the browser sends a keydown event when a key goes down and keyup when it comes up.
  • Position code: each event includes a code for the physical key, such as KeyA or ShiftLeft, which does not change with the keyboard language.
  • Key value: also shows the character it types, such as a or A.
  • Progress: keys pressed ÷ keys shown × 100. The full layout shows 84 keys.

Key Terms

  • Keydown: the event sent when a key is pressed.
  • Key code: the physical position of a key, such as KeyA.
  • Layout: the language arrangement of a keyboard, such as US QWERTY.

Worked Example

You press every key on a laptop and 75 of the keys shown light up.

  • Look for the white keys: say the J key and Right Shift stay white.
  • Press J again firmly: if it still does not light up, the key or its connection is faulty.
  • If Right Shift works in other apps, it may be remapped by software.
  • Keys like Fn never light up, because the laptop handles them itself.

Real-Life Examples

  • Used keyboards: test every key before buying.
  • Spills: check which keys still work after a drink spill.
  • Gaming: hold W, A and Shift together to see if all three register.
  • New laptops: confirm every key works within the return period.

Key vs Key Code

  • Key: the character a key types, which changes with Shift and the keyboard language.
  • Code: the physical key position, the same whatever the language.
  • This tester: lights keys by code, so it works with any layout.

Keys Browsers Often Cannot See

KeyWhy
FnHandled by the keyboard or laptop itself
Print ScreenOften taken by the operating system
Media and volume keysUsually handled by the operating system
Windows or Command shortcutsSome combinations are taken by the system

If a Key Does Not Work

  • Clean it: crumbs and dust often stop a key from pressing fully.
  • Try another port or receiver: for USB and wireless keyboards.
  • Check batteries: wireless keyboards lose keys when batteries are low.
  • Check the layout setting: a wrong language layout can make keys type different characters.
  • Check key remapping software: it can change what a key does.

Common Mistakes to Avoid

  • Not pressing Start. Keys are only tracked after you press Start testing.
  • Typing in another box. Click outside text boxes before testing.
  • Expecting Fn to light up. It never reaches the browser.
  • Judging a key from one press. Press stubborn keys a few times.
  • Assuming hardware is faulty. Check layout and remapping settings first.

Frequently Asked Questions

Press Start testing, then press each key and watch it light up.

It has not been detected: it may be broken, stuck or handled by your computer.

Fn is handled by the keyboard itself and is not sent to the browser.

Yes. Keys are matched by position, so any layout works.

Yes. Keys held together all turn dark green.

No. Nothing is sent or saved.

Phone on-screen keyboards do not send the same key events; use it with a physical keyboard.

The operating system usually takes that key before the browser sees it.

Yes. Any keyboard connected to the computer works.

Hold several keys at once, such as W, A, S and Shift, and see whether all of them stay dark green. If one does not light up while the others are held, the keyboard cannot register that combination.

Yes. It works with any keyboard your computer recognises, including mechanical, wireless, Bluetooth and gaming keyboards.

Yes. There is no sign-up or download.

Keys such as the space bar and arrows normally scroll the page, so the tester blocks that while testing. Press Clear to stop testing.

References & Sources

SourceUsed ForLink
MDN Web Docs, KeyboardEvent.code Physical key codes used to light up keys. https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
W3C, UI Events KeyboardEvent code Values The standard list of key codes. https://www.w3.org/TR/uievents-code/

Cite or share this calculator

DigitalCalculators.net. (2026, November 16). Keyboard Tester. https://digitalcalculators.net/keyboard-tester/