Language: English

tools / keyboard-tester

keyboard-tester/

Keys light up on the map as you press them, so you can find dead keys, chatter and how many keys register at once. Keystrokes stay in this page’s memory and are never uploaded.

Click “Start test”, then press keys on your keyboard.

On phones and tablets, “Start test” doesn’t bring up the on-screen keyboard. Only a connected external keyboard can be tested.

Readings

Held now—
Most at once0
Presses
Possible chatter0

Recent keys

Last 20 only; cleared on reset or when you leave
keycoderepeatSide

What is a keyboard test

A keyboard test means pressing each key to see whether it is detected. This page lights up each key you press by the code in the browser’s keyboard event (the key’s physical position), counts presses per key and the most keys held at once, and flags a suspected double press when the same key goes down twice within 50 ms.

How it works

Keys light up by the code field of the browser’s keyboard events. code is the physical position of the key and does not depend on the input method or keyboard layout you have selected. Every non-repeat press (keydown) counts once; events the system sends automatically while a key is held are marked “repeat” and are not counted. Held keys go into a set and leave it on release (keyup); the largest size the set reaches is “Most at once”. If the same key is pressed twice less than 50 ms apart, that counts as one possible chatter.

Example

Hold A, S and D, then press F. If F does not light up and “Most at once” stays at 3, your keyboard can only report 3 of these keys together. You press E once, but two presses are recorded within 32 ms; 32 is less than 50, so it counts as one possible chatter and the key turns red.

FAQ

How do I start, and why do my keys do nothing

Click “Start test” first. Keys are recorded only after the button changes to “Testing… (press Esc to finish)” and “Ready, press keys” appears above. Esc lights up Esc first and then finishes; clicking the button again, clicking elsewhere on the page or switching to another window also pauses the test and clears held keys. Click “Start test” to continue. Before the test starts, keys aren’t recorded, and Tab, Space and the page keys work normally for browsing.

How can I tell whether a key is broken

Press every key once; keys you have pressed keep a color and a count. If a key does not light up, try another browser: if it still does not, the keyboard itself is most likely at fault; if it only fails in one browser or system, that key is being handled by the system or browser first and never reaches the page. If one press adds 2 to the count, the key is chattering.

How is chatter (one press, two characters) detected

If the same key is pressed twice less than 50 ms apart, the page counts one possible chatter and marks the key red. It is hard for a human to hit the same key twice within 50 ms, so such a record usually means a bad key contact. Events the system repeats automatically while a key is held are not included.

Most at once is only 2 or 6, is the page at fault

No. How many keys can be reported at once depends on the keyboard hardware; a web page only receives the keys the keyboard reports. Hold a few keys and press one more: if the new one does not light up, you have hit the keyboard’s limit for that combination. Try groups of keys in different places, as the limit can differ.

Why do the labels differ from my keyboard

The map shows US keyboard labels, and keys light up by physical position. With a French or German keyboard or a Dvorak layout the label at a given spot differs, but the key that lights up is the one you pressed. In the recent keys list, key is the character the browser works out from your current layout and code is the physical position. Keys that are not on the map, such as some media keys or the extra key on ISO keyboards, appear below it.

Will Tab, Space or F5 trigger browser actions while testing

Inside the test area the page blocks the browser’s default action for Tab, Space, Enter, Backspace, the arrow keys, Page Up/Down, Home, End, F1 to F12, /, ', `, the Menu key and combinations with Alt held, so Tab does not move focus away and Space and Page keys do not scroll the page. System shortcuts and some browser shortcuts cannot be blocked by a web page, and a key that does not light up then is not necessarily broken.

Can I test on a phone or tablet

Only a connected external keyboard, such as a Bluetooth or USB keyboard. On phones and tablets, “Start test” doesn’t bring up the on-screen keyboard, and the key positions an on-screen keyboard reports are the browser’s best guess rather than real physical keys, so this page can’t test an on-screen keyboard.

Are my keystrokes recorded, and can I type a password here

Do not type real passwords here. The page keeps only the last 20 keys in this page’s memory and clears them when you click “Reset” or leave. Nothing is saved on your device or sent to a server or site analytics.