InputTestHub

Keyboard Test

Test keyboard keys, inspect repeated inputs and review a local test summary. Get clear guidance on browser shortcuts and unregistered keys.

Device Tests Nothing uploaded No sign-up Free, unlimited
Device Tests tool
Press any key to begin — the test area is already listening. Press Escape twice to leave test mode.
In short Press each key inside the test area and it lights up the moment your browser receives it. For every key the test reports three separate things: key, the character your layout produces; code, the physical position on the board; and location, which tells a left Shift from a right one. A key held down makes the operating system repeat it, and those repeats are counted on their own line so they are never mistaken for switch chatter. A key that does not light up has not been proven faulty — browsers and operating systems keep some keys and shortcuts for themselves, and Fn-layer and media keys often never reach a web page at all. Everything runs in the tab, and the optional summary lists which keys registered, not what you typed.

How to use the Keyboard Test

  1. Click inside the test area. The status bar reads “Testing” while keys are being captured.
  2. Press every key once. Hold one or two down for a second to see auto-repeat logged separately from real presses.
  3. Read the result: the key, code and location of the last event, how many keys have registered, and which have not yet.
  4. Press Stop test, or Escape twice, to leave test mode — then download a summary if you want a record.

About the Keyboard Test

The Keyboard Test shows every key your browser receives, and it separates the three things people usually lump together as “the key works”: whether the key arrives at all, which physical key it is, and whether one press produced one event. It runs as plain JavaScript in the page — there is no upload, no install and no account.

How the test area works

Keys are captured only while the status bar says Testing and focus is inside the test area. Typing in the site search, pressing a button or tabbing through the page is left alone. Press Stop test, or Escape twice within a second, to leave test mode and get normal keyboard navigation back; Start test resumes where you left off, and Reset begins a new session. Tapping a key drawn on screen shows what it is, but that is a pointer event rather than a key event, so it is marked as a demonstration and never counted.

key and code are two different answers

Every keyboard event carries both. key is what your layout turns the press into; code is the physical position, named after a US keyboard, and it does not change when you switch language. location separates left, right and numpad copies of the same key. That is why the drawn keyboard lights up by position, and why a shortcut can work with one Ctrl and not the other.

You presskeycodelocation
Q on a US QWERTY boardqKeyQStandard
The same key on a French AZERTY boardaKeyQStandard
Left ShiftShiftShiftLeftLeft
Right ShiftShiftShiftRightRight
Enter on the number padEnterNumpadEnterNumpad
Numpad 1 with Num Lock offEndNumpad1Numpad

A held key repeats — that is not chatter

Hold a key and, after a short delay, your operating system starts sending it again and again. The browser marks each of those events as a repeat, and this test counts them separately from real presses. Chatter is different: one deliberate press that registers twice because a switch bounces. The test flags a key that registers again less than 60 milliseconds after its own release as a rapid re-press observation — worth repeating, not a verdict. The Key Chatter Test is built for that question.

Keys your browser never passes on

Some keys are taken before the page can see them, so a key that stays dark may be working perfectly.

  • Operating system shortcuts: Alt+Tab, Ctrl+Alt+Delete, Win+L, Cmd+Tab and Cmd+Space are handled by the system first.
  • Browser shortcuts: Ctrl+W or Cmd+W, Ctrl+T, Ctrl+N and, in many browsers, F11 act on the browser instead. The test leaves reload and developer tools alone on purpose.
  • Fn and layer keys: Fn never sends an event of its own — the keyboard resolves it internally and sends whatever key the layer produces.
  • Media, macro and brightness keys: often claimed by the operating system or the keyboard’s own software.
  • Print Screen: on some systems it arrives only as a release, or not at all.

A key that does not light up

Work through these before deciding the keyboard is at fault.

  1. Check the status bar says Testing, then click inside the test area and press the key again.
  2. Check for a lock or layer: Num Lock, Fn Lock and a gaming keyboard’s Windows-key lock all change what a key sends.
  3. Check accessibility settings. Windows Filter Keys and macOS Slow Keys can ignore brief or repeated presses on purpose.
  4. Try another browser, then another computer. A key that fails everywhere is the keyboard; a key that fails in one place is software.
  5. If a whole row or column is dark, suspect the keyboard’s wiring matrix or connector rather than one switch.

The guide Why a key does not register walks through each layer in order.

What stays on your device

Nothing you press is sent to a server or to analytics. The event log lives only in this tab and can be cleared at any time. The summary download is built on your device and lists which keys registered, how many presses and repeats there were, the most keys held at once and the limits of the test — not the order you pressed keys in, because an ordered log of keys is a record of whatever was typed.

Related checks

Where this tool stops

Media keys, Fn-layer keys, macro keys and anything the operating system intercepts before the browser never reach this page, so they cannot be tested here. Timing comes from browser events and is accurate to about a millisecond: good enough to separate repeats and spot rapid re-presses, not a measurement of switch bounce or of latency inside the keyboard.

Explained in our guides

All guides
Guide

Why a Key Does Not Register

A key press passes through seven layers before a page sees it, and only three of them travel with the…

Frequently asked questions

Why does a key light up in the wrong place?
The test reads the physical key position, not the printed letter, so a non-QWERTY layout will light the key that sits in that position on a US keyboard. That is correct behaviour — it means the test works the same on AZERTY, QWERTZ and Dvorak.
Some keys do nothing at all. Is my keyboard broken?
Not necessarily. Browsers keep a few combinations for themselves — F11, F12, Ctrl+W, Ctrl+T, Cmd+Q, Alt+Tab and the Windows key among them — and act on those instead of passing them to the page. Media keys, Fn-layer keys and macro keys usually never reach the browser either.
Is anything I type recorded?
No. The test runs entirely in your browser tab, keeps only which keys were pressed, and forgets even that when you close or reload the page. Nothing is sent to a server.
What is the difference between key and code?
key is the character or action your keyboard layout produces, so it changes when you switch language. code is the physical key position, named after a US layout, and it stays the same. The test lights keys by code and shows both.
Why does holding a key count lots of events?
After a short delay your operating system repeats a held key, and the browser marks each repeat. The test counts those as auto-repeat, separately from presses, because a repeating held key is normal and is not switch chatter.
How do I stop the test capturing my keys?
Press Stop test, or press Escape twice within a second. Keys are also ignored whenever focus is outside the test area, so the site search and the page's buttons always work normally.
Are there any usage caps on the Keyboard Test?
No charge and no sign-up. There is no free tier to run out of because there is no paid tier — inputtesthub.com is funded by advertising rather than by metering the tool.
Is my data uploaded anywhere?
No. The Keyboard Test runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
When would I actually need the Keyboard Test?
In practice it gets used for three things: checking a second-hand or refurbished keyboard before the return window closes. Working out whether a key that stopped typing is a hardware fault or a driver problem. Testing a new build after replacing switches or keycaps. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Keyboard Test cannot do?
Media keys, Fn-layer keys, macro keys and anything the operating system intercepts before the browser never reach this page, so they cannot be tested here. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Keyboard Test work from?
Keys shown is Full size (104), tenkeyless (87) or compact. Reads is KeyboardEvent key, code, location and repeat. Works offline is Yes, after the page loads. These are printed on the page itself, so you do not have to take them on trust.
Why does the test start on its own?
No installation, no extension and no driver. The Keyboard Test uses the browser's own device APIs and begins as soon as the page loads, so there is nothing to press first. Press Reset at any point to start over with a clean slate.

Related device tests tools

All 53
01

Online Keyboard Tester

A full-size keyboard tester that runs in the browser with nothing to install. Every key you…

02

TKL Keyboard Test

Tests a tenkeyless keyboard — the full layout minus the number pad — including the function…

03

60% Keyboard Test

Tests a compact 60% or 65% keyboard: the alphanumeric block, modifiers and arrows, without the…

04

Numpad Test

Tests every key on the number pad, including Num Lock, the operators and the separate Enter…

05

Arrow Key Test

Tests the four arrow keys on their own. Useful when only the direction keys have stopped…

06

Function Key Test

Tests the F1 to F12 row and shows which keys your browser intercepts before the page can see…

07

Modifier Key Test

Tests Shift, Ctrl, Alt, Meta, Caps Lock, Tab and Escape, telling the left and right versions…

08

Key Rollover Test (NKRO)

Measures how many keys your keyboard can register at once. Membrane boards usually stop at…

09

Keyboard Ghosting Test

Hold real gaming and typing combinations together and see whether every key arrives — or one…

10

Key Chatter Test

Finds switches that register twice from one press. Flags a key that registers again under 60…