Skip to content
← All tools

Keyboard Tester

Test every key on your keyboard in the browser. Press keys to see them light up, spot dead or stuck keys, and check N-key rollout (how many keys register at once).

This keyboard tester reacts to the actual key events your browser receives, so it shows what your computer really registers, not what is printed on the keycaps. Press any key and it lights up; it turns green once it has registered at least once, so a key that never changes colour is a dead or disconnected one. Hold several keys together to test rollover (how many simultaneous presses your keyboard reports). Below: how to read the results, what the event.code and keyCode values mean, and how to tell a hardware fault from a software one.

How to test your keyboard

Click anywhere on this page so it has focus, then press every key in turn. Each key on the on-screen layout highlights while it is held and stays green afterwards, so you can sweep the whole keyboard and instantly see which keys never lit up. The panel at the top shows the last key you pressed, its event.code, its legacy keyCode, how many distinct keys you have tested, and the most keys you have held at once. Nothing is uploaded, all of it runs in your browser.

Finding a dead, stuck, or chattering key

  • Dead key, press it and nothing lights up. The key does not register at all. If a cluster of keys is dead together, suspect the cable, a connector, or a spilled liquid shorting a row/column rather than each switch failing.
  • Stuck key, a key shows as held down when you are not touching it, or stays green-highlighted. Usually debris under the keycap or a failing switch.
  • Chattering key, one press registers as two or more. Hard to see here directly, but if a key feels like it double-types in normal use, that is switch bounce.

What is key rollover and ghosting?

N-key rollover (NKRO) is how many keys your keyboard can report pressed at the same time. Cheap membrane keyboards often cap at 2-3 simultaneous keys on some combinations; gaming keyboards advertise 6-key or full N-key rollover. Hold a handful of keys at once and watch the "max keys at once" counter, if it stops rising before the number of keys you are actually holding, you have hit your keyboard's limit.

Ghosting is the related failure where a combination registers a key you never pressed, or silently drops one. It matters most in games where you hold several movement and action keys together. This tester surfaces the ceiling; the exact blocked combinations depend on the keyboard's wiring matrix.

event.code vs keyCode vs key

event.code is the physical key's identity, KeyA is the key where A sits on a US layout, no matter which character it produces. It is the right value for testing hardware, which is why this tool keys off it. event.key is the character produced ("a", "A", or a different letter on another layout). keyCode is the old, deprecated numeric code kept for backward compatibility. If code changes correctly as you move across the keyboard, the hardware is fine even when a remapping tool is changing the character.

Hardware fault or software problem?

If a key is dead here, test it in a plain text field too. Dead in both, on more than one computer, points to hardware. Working here but wrong in an app usually means a software cause: the wrong keyboard layout selected in the OS, a remapping utility, Sticky/Filter Keys in the accessibility settings, or a stuck modifier. Because this page reads the raw browser event before most apps interfere, it is a quick way to split the two.

Common questions

How do I test my keyboard online?
Click this page so it has focus, then press each key. Every key on the on-screen layout lights up while held and turns green once it registers, so any key that never changes colour is dead. The top panel shows the last key, its event.code and keyCode, how many keys you have tested, and your maximum simultaneous presses. Nothing is uploaded.
Why is one key not showing up?
If a key never lights up here, it is not registering at all — likely a dead switch, debris under the keycap, or a cable/connector fault. Test it in a plain text field and on another computer: dead everywhere means hardware; working here but wrong in an app usually means a software cause like the wrong OS keyboard layout or a remapping tool.
What is N-key rollover and ghosting?
N-key rollover is how many keys your keyboard can report pressed at once. Hold several keys and watch the 'max keys at once' counter; if it stops rising before the number you are holding, you have hit the keyboard's limit. Ghosting is when a combination registers a key you never pressed or drops one. Cheap membrane keyboards limit this; gaming keyboards advertise 6-key or full N-key rollover.
What is the difference between event.code and keyCode?
event.code identifies the physical key (KeyA is where A sits on a US layout, whatever character it produces) and is the right value for testing hardware. event.key is the character produced. keyCode is the old deprecated numeric code. If code changes correctly as you move across the keyboard, the hardware is fine even if a remapping tool changes the character.

Also Check These Tools

🌐What Is My IPInstantly see your public IPv4 and/or IPv6 address with ISP, city, and country details.→📡What Is My ISPSee which Internet Service Provider (ISP) or organization is associated with your public IP and connection.→🔷What Is My DNSLook up public DNS A and AAAA records using Cloudflare DNS over HTTPS, with honest labeling about resolvers.→📶Ping & Latency TestMeasure HTTPS round-trip time from your browser to this site—a practical “ping” when ICMP is not available in the web sandbox.→🛜What Is My Network TypeDetect whether you are on Wi-Fi, cellular, or ethernet, with effective speed class and estimated bandwidth from the Network Information API.→🔐What Is My VPN / Am I Leaking?Compare your HTTP-visible public IP with WebRTC ICE reflexive addresses to spot possible IP leaks, plus plain-language DNS leak context.→⚡Internet Speed TestTest your download and upload speeds with a fast, accurate in-browser speed test.→🖥️What Is My BrowserDetect your browser name, version, engine, and operating system in one click.→🔍What Is My User AgentSee the full user agent string your browser sends to websites and servers.→🍪What Is My Cookie / Tracking StatusSee whether first-party cookies and web storage work, what DNT/GPC report, and visible cookie surface—plus honest limits for HttpOnly and cross-site tracking.→📐What Is My Screen ResolutionCheck your screen resolution, color depth, pixel ratio, and viewport size.→🎮What Is My WebGL / GPUDetect your GPU renderer, vendor, WebGL version, and key graphics capabilities directly from your browser — no plugins required.→📍What Is My LocationDiscover your approximate location based on your IP address including city and country.→🕐What Is My TimezoneFind your current timezone, UTC offset, and local time with DST status.→🎞️What Is My Refresh RateMeasure your monitor’s real refresh rate (Hz) live in the browser — see whether 60, 120, 144 or 240 Hz is actually active, with frame-time stability.→🔌Open Port CheckerCheck which TCP ports are open, closed, or filtered on your public IP address — no software needed.→🚦ISP Throttling TestCheck whether your ISP is slowing video: compares download speed to Netflix’s servers against generic servers and says whether it looks like shaping or congestion.→✉️Email Header AnalyzerTrace an email's delivery path and check SPF, DKIM and DMARC. Headers are parsed in your browser, never uploaded.→👻Invisible Character DetectorFind and remove zero-width characters, unusual spaces and hidden Unicode in any text. Checked in your browser.→🎬Video File InspectorRead a video file's codec, resolution, duration and bitrate without uploading it. The file never leaves your browser.→🔐Password Breach CheckCheck whether a password appears in known data breaches. It is hashed in your browser and never sent anywhere.→📋Connection ReportRun every network, browser and device check at once and copy one plain-text summary into a support ticket.→🔀CGNAT TestFind out whether your ISP puts you behind carrier-grade NAT — the usual reason a forwarded port stays unreachable.→🖱️CPS Test — Click Speed TestMeasure your click speed (clicks per second) in a timed test. Pick a duration, click as fast as you can, and see your CPS with a rank and personal best.→␣Spacebar Counter — Spacebar Speed TestCount how many times you can press the Spacebar in a timed test. See presses per second, a rank, and your saved personal best.→🖱️Mouse Test — Buttons, Scroll & Double-ClickTest your mouse in the browser: check left, middle and right buttons, the scroll wheel in both directions, and spot a worn button that double-clicks on its own.→🎮Gamepad TesterTest your game controller in the browser. Press buttons and move the sticks to see every input, axis value, and D-pad register live, and check vibration.→📷Webcam TestTest your webcam in the browser with a live preview, resolution and frame rate, and a camera picker. Nothing is recorded or uploaded.→🎤Mic Test — Microphone TestTest your microphone in the browser with a live level meter. Speak and watch the bar move to confirm your mic works. Nothing is recorded or uploaded.→🖥️Dead Pixel TestCheck your screen for dead or stuck pixels. Fill the display with solid red, green, blue, white and black in full screen and spot any dot that does not match.→