A keyboard tester on a laptop is a browser-based diagnostic that lights up an on-screen key when the matching physical key is pressed.
Open the Keyboard Tester, focus its QWERTY display, and press the laptop keys one at a time. Each key that reaches the browser lights on screen and remains marked as tested, making it easy to identify keys that never respond. It works in modern browsers on laptops and desktops running Windows, macOS, or Linux, as well as Chromebooks, with no install, sign-up, or extension. Key detection happens locally, and the page does not record, store, or transmit what you type.

What a browser-based laptop keyboard test can check
A laptop keyboard can develop faults that are difficult to describe from ordinary typing. One letter may stop appearing, a key may repeat, a key may remain active after release, or several keys may work separately but fail when pressed together. A browser-based test separates these symptoms by showing whether the browser receives an event, which physical position generated it, and how the current layout interprets it.
This is a software-level check of keyboard events, not proof that every laptop function works at the hardware level. The tester can see standard keys reported by the browser, including letters, numbers, symbols, function keys, Shift, Ctrl, Alt, Meta, the arrow keys, Space, Tab, Enter, Backspace, and Escape. Some laptop Fn combinations, media keys, and lock keys are handled by the operating system or hardware before the browser sees them. If one of those keys stays dark, that result alone does not prove a broken keyboard.
While a physical key is held, its matching on-screen button glows. After the press, the button remains marked as tested. Those states serve different purposes: normal active glow during a hold confirms a live event, while continued highlighting after release can indicate a sticky or stuck switch.
Run a complete laptop keyboard test
- Open the tester in your browser, then click or tab into the on-screen keyboard so it becomes active and starts capturing your key presses.
- Press each physical laptop key one at a time. Watch the matching on-screen key light up while held and remain marked after you release it.
- Read the last-key panel after each press to check the key, code, and keyCode values reported for that key.
- Finish the pass by looking for on-screen keys that never lit up even though you pressed them. Those keys are likely dead or failing.
- Click Reset to clear all tested marks and the last-key readout when you want to begin a fresh test pass.
During the focused test, keys that could otherwise scroll or navigate the page are held in place, so your session is not interrupted. You can leave the focused area by clicking away or pressing Escape.
A general one-key-at-a-time pass gives the best baseline. After that, repeat individual keys that behaved strangely and then test any relevant combinations. Use Reset between passes when you want a clean view, such as after cleaning under a troublesome key or changing a layout or remapping.
Read the key, code, and keyCode
The last-key panel provides more information than a simple light or dark indicator. A keyboard event can be understood in three distinct ways, and each value answers a different troubleshooting question.
| Value | What it represents | Why it is useful |
|---|---|---|
| key | The character or key name, such as a, Enter, or ArrowUp. It can change with modifiers and the active layout. | Shows what the current keyboard configuration produces. |
| code | The fixed physical position of the key, such as KeyA or Space. It stays the same across language layouts. | Identifies which physical key location generated the event. |
| keyCode | An older numeric identifier retained for compatibility with software and games that still rely on it. | Helps when checking input expected by legacy software. |
For example, if the physical A position reports the code KeyA but the key value is not the character expected under the current layout, the issue points toward layout or remapping rather than a failed A switch. A key that produces no event at all is a different case because focus, shortcut interception, and physical failure remain possible causes. See how key, code, and keyCode differ in keyboard tests for a closer explanation of each readout.
Distinguish dead, sticky, and ghosting laptop keys
A missed key during a normal pass is not always the same problem as a key that fails only in a combination. Sort each observation into a symptom category before deciding what to do next.
| What you observe | Possible explanation | Next check |
|---|---|---|
| The key stays dark after a press | The tester may not have focus, the key may be dead, dirty, or disconnected, or a shortcut may have intercepted the event. | Confirm focus and compare the key in a plain text field. |
| The key remains actively highlighted after release | A sticky or stuck key may be holding the input active. | Release it fully, clean it if accessible, and retest. |
| One tap produces repeated input | The switch may be chattering. | Use deliberate single taps and note whether the input repeats. |
| The key produces an unexpected character | The layout or key remapping may be misconfigured. | Compare the key value with the physical code before treating it as hardware damage. |
| The key works alone but disappears in a combination | The behavior is consistent with a rollover or ghosting issue. |
For suspected ghosting, establish a baseline before holding multiple keys:
- Test each key involved in the problem by itself.
- Hold the relevant keys down together.
- Watch which on-screen keys register; if one vanishes while the others remain active, the result points to rollover or ghosting.
- Release the keys, click Reset, and repeat the combination to confirm the pattern.
A key that stays highlighted after release suggests a sticky or stuck key, while repeated firing from one tap suggests chatter. Both can point to a mechanical or switch problem worth cleaning or repairing. An unexpected character is different: it may reflect layout or remapping rather than broken hardware.
Handle laptop keys the browser cannot see
A dark on-screen key does not automatically mean that the laptop key is broken. Follow this sequence when one key fails to respond:
- Click or tab back into the on-screen keyboard to confirm that it is active.
- Press the same key in a plain text field and compare whether the operating system delivers its normal action.
- If the text field behaves normally, return focus to the tester and try again. If the key also fails there, it may be dead, dirty, disconnected, or intercepted by an operating-system or global shortcut.
- Remember that some Fn combinations, media keys, and lock keys are handled before the browser receives them. Those keys may never register in the tester, which is a browser and operating-system limitation rather than proof of a hardware fault.
When a browser-level check cannot reach a key, testing the keyboard in BIOS without special software offers a separate troubleshooting layer. This does not change the browser tester's limitation: a key that never reaches the browser cannot light up on its QWERTY display.
Record findings for support or a return
When checking a used or refurbished laptop, complete the test before the return window closes. For a support request, write down the exact key labels and the behavior you observed. A useful note has four parts: the key, what happened, whether it failed alone or in a combination, and the expected versus actual result.
For example, “A: no on-screen response when pressed alone” is more actionable than “the keyboard sometimes skips.” For an unexpected character, note the active layout and any modifier held at the time. For a suspected rollover issue, record the exact combination and which key disappeared. This separates configuration concerns from physical failures and gives support a clearer starting point.
All key detection runs locally in your browser. Nothing you press is recorded, stored, or uploaded, and closing or refreshing the page removes the session. Clicking Reset clears the tested marks and last-key readout, leaving you ready for another pass.