⌨️ Keyboard Test
Test all your keyboard keys, detect ghosting, and check key rollover. Press any key to highlight it and ensure your keyboard works perfectly!
📱 On a phone or tablet: this test reads a physical keyboard. Connect a USB or Bluetooth keyboard to test it. Tapping the keys on screen does not register a key press, and your phone's touch keyboard cannot be used here.
Currently Pressed Keys
Press keys to see them here…
ID
🔍 Real-Time Key Detection
⚠️ Browser-based detection: the browser reports key events from the OS, which already applies some filtering. This shows the effective rollover of your full hardware+OS+browser stack — not raw hardware limits.
🎮 Rollover Stress Test
Guided combo testing — hold each key combination as prompted. Results show what your hardware+OS+browser reports simultaneously.
This test guides you through 8 predefined key combinations. Each combo advances only when you hold all required keys simultaneously — there is no fixed timer. A 12-second safety timeout handles the rare case where a key cannot be reached.
Press and HOLD all highlighted keys simultaneously:
🧠 Smart Keyboard Diagnostic
⚠️ Pattern-based browser inference only — not hardware-level detection. Results are estimates to guide troubleshooting.
How to Use
- Press any key on your physical keyboard to highlight it on the visual layout
- Keys turn green once tested — aim to test all keys
- Hold multiple keys at once to measure your rollover capability
- Use the Rollover Stress Test for guided combo testing
- Run the Smart Diagnostic to see patterns and troubleshooting tips
- Click "Reset All Keys" to start over
Detects mechanical switch bounce: rapid keydown events firing within milliseconds of the previous keyup on the same key. Adjust the threshold to tune sensitivity.
No chatter detected. Press and release keys rapidly — bounce events under the threshold appear here.
Records keydown→keyup duration per key. High standard deviation may indicate a sticky or inconsistent switch. Click column headers to sort.
Press and release keys to build timing data…
| Key | Count | Avg (ms) | Min (ms) | Max (ms) | Std Dev | Avg Bar |
|---|
Hold any key for 3 seconds after clicking Start. Uses median-interval analysis of browser repeat events to estimate OS key-repeat delivery rate.
⚠ Measures OS + browser key-repeat delivery rate. Raw hardware polling rate (125Hz–8000Hz) is not accessible from JavaScript.
Real-time keyboard event stream. Circular buffer (200 entries max). Timestamps are ms since page load.
Overlays press-frequency colors on the keyboard visual. Green = low frequency, yellow = moderate, red = highest. Data persists across resets.
Exports full session snapshot: key coverage, rollover results, stress test scores, and diagnostics. JSON uses a stable schema for external tooling.
Tracks WPM, keystrokes per minute, and character frequency in freestyle mode. Press Start, type naturally for any duration, then Stop to see your profile.
Live canvas bar chart of press counts per key, grouped by type. Bars update in real-time. Hover over bars to see exact counts.
Press keys to populate the histogram…
Measures time between consecutive keydown events. Reveals which key-pairs you transition fastest and slowest — useful for typing training and switch characterization. Needs 5+ presses per pair to appear.
Type sequences of keys to build transition data — at least 20 presses needed for meaningful results.
Synthesizes data from all diagnostic modules — timing patterns, rollover, chatter, repeat rate — to estimate your keyboard's likely switch technology. Run after extensive testing for best accuracy.
Real-time canvas timeline. Each lane = one key. Horizontal bars show press duration. Time flows left→right; newest events on the right edge. Scrolls automatically.
Start recording, then press keys to see the timeline.
Real rollover detection — compares expected vs. detected keys per combo. Classifies 1KRO → 2KRO → 3KRO → 6KRO → NKRO. Press ▶ Run Test, then hold each highlighted combo simultaneously. The test auto-captures the moment all required keys are detected — no button press needed.
Automatically cycles through 2-key → 10-key combinations using simulated key events to measure your keyboard's rollover ceiling. No physical key presses required — press ▶ Start to begin.
Fires 1,000 → 50,000 synthetic key events to measure dropped events, UI rendering lag, and event pipeline throughput under load.
Tracks which key pairs you press simultaneously, building a co-occurrence map via pairCounts[keyA:keyB]++. Useful for ergonomic analysis and identifying your most-used key combos. Enable the overlay to color keys by combination frequency. Note: true hardware ghosting (phantom keys from matrix design) cannot be detected from JavaScript — it would require comparing expected vs. received keys during a prompted test.
Measures browser queue latency using KeyboardEvent.timeStamp vs performance.now(). This reflects JS scheduling overhead (typically 0.1–5 ms), not hardware latency. Values are identical across all keyboards on the same machine — this measures your browser's event pipeline, not your keyboard. Computes average, min, max, and jitter in ms. Sparkline shows recent trend.
Measures the rate at which the browser dispatches keydown events by sampling intervals between rapid key presses. This reflects OS + browser event pipeline throughput, not raw USB hardware polling rate (which is not accessible from JavaScript). Type quickly to accumulate samples.
ℹ This measures keystroke cadence (keystrokes per second) — how fast you type — not USB hardware polling rate. True polling rate (125–8000 Hz) requires firmware-level tools (e.g. HWiNFO64). To estimate polling-rate proxy, hold one key and use the Repeat Rate Engine above.
Flags two presses of the same key within 30ms as potential switch bounce. Bouncing switches cause double-inputs, ghost keystrokes, and game misfires. Adjust threshold to tune sensitivity.
Tracks Shift, Ctrl, Alt, and Meta. Detects logical modifier lock errors — if a modifier stays active >3s after keyup, it's flagged as potentially stuck. Flashing red = stuck state.
Analyzes tested vs. untested key patterns to detect row/column matrix failures. Identifies silent clusters (entire row or 60%+ of a zone) and suggests failure modes. Test as many keys as possible first for best results.
Measures typing rhythm consistency via standard deviation of inter-key intervals. Lower CV% = more even rhythm. Rated Elite / Excellent / Good / Unstable. Note: this measures your typing cadence, not hardware jitter.
Live view of pressed keys, simultaneous count, detected rollover level, and modifier state. Updates on every key event with zero lag.
Measures inter-keydown intervals during rapid typing to characterize your typing rhythm. Type keys quickly and repeatedly to accumulate samples. Rolling window of 100 events. Note: This measures typing speed, not keyboard hardware latency — true hardware latency requires firmware-level tools.
🎮 Related Tools
Pair your keyboard test with our typing speed test and spacebar counter for complete input benchmarking.
WPM and accuracy benchmark
Measure spacebar CPS speed
Key endurance and hold duration
Mouse scroll wheel benchmark
Mouse button double-register check
Measure gaming reflexes in ms
FPS aim and precision training
All hardware & device tests
Browse all tools
⌨️ Keyboard Test – Check All Keys & Detect Ghosting
Welcome to the Keyboard Test – a free online tool to test all your keyboard keys, detect ghosting, and verify key rollover functionality.
Whether you're testing a new keyboard, diagnosing issues, or checking gaming keyboard performance, this tool provides instant visual feedback for every key press.
Perfect for gamers, programmers, and anyone who wants to ensure their keyboard is working perfectly.
⌨️ What is a Keyboard Test?
A keyboard test is a diagnostic tool that verifies each key on your keyboard registers correctly when pressed. It helps identify:
- Dead keys: Keys that don't respond
- Stuck keys: Keys that register continuously
- Ghosting: Key combinations that don't register
- Key rollover: How many simultaneous keys work
- Double inputs: Keys that register twice per press — similar to what our double click test detects for mouse buttons
👻 What is Keyboard Ghosting?
Ghosting occurs when pressing multiple keys simultaneously causes some keys to not register. This happens due to keyboard matrix limitations.
How Ghosting Works
Most keyboards use a grid (matrix) to detect keys. When certain combinations of keys are pressed, the keyboard can't distinguish which keys are actually down, causing some inputs to be "ghosted" (ignored).
Example of Ghosting
In many budget keyboards, pressing W + D + Space simultaneously might fail to register the Space key, which is problematic for gaming.
🎮 N-Key Rollover (NKRO) Explained
| Rollover Type | Simultaneous Keys | Best For |
|---|---|---|
| 2-Key Rollover | 2 keys + modifiers | Basic typing |
| 6-Key Rollover | 6 keys + modifiers | General use, casual gaming |
| 10-Key Rollover | 10 keys simultaneously | Gaming, advanced typing |
| NKRO (Full) | All keys simultaneously | Professional gaming, complex macros |
N-Key Rollover (NKRO) means the keyboard can register N keys simultaneously without ghosting. True NKRO keyboards register every key independently.
🔍 How to Test for Ghosting
Follow these steps to test your keyboard for ghosting:
1️⃣ Test Common Gaming Combinations
Press W + A + Space (common in FPS games). If all three register, test W + D + Shift.
2️⃣ Test Multiple Keys
Press 3-4 keys in different areas simultaneously. Watch the "Currently Pressed Keys" section to see if all register.
3️⃣ Test Modifier Keys
Try Ctrl + Shift + Alt + a letter key. Modifier keys usually don't cause ghosting but verify anyway.
4️⃣ Test Arrow Keys
Arrow keys often have separate circuits. Test them with other keys you use in games.
💡 Common Keyboard Problems
Dead Keys
Symptoms: Key doesn't respond at all
Causes: Physical damage, debris under keycap, broken switch
Fix: Clean under keycap, test with keycap removed, replace switch if mechanical
Stuck Keys
Symptoms: Key registers continuously without being pressed
Causes: Debris, liquid damage, broken membrane
Fix: Clean thoroughly, let dry if wet, may need replacement
Double Typing
Symptoms: Single press registers as two characters
Causes: Switch bounce (mechanical), worn membrane contacts
Fix: Adjust debounce settings (software), replace switch
Intermittent Response
Symptoms: Key works sometimes, fails other times
Causes: Loose connection, oxidized contacts, failing switch
Fix: Reconnect cable, clean contacts, replace switch
🎮 Best Keyboards for Gaming
Mechanical Keyboards
Mechanical keyboards use individual switches for each key, providing:
- Better tactile feedback
- Longer lifespan (50-100 million presses)
- Customizable switches
- Usually better anti-ghosting
- NKRO support (via USB with PS/2 adapter or native)
Membrane Keyboards
Membrane keyboards use a rubber dome and pressure pad:
- Quieter operation
- Lower cost
- Often limited to 2-6 key rollover
- Shorter lifespan (5-10 million presses)
- More prone to ghosting
Optical Keyboards
Use light-based switches instead of mechanical contacts:
- Faster response (0.2ms vs 1-3ms)
- No debounce delay
- Longer lifespan (100+ million presses)
- No contact wear
- Premium price point
🛠️ Keyboard Maintenance Tips
Regular Cleaning
- Turn keyboard upside down and shake gently weekly
- Use compressed air between keys monthly
- Remove keycaps and clean thoroughly every 3-6 months
- Use isopropyl alcohol (90%+) for stubborn residue
Preventive Care
- Don't eat or drink over your keyboard
- Wash hands before extended use
- Use a keyboard cover when not in use
- Keep pets away from your keyboard
Spill Response
- Immediately disconnect keyboard
- Turn upside down to drain
- Remove keycaps and dry thoroughly
- Let air dry for 24-48 hours minimum
- Test all keys before regular use
⚡ USB vs PS/2 for NKRO
USB Limitations
Standard USB HID protocol limits simultaneous key presses to 6 keys + modifiers. However, modern keyboards use workarounds:
- Multiple HID endpoints: Keyboard appears as multiple devices
- Custom protocols: Manufacturer-specific drivers
- USB NKRO mode: Modern implementation allows full NKRO over USB
PS/2 Advantages
- Native NKRO support without limitations
- Lower latency (interrupt-driven vs polling)
- No need for special drivers
- Becoming obsolete (few modern motherboards include PS/2)
🎯 Why Keyboard Testing Matters
For Gamers
Competitive gaming requires precise, simultaneous inputs. Testing ensures:
- WASD movement + ability keys work together
- Complex combo inputs register properly
- No input lag from faulty keys
- Macro keys function correctly
For Programmers
Developers need reliable keyboards for:
- Complex keyboard shortcuts (Ctrl+Shift+Alt+key)
- All symbols and special characters working
- Function keys for IDE shortcuts
- Long typing speed test sessions without fatigue
For Writers
Authors and content creators depend on:
- Every letter key functioning perfectly
- Consistent typing experience
- No missed or double characters
- Comfortable extended use
📱 Testing on Different Devices
This keyboard test works on:
- ✅ Desktop computers (full keyboard)
- ✅ Laptops (built-in and external keyboards)
- ✅ Tablets with external keyboards
- ⚠️ Mobile devices (limited - on-screen keyboard)
🔧 Troubleshooting Guide
Key Not Registering
- Check if it's a software issue (try another application)
- Test with different USB port or PS/2 adapter
- Remove and clean the keycap
- Test the switch directly (mechanical keyboards)
- Check for driver updates
Multiple Keys Not Working
- Check cable connection
- Try a different computer to rule out driver issues
- Check for liquid damage
- Update or reinstall keyboard drivers
- May indicate controller failure
Ghosting Detected
- Verify if keyboard supports NKRO
- Enable NKRO mode if available (often Fn+F12 or similar)
- Try USB vs PS/2 connection
- Update firmware if available
- Consider upgrading to better keyboard
💎 Premium Keyboard Features
Hot-Swappable Switches
Replace switches without soldering for customization and easy repairs.
Programmable Keys
Assign macros and custom functions to any key for improved workflow.
RGB Lighting
Per-key RGB helps identify keys in dark environments and adds personalization.
Dedicated Media Controls
Volume wheel and media keys improve multitasking efficiency.
Wrist Rest
Reduces strain during extended typing sessions.
What a Browser Keyboard Test Can and Cannot See
Every result on this page comes from the keyboard events your browser hands to the page. Before those events arrive, the keystroke has already passed through the keyboard's own firmware, the operating system, and the browser. Each layer can consume a key, change it, or hold it back. Knowing where those gaps are saves you from replacing a keyboard that is actually fine.
Keys that usually never reach the page
- Fn on most keyboards: on typical PC keyboards and laptops, Fn is handled inside the keyboard itself. It changes what the other keys send, but Fn alone is never reported to the computer, so no web page can detect it.
- Laptop hotkeys: brightness, Wi-Fi, airplane mode, touchpad toggles and similar keys are usually handled by the laptop's firmware or a manufacturer utility. They do their job without ever producing a browser event.
- System shortcuts: Ctrl + Alt + Delete, Alt + Tab, Cmd + Tab, Win + L and similar combinations are taken by the operating system first. The page may see the first key you pressed, but not the shortcut itself.
- Some browser shortcuts: the page blocks several browser actions (such as refresh) while you test, but browsers reserve certain shortcuts, like closing a tab or quitting, and may act on them before any page can intervene. Avoid testing combinations such as Ctrl + W or Cmd + Q unless you are ready to reopen the page.
Keys that arrive differently
- Print Screen: on Windows the operating system often grabs the press, and the browser may report only the release. The tool still marks PrtSc as tested when only the release arrives.
- Windows key: pressing it alone usually opens the Start menu, which takes focus away from the browser. The tool clears held keys when the page loses focus, so the key lights up briefly and then releases.
- AltGr: on Windows, the right Alt key on many international layouts is reported as Ctrl + Alt. Seeing a Ctrl tag appear when you press AltGr is expected, not a fault.
- Media and volume keys: depending on the browser and system, these may produce an event or be handled silently by the operating system. They are not drawn on the keyboard diagram, so check the Live Event Log to see whether anything arrived.
- macOS quirks: on Macs, browsers often do not report the release of a letter key while ⌘ is still held, and some browsers report Caps Lock as a press when it turns on and a release when it turns off. Either can make a key look held longer than it was.
Why a few keys on the diagram may never light up
The MacBook and Magic Keyboard Extended diagrams include keys such as fn and Touch ID. Whether these reach a web page depends on the system and browser, and Touch ID in particular is not a normal key event. If everything else works and only these stay unlit, the keyboard is very likely fine; reaching 100% coverage simply may not be possible on that combination.
A Full Keyboard Check, Step by Step
Pressing keys at random will light most of the diagram, but a methodical pass is faster and catches intermittent faults that a quick press misses. This routine uses the tool's main features in a sensible order.
- Prepare the keyboard. Plug wired keyboards directly into the computer rather than through a hub. For wireless models, charge or replace the batteries first so weak power does not muddy the results.
- Pick the matching layout. Choose Windows Keyboard, MacBook Keyboard or Magic Keyboard Extended above the diagram. Switching layouts resets your progress, so do this before you start.
- Click Reset All Keys. This clears anything you pressed while the page was loading or while reading.
- Work row by row. Press each key in the function row from left to right, then the number row, then each letter row, then the bottom row, navigation cluster, arrows and numpad. Watch the Keys Tested counter rise by one with every new key. If a press does not change the counter or highlight the key, press it again, a little harder and then off-center, and note the result.
- Check left and right versions separately. Shift, Ctrl, Alt and the Windows or ⌘ keys exist on both sides and are tracked as separate keys. So are the two Enter keys on a full-size board.
- Hold a few keys for several seconds. Any key held for three seconds or more is flagged as a possible stuck key. Holding one deliberately confirms the warning works, and releasing it should clear the warning straight away.
- Run the Rollover Stress Test. Hold each highlighted combination until the tool detects every key in it. The test moves on as soon as all keys are seen, and a 12-second safety timeout skips any combination you cannot complete.
- Tap keys rapidly. Tap suspect keys quickly and watch the Chatter / Bounce Detection and Key Switch Bounce Detection panels for events.
- Run the Smart Diagnostic. Tick "I'm using an external keyboard" if that applies, then run it. The report groups untested keys by row and region and suggests likely causes for patterns.
- Save what you found. The Export Diagnostic Report panel copies a JSON or plain-text summary to your clipboard, which you can paste into a note or a warranty request. Copy Link copies a short line with your coverage percentage.
A complete pass on a full-size keyboard takes a few minutes. When a key fails, test it again on a different computer before drawing conclusions; that single step separates keyboard faults from system faults better than anything else.
How to Read the Rollover Stress Test Results
The stress test prompts you through a fixed series of combinations, each chosen to load a different area of the keyboard. A combination only counts as a pass when every key in it is held down at the same moment. Pressing the keys one after another does not count.
| Combination | Keys | What it exercises |
|---|---|---|
| FPS Movement | W + A + Space | Diagonal movement while jumping |
| FPS Strafe | W + D + Shift | Movement with a left-hand modifier |
| QWER Cluster | Q + W + E + R | Four adjacent keys on one row |
| Number Row | 1 + 2 + 3 + 4 | Adjacent keys on the number row |
| Modifier Stack | Ctrl + Shift + Alt + A | Several modifiers plus a letter |
| Arrow Cluster | ↑ + ↓ + ← + → | All four arrows together |
| Home Row 5-Key | A + S + D + F + G | Five keys on one row |
| 6-Key Gaming | W + A + S + D + Shift + Space | Six keys at once, the classic USB report limit |
| Right-Side Shift | Right Shift + ↑ + → | The right side of the board, which many tests skip |
Pass, partial and fail
- Pass (✅): every key in the combination was held simultaneously.
- Partial (⚠️): some keys were detected but not all at once. The row names the missing keys, which is the most useful detail in the whole report.
- Fail (❌): none of the keys were detected before the timeout, usually because the combination was skipped or the wrong keys were held.
Making sense of a partial result
Run the test again before trusting a single partial. Holding five or six keys at once is awkward, and lifting one finger slightly too early is easy. If the same key goes missing every time, and only when combined with the same partners, that is the signature of a matrix limit (explained in the next section). If the key also fails when pressed alone, it is a dead or failing key rather than a rollover problem.
The badge at the end summarizes the highest number of keys held together during the test. Because the longest combination has six keys, a perfect run reports six-key rollover even on a keyboard that could do more. To check beyond six, hold more keys freely and watch the peak counter in the Real-Time Key Detection panel. Remember that the number reflects your keyboard, operating system and browser together, not the keyboard alone.
Inside the Keyboard Matrix: Ghosting and Blocking
Wiring a separate connection to every key would be expensive, so most keyboards arrange their switches in a grid of rows and columns. A small controller scans the grid continuously: it energizes one column at a time and reads which rows respond. A key at the crossing of an active column and a responding row is reported as pressed.
Where phantom keys come from
Without extra parts in the circuit, current can take detours. If you hold three keys that sit on three corners of a rectangle in the grid, current can flow through those three switches and make the fourth corner look pressed as well. That fourth key is the true "ghost": a key the keyboard thinks you pressed when you did not.
Why keys go missing instead
Typing a letter you never pressed would be worse than dropping one, so keyboard firmware is usually written to detect these ambiguous patterns and ignore the newest key. This is often called blocking or jamming. It is what you actually see in a keyboard test: the third or fourth key of a combination simply does not appear. People commonly call this ghosting too, and the two terms are used interchangeably in everyday speech.
How keyboards avoid the problem
- Diodes on every switch: a diode lets current flow only one way, which blocks the detours. With one per key, the controller can read every key independently. This is the usual route to full rollover on mechanical keyboards.
- Careful matrix layout: boards without per-key diodes can place commonly combined keys, such as W, A, S, D, Shift and Space, on lines that do not form rectangles with each other. These keyboards handle popular game combinations well but may block less common ones.
- Separate lines for modifiers: Shift, Ctrl, Alt and the Windows or ⌘ keys are often wired so they never conflict with letter keys.
The report limit is a separate issue
Even with a perfect matrix, the keyboard still has to describe pressed keys to the computer. The standard "boot" report format used by basic USB keyboards has room for six regular keys plus the modifiers. Keyboards with full rollover use a different report format, and some include a switch or key combination to fall back to six-key mode for older systems or for BIOS and UEFI screens. If a keyboard advertises full rollover but stops at six in this test, check whether such a mode is active.
Chattering and Double Typing: Spotting Switch Bounce
When a mechanical contact closes, its metal parts do not settle instantly. For a very short moment they bounce, opening and closing several times. Keyboard firmware hides this with a debounce period, ignoring changes for a few milliseconds after the first contact. If a switch wears, gets dirty or the debounce period is too short, some bounces slip through and one press becomes two characters. This is known as chattering.
Using the bounce panels
The tool has two complementary detectors. Chatter / Bounce Detection flags a key that is pressed again within a set time after it was released; the threshold slider runs from 5 to 120 ms and starts at 50 ms. Key Switch Bounce Detection flags two presses of the same key within a shorter window, adjustable from 5 to 80 ms and starting at 30 ms.
- Clear both panels.
- Tap the suspect key at a normal, steady pace about twenty times.
- Repeat with a few healthy keys for comparison.
- Open the Live Event Log and look at the timestamps of any flagged presses.
A healthy key tapped at a normal pace should produce no flags. A chattering key typically shows extra presses only a few milliseconds apart, far faster than a finger can tap. If you tap extremely fast on purpose, you may trigger the higher thresholds without any fault, so lower the threshold to separate genuine bounce from quick fingers.
Chatter is not key repeat
Holding a key makes the operating system send repeated characters after a short delay. The tool tracks these separately as repeat events, marked with their own symbol in the Live Event Log, and they do not count as chatter. If extra characters only appear when you rest on a key, look at your repeat delay setting instead of the switch.
What usually helps
- Blow out debris from under the affected keycap with the keyboard unplugged.
- Press the key firmly many times in a row; occasionally this clears light contamination from the contacts.
- If the keyboard's software offers a debounce setting, raise it slightly and retest.
- On hot-swappable boards, swap the switch with one from a rarely used key to confirm the switch is the cause.
Diagnosing Stuck and Sticky Keys
"Stuck" can mean two different things, and they need different fixes. A physically sticky key is slow to rise or feels gritty. A logically stuck key looks pressed to the computer even though it has risen. The tool helps you tell them apart.
Signs in the tool
- Possible stuck key warning: appears when a key has been held for three seconds without a release. If it appears while your hands are off the keyboard, a key is genuinely reporting as held.
- Modifier Stuck Detection: watches Shift, Ctrl, Alt and Meta. A modifier that stays active after release is flagged and flashes red. A stuck modifier explains strange symptoms elsewhere, like every letter typing in capitals or shortcuts firing unexpectedly.
- Key Timing Profiler: records how long each key stays down. A sticky key often shows a much longer average or a much larger spread (standard deviation) than its neighbors, because it sometimes rises late.
- Live Event Log: a press with no matching release is the clearest sign of a key the system believes is still down.
Separating hardware from software
If a modifier appears stuck in every program, check whether Sticky Keys is turned on. This accessibility feature makes Shift, Ctrl, Alt and the Windows or ⌘ key "latch" after one press, and on Windows it can be switched on by pressing Shift five times in a row. On the hardware side, a sticky key is most often caused by dried liquid residue or debris under the keycap. If a key still rises slowly after cleaning, the switch spring or, on membrane boards, the rubber dome may be worn.
If you want to measure how long a key can be held and released consistently, the spacebar hold test isolates that one key.
Cleaning a Keyboard Without Damaging It
Cleaning solves a large share of sticky, chattering and unresponsive keys. A few precautions keep it from causing new problems.
Before you start
- Unplug wired keyboards, switch off wireless ones and remove their batteries. For laptops, shut down fully rather than using sleep, and unplug the charger.
- Photograph the keyboard so you can put keycaps back in the right places, especially on non-standard layouts.
- Use a keycap puller where possible. Pulling straight up evenly is gentler on the switch stem than levering from one side.
Large keys and stabilizers
The spacebar, Shift, Enter and Backspace are usually held level by a wire stabilizer. Remove these keycaps slowly and note how the wire clips in. When refitting, seat the wire first, then press the cap down evenly. A rattling or binding long key after cleaning almost always means the stabilizer wire has not seated correctly.
Washing keycaps
Removed keycaps from most desktop keyboards can be soaked in warm, soapy water, rinsed, and left to dry completely before refitting. Never wash the keyboard itself this way, and do not refit caps while water remains inside them. Avoid high heat, which can warp plastic and fade legends.
After a sugary spill
Water that dries completely may leave no trace, but sweet drinks, coffee with sugar and soda leave sticky residue that keeps keys sluggish after the keyboard is dry. If keys still stick once the board has dried, removing the affected caps and gently cleaning around the switch with a lightly dampened cotton swab is usually needed. Membrane keyboards that have taken a sugary spill often do not fully recover, because residue gets between the membrane layers.
Testing and Troubleshooting Laptop Keyboards
Laptop keyboards behave differently from desktop ones, and several common "faults" are really settings.
The Fn layer and Fn Lock
On most laptops the top row has two jobs: function keys (F1 to F12) and hardware controls such as volume and brightness. Which one you get by default depends on an Fn Lock state or a firmware setting. If the F-keys never light up in the tool but your volume changes instead, the keyboard is working; it is simply sending media actions. Many laptops toggle Fn Lock with Fn + Esc or a dedicated key, and some have a "function key behavior" option in the BIOS or UEFI setup.
Embedded numeric keypads
Some compact laptops without a numpad print small numbers on letter keys such as J, K and L. When this embedded keypad is active, those letters type numbers. If parts of the right-hand letter area suddenly type digits, look for a Num Lock or NumLk function on the keyboard and turn it off.
Isolating the cause
Connect an external keyboard and run the test with it. If the external keyboard works perfectly, the system and browser are fine and the fault lies in the built-in keyboard or its connection. Laptop keyboards connect through a thin ribbon cable; a whole block of keys failing together after a drop or repair often points to that connection rather than individual keys.
Rollover on laptops
Built-in laptop keyboards are mostly designed for typing rather than gaming, and many block certain three- or four-key combinations. If a game needs combinations that your laptop drops, an external keyboard is usually the practical fix.
Spills on a laptop
Liquid on a laptop keyboard can reach the motherboard and battery underneath. Shut the laptop down immediately, disconnect power, and have it inspected before switching it on again if the liquid went beyond the keycaps.
Wireless and Bluetooth Keyboard Problems
Wireless keyboards add a radio link and a battery to the chain, and both can produce faults that look like hardware failure.
Battery level
Low batteries often cause missed keystrokes, lag and repeated characters before the keyboard stops altogether. Charge or replace the batteries before any other troubleshooting, then run the test again.
Interference and distance
Keyboards that use a 2.4 GHz USB receiver share the airwaves with Wi-Fi and other wireless devices. USB 3 ports and some cables can also produce radio noise near the receiver. Moving the receiver to a front port, a USB 2 port or a short extension cable that places it closer to the keyboard often makes a clear difference. Metal desks and objects between the keyboard and receiver can also weaken the signal.
Sleep and wake
To save power, wireless keyboards sleep after a period of inactivity. The first keypress usually wakes the connection and may be lost. If the first character you type after a pause is consistently missing, this is normal behavior rather than a fault.
Pairing and multiple devices
Bluetooth keyboards that remember several computers can stay attached to the wrong one. If a keyboard seems dead, check that it is switched to the right channel or device. Removing the keyboard from the computer's Bluetooth list and pairing it again resolves many persistent connection faults.
What to look for in the tool
Dropped radio packets can lose a release message, leaving a key appearing held, which triggers the stuck-key warning even though nothing is physically stuck. Type a long steady sequence and check the Live Event Log for presses without releases or for keys that never appear. If problems vanish when you move closer or switch to a cable (if the keyboard supports one), the connection is the cause.
Layouts, Languages and Wrong Characters
A keyboard can work perfectly yet type the wrong characters because the operating system is using a different layout from the one printed on the keys. This test helps you tell the two apart.
Physical position versus character
The diagram highlights keys by their physical position, not by the character they produce. On a French AZERTY keyboard, the key printed A sits where QWERTY has Q, so pressing it lights the Q position on the diagram. That is expected. The rule of thumb: if the right physical spot lights up here but the wrong character appears in a document, the hardware is fine and the layout or input language setting needs changing.
ANSI, ISO and JIS
- ANSI (common in the US) has a wide, single-row Enter key and a long left Shift.
- ISO (common in much of Europe) has a tall Enter key, a shorter left Shift and an extra key beside it. The UK layout, for example, places # and ~ next to Enter.
- JIS (Japan) adds several extra keys around the spacebar and the right side.
The diagrams here follow the ANSI shape. Extra ISO and JIS keys are not drawn, but they still appear in Currently Pressed Keys and the Live Event Log when pressed. On ISO boards, the key beside Enter is reported in the position of the ANSI backslash key, so it lights that key on the diagram.
Common setting mix-ups
- Accidental layout switch: both Windows and macOS have keyboard shortcuts to cycle input languages. Pressing one by accident is a frequent cause of symbols appearing in the wrong places, such as @ and " swapping. Check the language indicator in the taskbar or menu bar.
- Accent (dead) keys: international layouts include keys that type nothing until the next key, so ´ followed by e gives é. In language settings these are called dead keys, which is different from a broken key. The test still registers the press even though no character appears.
- Wrong layout chosen at setup: if a new computer was set up with a different region, the layout may never have matched the keys. Add the correct layout in the system's language or keyboard settings and remove the wrong one.
Windows and Mac Key Names Compared
Windows and Mac keyboards put the same physical positions to slightly different uses, and the names on the keycaps differ. The tool shows the names that match the layout you select.
| Windows keyboard | Mac keyboard | Notes |
|---|---|---|
| Ctrl | control | Most Mac shortcuts use ⌘ instead of control. |
| Win (Windows key) | ⌘ command | Both are reported to the browser as the same "meta" key. |
| Alt | option (⌥) | Same position and same key code; option also types special characters. |
| Backspace | delete | Both erase the character before the cursor. |
| Delete (Del) | fn + delete | Forward delete; full-size Mac keyboards also have a separate key for it. |
| Enter | return | The same key with a different label. |
| Menu | none | Opens a context menu on Windows; Mac keyboards lack this key. |
A Windows keyboard works on a Mac and vice versa, and this test treats them the same way: the Windows key and ⌘ light the same diagram position, as do Alt and option. If you use a Windows keyboard on a Mac, choose the layout that matches the physical keyboard rather than the computer, so the diagram looks like the keys under your fingers. Keep in mind that changing layout resets your progress.
Troubleshooting by Symptom
The table below covers symptoms not already handled in the troubleshooting guide above, with what to look at in this tool and a sensible next step.
| Symptom | Likely cause | What to check here | Next step |
|---|---|---|---|
| Wrong character appears | Layout or input language mismatch | Does the correct physical key light on the diagram? | Change the system keyboard layout |
| One press types two characters | Switch bounce or worn contacts | Bounce and chatter panels, event log timestamps | Clean, raise debounce if available, replace switch |
| Character repeats while holding briefly | Repeat delay set very short | Repeat events in the event log | Lengthen the repeat delay |
| Keys must be held to register | Filter Keys or Slow Keys enabled | Short taps missing from the event log | Turn off the accessibility setting |
| Everything types in capitals or shortcuts misfire | Stuck modifier or Sticky Keys | Modifier Stuck Detection | Check Sticky Keys, then clean the modifier |
| Characters appear late or in bursts | Wireless interference, low battery or a busy system | Gaps in typing on the event log | Move receiver, charge, close heavy programs |
| F-keys change volume or brightness | Fn Lock or media-key mode | F-keys stay unlit while media works | Toggle Fn Lock or change the firmware setting |
| Letters type numbers on a laptop | Embedded numpad is active | Numpad positions may light instead of letters | Turn off the laptop's Num Lock function |
| Whole row or block is silent | Matrix line, cable or controller fault | Smart Diagnostic groups untested keys by row | Test on another computer; repair or replace |
| Keyboard works here but not in one program | That program's own shortcuts or settings | All keys register normally in the test | Check the program's key bindings |
| Keyboard stops after the computer sleeps | USB power saving or wireless sleep | Test passes after a reconnect | Change the port or power settings |
For any symptom, the most informative single check is the same: try the keyboard on a second computer, or a second keyboard on this computer. Whichever device the fault follows is where the problem lives.
Operating System Settings That Change Keyboard Behavior
Several built-in settings alter how key presses become characters. They are useful when set intentionally and confusing when switched on by accident.
Repeat delay and repeat rate
When you hold a key, the system waits for the repeat delay, then sends repeated characters at the repeat rate. On Windows these are under Control Panel, then Keyboard. On macOS they are in the Keyboard section of System Settings as key repeat rate and delay until repeat. The Key Repeat Rate Estimator in this tool measures the repeat events your browser actually receives: start it, hold any key for three seconds, and it reports the delivery rate. This reflects the operating system and browser, not the keyboard's hardware polling rate, which a web page cannot measure.
Sticky Keys, Filter Keys and Slow Keys
- Sticky Keys (Windows and macOS) lets modifiers latch so shortcuts can be pressed one key at a time.
- Filter Keys (Windows) ignores very brief or repeated keystrokes. Holding the right Shift key for about eight seconds can switch it on, which is a common accidental trigger.
- Slow Keys (macOS) requires each key to be held for a set time before it registers.
On Windows, these are found in Settings under Accessibility (or Ease of Access on older versions), then Keyboard. On macOS, look in System Settings under Accessibility, then Keyboard. If short taps go missing in the test but held keys work, one of these features is the first thing to check.
Function key behavior
macOS has a Keyboard setting to use F1, F2 and the rest as standard function keys instead of media controls. Many Windows laptops offer a similar choice in their firmware setup or manufacturer software. Changing it is often all that is needed when the function row "doesn't work" in the test.
Drivers and firmware
Standard keyboards use generic drivers built into the operating system, so a missing driver is rarely the problem. On Windows, Device Manager lists keyboards under Keyboards, where you can uninstall the device and reconnect it to reload the driver. Keyboards with their own configuration software may also have firmware updates; install these only from the manufacturer and only when they address a problem you have.
Repair or Replace?
Whether a faulty keyboard is worth fixing depends mainly on how it is built and how many keys are affected.
Usually worth repairing
- A single chattering or dead key on a hot-swappable mechanical keyboard; replacing the switch takes minutes.
- A sticky key caused by debris or a dried spill; cleaning often restores it completely.
- A rattling or binding spacebar or Shift key; reseating or lubricating the stabilizer usually fixes it.
- A detachable cable with an intermittent connection; replace the cable before suspecting the keyboard.
Often better to replace
- A membrane keyboard with several dead keys or spill damage; the membrane layers are rarely sold separately.
- Faults that follow a whole row or column even after cleaning, which point to the circuit board or controller.
- Repeated failures across many keys, a sign the switches are reaching the end of their life.
Laptops and warranty
Laptop keyboards range from a simple replaceable part to one built into the top case with the palm rest, which makes repairs much more involved. Check warranty terms before opening anything, since opening a device yourself may affect coverage. When you contact support, a description of which keys fail, under which conditions, plus your exported diagnostic report, makes the conversation much quicker.
Choosing a Keyboard for Gaming or Typing
Testing your current keyboard often leads to the question of what to buy next. The right choice depends far more on how you use it than on any headline specification.
Switch feel
- Linear: smooth from top to bottom with no bump. Often preferred for gaming and rapid repeated presses.
- Tactile: a noticeable bump around the point where the key registers, giving feedback without much noise. A common choice for typing.
- Clicky: a bump plus an audible click. Satisfying for some typists, but loud for shared rooms and voice chat.
Switches also differ in how much force they need and how far they travel before registering. Lighter, shorter switches feel faster but are easier to press accidentally. If possible, try a few types before committing.
How much rollover do you need?
For typing, almost any keyboard is enough, because fast typists rarely hold more than two or three keys at once. For gaming, check the combinations your games actually use; most need movement keys plus one or two actions. Full rollover matters most for rhythm games, complex macros or two players sharing one keyboard. Whatever the box says, the stress test above shows what really gets through.
Polling rate
Polling rate is how often the keyboard reports to the computer. At 125 Hz that is every 8 ms, and at 1,000 Hz every 1 ms. Higher rates shave off a little delay, though for most people the difference is hard to notice outside competitive play. A web page cannot measure the hardware polling rate, so check the manufacturer's specification instead.
Size and layout
- Full-size: includes a numpad; best for data entry and spreadsheets.
- Tenkeyless (TKL): drops the numpad, leaving more room for a mouse.
- 75% and 65%: compact layouts that keep arrow keys but merge or remove some navigation keys.
- 60% and smaller: rely on an Fn layer for arrows and function keys; very compact, but with a learning curve.
Programmers and writers who use navigation keys heavily often find the smallest layouts frustrating, while gamers who want maximum mouse space often favor them. Once you have chosen, a typing speed test is a good way to see whether the new board helps or needs time to adjust to.
Accessibility Considerations
Keyboards are a primary input device for many people with limited mobility or vision, and testing is just as relevant there.
- Reliable keys matter more: for anyone navigating entirely by keyboard, one intermittent Tab, Enter or arrow key can make whole programs difficult to use. A periodic full check catches these early.
- Accessibility features affect results: Sticky Keys, Filter Keys and Slow Keys change how presses are reported. If you rely on them, expect the rollover and timing panels to read differently, and switch them off temporarily only if you need a pure hardware check.
- Screen reader support: the page announces how many keys have been tested, so progress can be followed without seeing the diagram.
- Alternative keyboards: one-handed layouts, large-key keyboards, split and ergonomic designs all send ordinary key events, so they can be tested here in the same way. Keys that are remapped in the keyboard's own software light up according to what they send, not what is printed on them.
- On-screen keyboards: software keyboards on phones and tablets do not report physical key positions. The page detects this and shows a notice that a physical keyboard is needed for full testing.
- Comfort: if typing causes pain or numbness, take regular breaks, adjust your posture and desk height, and stop if it persists.
🚀 Final Tips
- 👉 Test new keyboards immediately to catch defects within return period
- 👉 Regular testing helps identify wear before total failure
- 👉 Gaming keyboards should have at least 6-key rollover, preferably NKRO
- 👉 Keep firmware updated for best performance and bug fixes
- 👉 Document which keys have issues for warranty claims
- 👉 Save test results when buying used keyboards
Remember: A properly functioning keyboard is essential for productivity and gaming performance. Regular testing helps maintain optimal functionality.
Keyboard Test – Frequently Asked Questions
What is a keyboard test?
A keyboard test verifies that all keys on your keyboard register correctly when pressed. It helps identify dead keys, ghosting issues, and key rollover limitations.
What is keyboard ghosting?
Ghosting occurs when pressing multiple keys simultaneously causes some keys not to register due to keyboard matrix limitations. It's common in budget keyboards and can affect gaming performance.
What is N-key rollover (NKRO)?
N-key rollover is the ability to register N keys simultaneously. NKRO (full rollover) means all keys can be pressed at once without ghosting. Gaming keyboards typically offer 6-key or full NKRO.
How do I test for ghosting?
Press multiple keys simultaneously (like W + A + Space for gaming) and check if all keys register in the "Currently Pressed Keys" section. If some keys don't appear, you've found a ghosting limitation. Use the Rollover Stress Test for guided combo testing.
Why is my key not working?
Common causes include debris under the keycap, broken switch (mechanical keyboards), driver issues, or hardware damage. Try cleaning, testing another USB port, and updating drivers.
Do I need NKRO for gaming?
Most gamers need at least 6-key rollover. NKRO is ideal but not essential unless you frequently press many keys simultaneously. Competitive gamers benefit most from NKRO.
Can I use this test on a laptop?
Yes! This test works on laptop built-in keyboards and external keyboards. It helps identify issues with laptop keyboards which can be harder to repair.
What's the difference between mechanical and membrane keyboards?
Mechanical keyboards use individual switches (better feel, longer life, usually better anti-ghosting). Membrane keyboards use rubber domes (quieter, cheaper, more prone to ghosting).
How often should I test my keyboard?
Test immediately when you get a new keyboard, whenever you notice issues, after spills or drops, and periodically (every 3-6 months) to catch wear early.
Is this test free?
Yes, completely free with no downloads or registration required. Works directly in your browser on any device with a physical keyboard.
📚 Helpful Guides
Learn the techniques behind this tool and get the most out of your practice.