Skip to main content
100% private — runs in your browser

Keyboard Tester

Test keyboard keys, key codes, and modifiers in real time.

Press any key

Click here and press keys on your keyboard. Events are captured locally in this page.

Waiting for key press…

Unique keys pressed: 0

Recent keys

No keys pressed yet.

Pressed keys map

—

How to use Keyboard Tester

  1. Focus the tester

    Click the test area so the page can receive key events.

  2. Press keys

    Press keys on your keyboard to see their details and history.

  3. Review the map

    Check the pressed-keys map to identify keys that were or were not detected.

Frequently asked questions

Why is a key not detected?

It may be captured by the OS/browser, the page may not be focused, or there could be a hardware issue. Try focusing the area and testing in another context.

What is the difference between key and code?

"key" is the produced value/character, while "code" represents the physical key position on the keyboard.

Is what I type recorded anywhere?

No. Events are handled locally for display in this session and are not uploaded.

Can it test function or media keys?

Many function/media keys work, but some are handled at the system level and may not reach the browser.

Does it work on mobile?

It is designed for physical keyboards; on-screen keyboards may report limited or different key events.

About Keyboard Tester

The Keyboard Tester helps you check whether your keyboard keys register correctly. Press any key to see its key value, physical code, location, and modifier state in real time, and view a history and map of pressed keys. This is useful for diagnosing stuck keys, missing inputs, or layout issues. All detection happens locally in your browser.

Key, code, and modifiers

Modern browsers report both a logical key (what character/action the key represents) and a physical code (which key on the keyboard was pressed). The tester displays these along with modifier keys (Ctrl, Alt, Shift, Meta), repeat state, and key location. This distinction helps debug layout differences, numpad behavior, and cases where the produced character differs from the expected physical key.

Testing and troubleshooting

To test effectively, click the test area so it has focus, then press each key and watch for a response. The pressed-keys map highlights keys detected during the session, making it easier to spot keys that never register. If a key does not appear, try another browser or application to rule out OS or hardware issues, and check for debris or hardware faults.

Local and safe

Key events are captured within the page for display only and are not transmitted or stored remotely. Some system-level shortcuts may be intercepted by the operating system or browser and cannot be observed by a web page. For most standard keys, however, this tool provides immediate, useful feedback for quick keyboard checks.

Use Keyboard Tester on your site

This tool runs free and private in the browser. Paste it anywhere — blog posts, documentation, team wikis — and your visitors will use it without leaving your site. The embed includes a small "Made with The Tools Today" credit link.

Open the tool page →

Your privacy, your choice

We use cookies to understand how the site is used and to show relevant ads. Every tool on this site runs entirely in your browser, so the files and text you process are never uploaded. Read our privacy policy.