Translate this page

Pages are written in English and translated in your browser by machine translation. Test results and your data are never sent anywhere.

Keyboard Tester: Check Every Key Online

Press any key. Each key lights up as it registers, so dead, sticky, or chattering keys show up in seconds.

Runs locally in your browser. Nothing is uploaded.

Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
~`
!1
@2
#3
$4
%5
^6
&7
*8
(9
)0
_-
+=
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
{[
}]
|\
Caps Lock
A
S
D
F
G
H
J
K
L
:;
"'
Enter
Shift
Z
X
C
V
B
N
M
<,
>.
?/
Shift
Ctrl
Win
Alt
Space
Alt
Win
Menu
Ctrl
PrtSc
ScrLk
Pause
Ins
Home
PgUp
Del
End
PgDn
↑
←
↓
→
Num
/
*
-
7
8
9
4
5
6
1
2
3
0
.
+
Enter

Results

Waiting for a key
Keys tested0/ 104
Last key–
Code–
Hold time–
Most keys at once–
Input to paint–
Report a problem
CodeKeyTimeHold
Key events appear here as you type.

A keyboard tester shows, key by key, whether every switch on your keyboard sends a signal to your computer. This one runs in your browser, works with any layout, and also catches the two faults that are hard to notice by typing alone: chatter, where one press counts twice, and limited rollover, where some key combinations get lost.

7 chapters · 5 min read

How to use the keyboard tester

1 min
  1. Click the keyboard picture above, or just start pressing keys. The status light turns green when the tester is listening.
  2. Pick the layout that matches your keyboard. The tester suggests one from your system settings, and remembers your choice.
  3. Press every key once, row by row. Keys turn blue as they register and stay blue, so you can see what is left.
  4. Open the untested keys list to find any key that never lit up.
  5. Watch for an amber dot. It means that key registered more than once for a single press.
  6. Hold three, four, then six keys together to check rollover.

While the tester has focus it captures keys that would normally scroll the page or move focus, such as Space, Tab and the arrows. To give the keyboard back to the page, press Escape twice quickly or click anywhere outside the tester.

How the keyboard test works

1 min

Every time you press or release a key, your keyboard sends a scan code to your computer. The operating system turns it into an event, and the browser passes that event to this page. The tester reads the event’s code value, which names the physical position of the key (for example KeyA or ShiftLeft) no matter which language layout you use. That is why the same picture works for QWERTY, AZERTY and QWERTZ boards.

For each key the tester records the time of the press and the release, using the high-resolution timestamp the browser attaches to each event. From those times it works out three things:

  • Hold time, the gap between press and release.
  • Chatter, when the same key is pressed again within the chatter threshold (30 ms by default) after it was released, or pressed twice without a release in between.
  • Rollover, the largest number of keys held down at the same moment.

Auto-repeat, the stream of characters you get when you hold a key, is ignored, so holding a key never looks like chatter.

How to read your results

1 min
ResultWhat it meansWhat to do
Key lights up and stays blueThe switch and the connection are fine.Nothing.
Key never lights upNo signal reached the browser.Check that key in another app. If it is dead everywhere, it is a hardware fault.
Amber dot on a keyOne press registered twice or more.Clean the switch, or replace it on a hot-swap board. See fix keyboard chattering.
Rollover stops at 2 or 3Your keyboard cannot report more keys at once in that combination.Normal for many office boards. For gaming, look for 6KRO or NKRO.
Other key lights up insteadKey remapping software or a different layout is active.Switch layout above, or check your keyboard software.

A short hold time (under 40 ms) on a key you held for longer can point to a switch losing contact. Very long hold times on a key you tapped can mean the key is sticking; you will usually feel that too.

Common keyboard problems and fixes

1 min

Several keys in a row are dead. On a laptop this often means a damaged ribbon cable or a spill under one area. On a desktop keyboard, try another USB port and cable first. If the same group stays dead, the keyboard’s matrix has a broken trace. Our guide to laptop keys not working walks through 12 fixes in order.

One key types twice. That is chatter. Blow compressed air under the keycap, press the key 30 to 40 times, and test again. Many gaming keyboards also have a debounce setting in their software; raising it a few milliseconds can hide the problem until you replace the switch.

Keys work in this tester but not in a game. The game may use a different input method or have its own key bindings. Check whether another program, such as a macro tool, is capturing the key first.

The wrong character appears. Your operating system layout does not match the printed keys. On Windows, check Settings, Time and language, Language and region. On macOS, check System Settings, Keyboard, Input Sources.

Nothing registers at all. Click inside the tester first. If it still shows nothing, test the keyboard on another computer or port. Wireless boards may simply need charging or re-pairing.

Tips for specific keyboards

1 min

Mechanical keyboards. If your board is hot-swappable, you can pull a chattering switch and swap it with one from a key you rarely use, then test again to confirm the switch was the problem.

Laptops. Function keys and media keys are often swapped by an Fn Lock setting. If F1 to F12 change brightness instead of lighting up here, toggle Fn Lock (often Fn plus Esc) and test again.

Mac keyboards. macOS handles the fn and globe key itself, and keeps Command plus Tab and similar shortcuts. Choose the Mac layout so those keys show as reserved instead of missing.

ISO keyboards (UK and most of Europe) have an extra key next to the left Shift and a tall Enter key. Pick the ISO layout so the tester counts that extra key.

60% and 65% boards reach arrows and function keys through an Fn layer. Hold Fn while pressing the number row to test them.

Keyboard terms in plain English

1 min
  • Switch: the part under each key that closes a contact when pressed.
  • Debounce: a short filter in the keyboard that ignores the tiny flicker of a contact as it closes. When it fails to filter, you get chatter.
  • Ghosting: a phantom key that appears when you press certain combinations on a simple keyboard matrix.
  • Key blocking: the opposite of ghosting, when the keyboard refuses a key instead of inventing one.
  • NKRO / 6KRO: N-key rollover means every key can register at once; 6KRO means six keys plus modifiers.
  • Polling rate: how often a USB keyboard reports to the computer, often 125 to 1000 times per second.

Testing more than the keyboard? The PC Hardware Tester home page explains how to check your whole setup, and the mouse test and typing test pair well with this one.

Fix guides for common problems

1 min

Frequently asked questions

How do I test my keyboard online?

Open this page, click the keyboard picture, and press each key. A key that lights up is working. A key that stays dark is not sending a signal, and a key that shows an amber dot is registering more than once per press. Nothing to install and nothing is uploaded.

Why do some keys not light up even though they work?

Some keys never reach a web page. The Fn key is handled inside the keyboard, media keys are often grabbed by the operating system, and Windows, Command and Print Screen can be reserved by the system. Those keys have dashed outlines in the tester. If a normal key such as a letter or digit stays dark, that key has a fault.

What is keyboard chatter?

Chatter is one press that registers as two or more, so you type "thhe" instead of "the". It usually comes from a worn or dirty switch. The tester flags any key pressed again within 30 ms of being released, which is faster than a person can repeat a key. Read our guide to fixing keyboard chattering.

How do I test N-key rollover?

Press and hold several keys at the same time, adding one at a time. The "Most keys at once" readout shows the highest number of keys your keyboard reported together. Many office keyboards stop at two or three keys in some combinations; gaming keyboards often register six or more. See N-key rollover explained.

Can I test a laptop keyboard here?

Yes. Choose the Laptop or Mac layout. Laptop keyboards hide some keys behind Fn, so hold Fn and press the top row to test those functions. If several neighboring keys are dead, see laptop keys not working.

Does this keyboard tester record what I type?

No. Key presses are handled by code running in your own browser and are never sent to a server. When you close the tab, the session is gone. You can download your own log as a file if you want to keep it.

What does the input-to-paint number mean?

It is the time from the moment your browser received the key event to the moment the next frame was drawn. It includes your display refresh, so a 60 Hz screen adds up to about 17 ms. It is a rough guide for comparing setups, not a lab measurement of keyboard latency.

Will this work with an AZERTY, QWERTZ or other layout?

Yes. The tester tracks physical key positions, so any language layout works. In Chrome and Edge it also reads your system layout and prints your own characters on the keys.

Sources

  1. MDN Web Docs: KeyboardEvent.code
  2. W3C: UI Events KeyboardEvent code values
  3. MDN Web Docs: Keyboard.getLayoutMap()
  4. MDN Web Docs: Event.timeStamp

Written and tested by Kamel Medlej

Founder and editor of PC Hardware Tester. Tools are checked on real hardware, and each page says exactly what it was tested on. Spot a mistake? Tell us.

Last updated Published Tested on Chromium-based browser on Windows 11 with a full-size ANSI keyboard, during development. Other browsers and keyboards are added here as they are checked.