Free 100% In-Browser Tool

Keyboard Tester: Check Every Key on Your Keyboard Online

Check keyboard keys, test anti-ghosting rollover, and diagnose stuck or unresponsive switches with a live interactive virtual keyboard.

Quick Answer:Press any key on your physical keyboard. The corresponding virtual key illuminates on screen, confirming switch functionality and displaying event codes.
Initializing tool...

Privacy First: 100% Client-Side Processing

Processed in your browser. Files are never uploaded.

How to Use the Keyboard Tester: Test Keyboard Keys Online Free

  1. 1Click anywhere on the keyboard testing area to ensure the browser has active focus.
  2. 2Press each key on your physical keyboard systematically across all rows.
  3. 3Observe keys lighting up in blue (actively held) and green (verified working).
  4. 4Press multiple keys together (e.g. W+A+S+D+Space) to test N-key rollover and anti-ghosting.

Formula & How It Works

W3C KeyboardEvent Diagnostics

Key Event: { code: event.code, key: event.key, repeat: event.repeat }

Reads raw physical hardware key scancodes using event.code and logical glyphs via event.key. Source: W3C UI Events Specification.

Worked Examples

Testing Spacebar Actuation

Input: User presses the spacebar

Explanation: Confirms spacebar switch actuation and debounce signal.

Result: Virtual Space key lights up blue; event.code: 'Space', event.key: ' '

Testing Anti-Ghosting Multi-Key Rollover

Input: User presses 'Q', 'W', 'E', and 'R' simultaneously

Explanation: Verifies the keyboard controller supports multi-key rollover without ghosting.

Result: All 4 keys light up simultaneously without blocking

Diagnosing a Dead Switch

Input: User presses physical 'F7' key repeatedly

Explanation: Identifies a dead mechanical switch, broken trace, or loose solder joint.

Result: No visual illumination, 0 key events registered

Frequently Asked Questions

Can this keyboard tester detect hardware ghosting?▼

Yes. By holding down 3 or more keys at the same time, you can see if all of them light up. Cheap keyboards often block third keystrokes due to matrix sharing.

Why does the Windows or Command key sometimes not stay lit?▼

Operating systems capture system-level keys (like the Windows Start key or macOS Command key) at the kernel level, which can prevent the browser from receiving keyup events.

Does this tester work with wireless and Bluetooth keyboards?▼

Yes. Any keyboard recognized by your operating system as an input device will trigger events identically in the browser.

Can I test laptop keyboards with this tool?▼

Absolutely. All standard laptop keys (including Fn row keys when pressed in standard mode) can be verified on screen.

Are my keystrokes logged or saved anywhere?▼

Never. The keystrokes are processed locally in your browser's memory solely to toggle CSS classes on virtual keys. No input is saved or transmitted.

How do I clear the tested keys to start over?▼

Click the 'Reset State' button in the top right corner to reset all virtual keys back to their unverified default state.

Quick Reference & Conversion Table

Key CategoryKey Codes TestedStandard Function
Function RowEscape, F1 – F12System shortcuts and application macros
AlphanumericKeyA – KeyZ, Digit0 – Digit9Standard typographical writing keys
ModifiersShift, Ctrl, Alt, Meta (Win/Cmd)Combination hotkeys and capitalization
NavigationArrows, Home, End, PgUp, PgDnDocument navigation and pointer steering
WhitespaceSpace, Tab, Enter, BackspaceText spacing and line feed controls

⚠️ Common Pitfalls to Avoid

  • •Expecting OS-intercepted system hotkeys (like F11 fullscreen or Windows key) to register completely in JavaScript.
  • •Forgetting to click the browser window first, resulting in keystrokes being captured by another background app.
  • •Assuming a membrane keyboard with 2-key rollover is broken when it fails complex 6-key rollover combinations.

💡 Practical Real-World Uses

  • •Testing newly purchased or freshly built custom mechanical keyboards for switch faults.
  • •Diagnosing spilled liquid damage or stuck keys on laptop keyboards.
  • •Checking gaming keyboard anti-ghosting matrices before competitive esports tournaments.
Last reviewed & updated: 2026-11-07
Free & Open Access
Related Utilities

Explore complementary calculators and converters with instant client-side execution

More in Device Tests

Explore Other Tool Categories

Browse our full collection of 50 free web utilities

View All 8 Categories