Skip to main content
CompressNConvert

Keyboard Test

Test every keyboard key online with a full-size visual layout. Find dead, stuck, or repeating keys and inspect keydown, keyup, code, location, and modifier data.

Keystrokes stay in this browser tab — nothing is logged or sent

Click here to start testing

0 of 104 keys tested
EscF1F2F3F4F5F6F7F8F9F10F11F12
~`!1@2#3$4%5^6&7*8(9)0_-+=Backspace
TabQWERTYUIOP{[}]|\
Caps LockASDFGHJKL:;"'Enter
ShiftZXCVBNM<,>.?/Shift
CtrlMetaAltSpaceAltMetaMenuCtrl
Print ScreenScroll LockPause
InsertHomePage Up
DeleteEndPage Down
Num Lock/*-
789+
456
123Enter
0.

While this area is focused, key presses are captured instead of acting on the page. Press Tab to leave.

Select the keyboard area above before pressing keys. Nothing is captured until it has focus.

Latest key event

The exact values this key sent to the page.

No key pressed yet.

Recent key events

Newest first. Auto-repeat events are left out to keep the list readable.

Recently captured keyboard events
EventkeycodeLocationModifiers
Captured events will appear here.

Complete tool guide

Keyboard Test guide

Use this online keyboard tester to check whether physical keys register correctly, diagnose unwanted repeats, and see the exact browser event produced by letters, numbers, modifiers, navigation keys, and the number pad.

Your input is processed in the current browser tab and is not sent to the application server.

Why use this tool?

  • Work through a visual keyboard and keep track of every key already tested.
  • Separate a hardware fault from an operating-system layout or shortcut issue.
  • Inspect developer-facing key event values without installing a key logger or utility.

Common use cases

  • Checking a second-hand or newly repaired keyboard key by key
  • Finding a single key that has stopped responding
  • Confirming what a keyboard shortcut actually sends to a web page

How to use it

  1. 1

    Select the capture area to begin.

  2. 2

    Press every key you want to check and watch it highlight.

  3. 3

    Use the coverage count to spot keys you have not reached yet.

  4. 4

    Review the event details to see the exact key, code, and modifiers.

Controls and results explained

Keyboard capture area

Click or focus the keyboard diagram before testing. While it is active, the page listens for keydown and keyup events; press Tab to leave the area without trapping keyboard navigation.

Key colors and coverage

Blue means the key is currently held, green means it registered at least once, and an unfilled key has not been tested. The counter reports distinct mapped keys rather than total presses.

Block browser shortcuts

When enabled, the page prevents most visible browser actions so keys such as Space or Backspace can be tested safely. Tab remains available, and operating-system shortcuts such as Cmd+Tab or Alt+Tab may still take control.

Event: keydown and keyup

Keydown fires when a key is pressed; keyup fires when it is released. A key that remains visually held after release may indicate a lost event caused by switching windows, not necessarily stuck hardware.

key and code

key is the meaning or character produced by the current layout, such as “z” or “Z”. code names the physical position, such as KeyZ, and is usually stable across keyboard layouts.

Location and modifiers

Location distinguishes standard, left, right, and number-pad keys. Modifiers lists active Shift, Control, Alt, or Meta keys, which helps verify combinations and left/right modifier behavior.

Auto-repeat and keys held

Auto-repeat becomes Yes after holding a key long enough for repeated keydown events. Keys held counts simultaneous pressed codes and is useful for testing multi-key shortcuts or rollover.

Recent events and Reset

The event table keeps recent non-repeat presses in newest-first order. Reset clears the highlights, counters, latest event, and history without reloading the page.

Blue means held, green means tested

A key turns blue while it is held down and stays green afterwards, so you can work through the whole keyboard and see at a glance what is left.

key versus code

The key value is the character produced, which changes with your layout and with Shift. The code value identifies the physical key position and stays the same across layouts.

Keys the browser cannot see

The operating system intercepts some combinations before a web page sees them, such as Alt+Tab, Cmd+Tab, and most media and Fn keys. These will not light up, which is expected rather than a fault.

Practical tips for better results

  • The on-screen layout is a standard full-size ANSI keyboard, so a compact or non-US keyboard will not have every key shown.
  • Hold a key down to check that auto-repeat behaves — the repeat flag should turn true.
  • Use Tab to leave the capture area; it is deliberately never blocked.

Frequently asked questions

A key does not light up. Is it broken?

Not necessarily. First check whether it is a key the operating system reserves, such as Fn or a media key. If an ordinary letter, number, or modifier does not register in any application, the key itself is likely faulty.

Why does my keyboard layout look different from the one shown?

The diagram is a full-size US ANSI layout. Other layouts move or add keys, so some caps may not match your hardware. The event details below still report exactly what you pressed.

Are my keystrokes recorded?

No. Keys are shown in this browser tab and nothing is stored or transmitted. Refreshing the page clears everything.

Keep working

Continue with another focused tool from the same collection.