Skip to content
toolsdocks

Keyboard tester and ghosting test

Click into the test area and press each key. Keys turn green once the browser has seen them, and the event log shows exactly what was reported.

Runs on your device
Loading tool…

How to use

  1. Choose the Layout that matches your keyboard: Full size (104 keys) or Tenkeyless (87 keys).
  2. Click inside the test area, or Tab to it. Keys are captured only while this area has focus.
  3. Press every key. Each one turns green on the on-screen map, and Last key event shows its code, key and location.
  4. Hold Shift, Ctrl, Alt or the Windows key with a letter and watch Modifiers held to confirm the combination registers.
  5. Open Not yet tested to see the keys you have not pressed, and check Other keys detected for keys outside your chosen layout.
  6. Press Escape three times to leave the test area so Tab and other keys work normally again.

Worked example

Pressing Left Shift reports code ShiftLeft, key Shift, location 1.

Supported formats and limits

OutputKey map, event log
EngineKeyboardEvent.code / key / location; no keystrokes are stored

Tips for best results

  • To check for ghosting, hold W, A and Space together as you would in a game and see whether all three appear in the Event log. A missing key points to a keyboard limit, not your browser.
  • Press each key once at a normal pace. Two log lines for one press suggest a chattering switch, while a held key shows highlighted auto-repeat events.
  • Left and right Shift, Ctrl and Alt are reported separately through the location value, and the numpad keys report their own codes.
  • On a Mac keyboard the Command key shows up as Meta. Laptop Fn keys are mostly handled by the hardware, so test Fn combinations by their effect, such as screen brightness.

Limits

  • Some keys (Fn, media keys, OS shortcuts) are handled by your system before the browser sees them.
  • Media keys, Fn and operating system shortcuts are often consumed before the browser sees them. The key map is a US-style layout, so extra keys on ISO keyboards appear under Other keys detected.

Questions

How do I test my keyboard for ghosting?

Hold several keys down at once, for example W, A, S, D and Shift. Every key the browser receives stays lit, so a key that does not light up while others are held may be ghosting. Some key combinations are taken by the operating system and never reach the page.

Which key am I pressing?

Press it and the key lights up on the layout with its KeyboardEvent code, key value and location, for example ShiftLeft or Numpad5.

Why does a key not register?

Some keys never reach the browser. Fn, many media keys and operating-system shortcuts are handled by the keyboard or the system first. A key that does not light up may be faulty, or may simply be intercepted, so try it in another app before concluding.

What do code, key and location mean?

code is the physical key (ShiftLeft), key is the character or name it produces with your layout (Shift), and location separates left, right and numpad copies. Left Shift reports code ShiftLeft, key Shift, location 1.

How do I leave the test area?

Press Escape three times. While the area is focused it captures keys such as Tab so they can be tested. Keystrokes are not stored or sent anywhere.

Guides

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

See the privacy policy for how toolsdocks handles data.