How to Test a Keyboard: Step-by-Step Guide

Updated November 2026 · 6 min read

A keyboard rarely fails all at once. A single key starts missing presses, another types twice, and you only notice when a password fails or a game input drops. Testing the whole board takes about two minutes and tells you whether the problem is the keyboard, the connection or your software. This guide walks through the process and explains what to do with the result.

Before you start

  • Use a wired connection if you can. Bluetooth and 2.4 GHz receivers add interference and battery issues that look like key faults.
  • Close other programs that remap keys, such as macro tools, AutoHotkey scripts and gaming overlays.
  • Check the basics: unplug and replug the keyboard, or replace the batteries in a wireless one.

Step 1: Run a full key test

Open the online keyboard tester and click the page once. Press every key in turn. Each one lights up while held and stays marked as tested afterwards. Work row by row, from Esc and the function keys down to the space bar and arrows, so you do not skip any. Remember to use the number pad if your keyboard has one.

Keys that never register fall into two groups:

  • Hardware faults: a worn switch, a dirty contact, a broken solder joint or a damaged trace.
  • Keys the browser cannot see: Fn, media keys, brightness and many laptop shortcut keys are handled by the keyboard firmware and do not send standard key events.

Step 2: Check the key and code values

The input log under the keyboard shows two values for each press: key (the character produced) and code (the physical position). If you press the letter A and see a different code, a remapping tool or the wrong keyboard layout is active. If key is wrong but code is right, the layout setting is the cause, not the hardware.

Step 3: Look for sticky and repeating keys

Hold a key down briefly and let go. If the key stays highlighted after release, it is physically sticking, usually because of spilled liquid or dust. If one tap logs two key-down events, the switch is chattering. Chatter is common on older mechanical switches and cheap membrane domes.

Step 4: Test several keys at once

Hold three or more keys together, then add more. Missing highlights point to ghosting or limited rollover. We explain the difference in our ghosting and N-key rollover guide.

Fixing common problems

SymptomLikely causeWhat to try
One key never registersDirt or a failed switchBlow out dust with compressed air, press the key repeatedly, then re-test. On mechanical boards, swap the switch or keycap.
A key types twiceSwitch chatterClean the switch with isopropyl alcohol, or replace it.
A whole row or column is deadBroken matrix trace or loose ribbon cableReseat internal cables on laptops; check the warranty before opening.
Wrong characters appearWrong layout or language settingSwitch the input language in your operating system.
Random keys fire after a spillLiquid on the circuit boardUnplug immediately, dry the board upside down for at least 48 hours and clean it with isopropyl alcohol.
Keys miss presses only wirelesslyBattery or interferenceReplace batteries, move the receiver closer, or use a cable.

Cleaning a keyboard safely

  1. Unplug the keyboard or turn it off and remove the batteries.
  2. Turn it upside down and shake out loose debris.
  3. Use short bursts of compressed air between the keys.
  4. Wipe the keycaps with a cloth lightly dampened with isopropyl alcohol.
  5. On mechanical keyboards, a keycap puller lets you lift the caps and clean underneath.

When to replace the keyboard

Replace it when several keys fail, when the fault spreads after cleaning, or when a repair costs more than a basic new board. For laptops, a failed built-in keyboard can usually be bypassed with an external USB keyboard while you arrange a repair.

Frequently asked questions

Why is a key not lighting up in the tester?

It may be dead or dirty, or the operating system or keyboard software may be capturing it. Keys like Fn are processed inside the keyboard itself and never reach the browser. On Windows, Print Screen may only report a key release.

Is my typing recorded?

No. Everything happens locally in your browser. Key presses are never stored or sent anywhere. See the privacy policy.

Does it work with mechanical, laptop and wireless keyboards?

Yes. Any keyboard the operating system recognizes works. The tester reads the physical key position (event.code), so layout does not matter.

Why do I see fewer keys than my keyboard has?

The on-screen layout is a standard 104-key ANSI keyboard without Fn. Extra media keys and macro keys appear in the input log only if the browser reports them.

Related guides

Start the keyboard test