Input keyboard input hardware

Keyboard Test

Verify every key press, including modifiers and special keys.

Category
Input
Difficulty
beginner
Est. duration
3 min
Reading time
4 min
Last updated
Tags
keyboard, input, hardware

Overview

About Keyboard Test

The DeviceHub Keyboard Test is a free online keyboard test that visualizes every key press inside your browser. There is no software to install. The page listens for standard keyboard events—keydown and keyup—and highlights matching keys on an on-screen layout, including function keys, modifiers, navigation cluster, arrow keys, and the space bar. It is a practical way to confirm that your physical keyboard is registering inputs correctly before gaming, coding, remote desktop work, or returning a defective unit.

Mechanical keyboard enthusiasts, laptop owners checking for stuck keys, help-desk technicians, competitive gamers verifying anti-ghosting behavior, and anyone cleaning a keyboard after a spill benefit from this tool. Because it runs in the browser, you can test a keyboard attached to any machine that opens the page—Windows, macOS, Linux, or ChromeOS—without administrator rights or vendor utilities. Schools and libraries appreciate that nothing needs to be installed on locked-down desktops.

To use the keyboard test, click anywhere on the page or the Start focus button so key events route to the tool. Press keys one at a time or in combinations. Each key lights up on the virtual board when detected and clears on release. A live log shows the physical code, printed character when applicable, and modifier state. Use Reset to clear history. The layout follows a standard US QWERTY reference; key codes come from the browser's KeyboardEvent API, which reflects the physical key rather than only the character produced. That distinction matters when diagnosing layout or language mismatches.

The test helps identify dead switches, repeating keys, modifier problems, and layout confusion when OS keyboard languages differ from the printed caps. If a key never highlights, the switch or membrane trace may be faulty. If a key appears stuck highlighted, debris or a damaged return spring may hold the contact closed. Modifier tests—Shift, Ctrl, Alt, Meta—are especially useful on laptops where compact layouts hide secondary functions. Rapid tapping on suspect keys exposes intermittent contacts that casual typing might miss.

Common problems include browser extensions intercepting shortcuts, remote desktop software swallowing certain combinations, wireless keyboards with low batteries causing missed events, and focus leaving the page so keystrokes go elsewhere. Click back into the test area if highlighting stops. Some browser shortcuts like F5 or Ctrl+W may trigger navigation; that is expected browser behavior outside the tool's control. Testing in a fresh profile or private window helps rule out extension conflicts without uninstalling anything.

No permissions are required for basic key detection, and DeviceHub does not transmit your keystrokes to a server. Event handling occurs locally in the page for display purposes only. Avoid typing passwords while testing on shared screens, as the log may show characters derived from key events. The tool never stores your input beyond what appears in the on-page log during your session.

DeviceHub builds input diagnostics that are fast, readable, and honest about browser limits. Pair the Keyboard Test with the Mouse Test for a full input check, or with Device Info when troubleshooting a new machine. If you want a reliable free online keyboard test with clear visual feedback and no download, DeviceHub is built for exactly that workflow. Run it after cleaning keys or before shipping hardware back to a vendor so you have a reproducible checklist. Because the page is static and lightweight, it opens quickly even on older hardware where native utilities feel sluggish.

Interactive tool

Run the test

Runs in your browser

Start capture, then press keys. Highlighted keys confirm the browser received the event.

Press Start key capture to begin.

Permission status

Checked in your browser. DeviceHub does not store permission grants.

  • Special permission Not required

Live results

Metrics update as you run the test. Nothing is uploaded.

Waiting for interactive tool output…

Device information

Labels and capability details reported by your browser.

No device details yet.

Compatibility

Supported browsers

Expected support for modern engines. Individual APIs may still vary by device.

  • Chrome

    supported

    Latest stable

  • Firefox

    supported

    Latest stable

  • Safari

    supported

    Latest stable

  • Edge

    supported

    Latest stable

Troubleshooting

Common problems

Quick fixes before you dig into FAQs.

Some keys do not register
Try another browser, disable conflicting extensions, and retest to separate OS/hardware issues from site issues.

FAQ

Frequently asked questions

Structured answers for users and FAQ rich results.

Browse FAQs
Does the keyboard test work on mobile?
Physical keyboards work best. On-screen mobile keyboards may not expose the same keydown/keyup events as hardware keys.
Do I need to install anything?
No. The tester listens for standard browser keyboard events with no downloads or drivers.
Why do some keys not light up?
Browser shortcuts, OS hotkeys, or stuck hardware can prevent events from reaching the page. Try another browser and compare results.
Can I test Ctrl, Alt, and Windows/Command keys?
Yes. Modifier keys are highlighted when the browser reports them. Some OS-reserved combinations never reach web pages.
Is my typing sent to a server?
No. Key events are handled locally in the page to update the visual board and log. Nothing is uploaded.
Does layout matter (QWERTY vs AZERTY)?
The on-screen board is a US QWERTY reference. Detection uses physical key codes, which helps diagnose layout mismatches.

Need another diagnostic after Keyboard Test?

Explore related DeviceHub tools that pair well with this test.