Keyboard Tester

Press each key to check whether your browser receives the expected keyboard event. This is useful for finding stuck keys, layout mismatches, intermittent laptop keys and function-key behaviour before you start deeper repair work.

Some function, media, brightness, and system keys may still be controlled by your browser or operating system before the page can see them.

Visual Keyboard

Click the keyboard area first, then press keys to start capture mode.

Function key capture is ready. Browser, OS, or hardware-reserved top-row actions may still override web pages.

Pressed keys

Recent presses

    Status

    Waiting for input...

    Last Key Pressed

    None

    Code: -

    Active Modifier Keys

    None

    Keys Tested

    Keys tested: 0

    About the online keyboard tester

    The keyboard tester shows a live on-screen keyboard that lights up as you type, so you can confirm within seconds whether each physical key actually registers. It listens to the keydown and keyup events your browser receives and matches them against a visual Windows UK or Mac layout, with a history panel that records every event — including keys the layout image does not show.

    Everything happens locally in your browser: keystrokes are displayed on the page and are never logged, stored or transmitted. That matters, because the fastest way to diagnose a "broken" key is to type freely and watch what the computer actually receives — something you should never do on a site you cannot trust with your typing.

    The most common use cases are checking a laptop keyboard after a spill, confirming every key works before buying or selling a used machine, spotting keys that repeat or stick, and separating hardware faults from software ones. If a key lights up here but misbehaves in one specific application, the keyboard is fine and the problem lives in that app’s settings or shortcuts.

    What it looks like in use

    Keyboard tester showing tested keys highlighted teal and held keys amber, with a list of recent key presses
    The TestMyPC keyboard tester on the Windows UK layout. Keys that have been tested turn teal, keys currently held down (here E and Shift) turn amber, and every event is listed under Recent presses.

    What the keyboard result means

    The visual keyboard, last key panel and recent history help you separate a physically faulty key from a layout, focus or operating-system shortcut issue.

    Good

    Every key you press lights up on the layout, appears in the history, and releases cleanly when you let go — including modifiers, arrows and the function row.

    Average

    Keys register but something is off: a key shows in history without lighting the layout (usually a layout mismatch), or function keys trigger browser actions instead of registering. These are settings issues, not hardware faults.

    Poor

    One or more keys never appear in the history no matter how you press them, register without being touched, or repeat on their own. That points to a hardware problem — debris, liquid damage or a failing switch.

    What this test checks

    • Keydown and keyup events for letters, numbers, modifiers, navigation keys and many function keys.
    • Whether the browser reports a physical key code that matches the selected Windows UK or Mac visual layout.
    • Active modifiers such as Shift, Control, Alt and Command/Meta.
    • Repeated or stuck input patterns that can point to debris, liquid damage or a failing switch.

    How to understand your results

    • A good result is simple: every key you press appears in the status area and releases when you let go.
    • If a key appears in history but not on the visual keyboard, the browser saw the event but the selected layout may not contain that exact code.
    • If several nearby keys fail, suspect a keyboard matrix, ribbon cable or spill-related issue rather than a single keycap.
    • If only shortcuts fail, check app focus, browser extensions and system keyboard settings before assuming the keyboard is broken.

    Common problems and fixes

    Nothing registers

    Click inside the keyboard area, try another browser, and disconnect external keyboards that may be confusing the test.

    Function keys open browser controls

    Hold Fn or change the system setting that treats F1-F12 as standard function keys.

    One key is intermittent

    Clean around the key gently and retest. Intermittent behaviour often becomes worse under light pressure or at certain angles.

    Wrong character appears

    Check the operating system keyboard language and compare it with the layout selected on this page.

    FAQ

    Can this test every key?

    It can test keys exposed to the browser. Some system, media and security keys may be reserved by the operating system.

    Does a missed key mean the keyboard is broken?

    Not always. Focus, layout settings, browser shortcuts and external keyboard software can all affect browser input.

    Can I use it for a second-hand laptop check?

    Yes. Test every letter, number, modifier, arrow and function key, then repeat any doubtful keys several times.

    Is anything I type recorded?

    No. Key events are drawn on screen in your browser and are never stored or sent to the server. Refreshing the page clears the history.

    Why does a key type double letters?

    Double-typing (chatter) usually means a worn or dirty switch. Watch the history panel: two keydown events from one press confirms the key itself is at fault rather than your typing.

    Does it work with external and mechanical keyboards?

    Yes. Any keyboard the operating system recognises — wired, wireless or Bluetooth — can be tested. Test external boards one at a time so you know which device produced each event.

    Browser-based test disclaimer

    TestMyPC results are browser-based and may vary depending on your device, browser, operating system, permissions, drivers, connection, power settings and connected accessories. Use these tools as practical first checks, then confirm important faults with operating-system diagnostics, manufacturer tools or a qualified technician where needed.