हिं हिन्दी

    Keyboard tester

    Press keys and see them light up: check every key, rollover, codes.

    Click here (or press Tab to reach this box), then press keys.

    Last key

    —

    event.key
    —
    event.code
    —
    Location
    —
    keyCode (legacy)
    —
    Modifiers held
    None
    Auto-repeat
    No

    Progress

    Keys tested
    0 of 104
    Held right now
    0
    Most held together
    0

    Hold several keys at the same time to check rollover.

    Legend: a key turns solid while held and gets a tick-style outline once tested. Keys are matched by physical position, so US, UK and Indian (InScript or phonetic) layouts all work. Fn and some laptop media keys are handled inside the keyboard and never reach the browser.

    Private: key presses are read only by this page on your device. Nothing is logged or sent.

    About this tool

    This keyboard tester lights up each key on an on-screen keyboard as you press it, so you can quickly find keys that do not work. Keys are matched by physical position (event.code), so it works with US, UK and Indian layouts, and it also shows event.key, event.code, key location and how many keys register at the same time (rollover). Key presses are read only by this page and are never logged or sent.

    At a glance

    What it does
    Press keys and see them light up: check every key, rollover, codes.
    Price
    Free, no sign-up
    Works in
    Your browser, on phone or computer. Works offline after the first visit.
    Privacy
    What you type never leaves your device.

    How to test your keyboard

    1. Click the keyboard picture (or Tab to it) so it is ready, then press every key once.
    2. Watch each key light up; keys that never get an outline did not reach the browser.
    3. Hold several keys together to see "Most held together", and press Esc twice quickly to leave.

    Private

    Your text stays in your browser and is never sent to a server.

    Instant

    Results update as you type, with nothing to install.

    Free

    No sign-up, no limits and no ads inside your writing space.

    Frequently asked questions

    How do I know if a key on my laptop is not working?

    Press each key once. A working key fills in while held and keeps an outline afterwards. If a key never lights up, it is not sending a signal: try it in another app, clean under it, or check that a Fn lock or layout setting is not changing it.

    What is keyboard ghosting and rollover?

    Rollover is how many keys a keyboard can register at once. Hold keys together and watch "Most held together": many office keyboards register 2–6 keys in some combinations, while gaming keyboards often handle 6 or more (n-key rollover). Ghosting is when a held key does not show up, or a key you did not press appears.

    Why do Fn, brightness or volume keys not light up?

    Fn is handled inside the keyboard and is never sent to the computer. Many laptop media keys are handled by the system before the browser sees them; the ones that do arrive are listed under "Other keys".

    What is the difference between event.key and event.code?

    event.code is the physical key position, for example "KeyA", whatever the layout. event.key is the character it types, so the same key gives "a", "A" or "अ" depending on Shift and the layout. This tester lights keys by event.code.

    Does it work on a phone or tablet?

    Only with a physical keyboard connected by USB or Bluetooth. On-screen touch keyboards do not tell the browser which physical key was pressed.