Keyboard Test

A free key tester: press any key and it lights up on an on-screen keyboard, in an ANSI or ISO layout, and stays marked so you can see which keys you have not tried yet. What you type stays in this tab.

A keyboard test and key tester in one page: press a key and it lights up on an on-screen keyboard, and stays marked as tested, so you can find a key that has stopped working, a stuck key or a chattering one. It shows each key’s name and its code in a log, handles F-keys, the numpad and the arrows, and switches between ANSI and ISO layouts. It is free, and what you type is not uploaded: the keys are read by code in your browser and drawn on the page, and the page uses no file. After one visit and a short wait the page works offline.

Test your keyboardor click to choose a file.
    Layout

    0 keys tested

    Press any key. Each key lights up when you press it and stays marked as tested.

    Last keynone yetCodenone yet

    Key log

      Some keys never reach a web page: Fn, most media and brightness keys, and shortcuts the system keeps for itself such as Cmd+Tab, Alt+Tab or the Windows key. If a key does not light up here, the browser was never told about it, so this page cannot say whether the key works.

      Working…

      Done

      Free, no ads. Support StayPut

      Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.

      What this test does

      What this test cannot tell you

      A key that does not light up? Check these first

      How it works

      1. Choose the ANSI or ISO layout that matches your keyboard.
      2. Press each key. It lights up on the on-screen keyboard and stays marked, and the log shows its key and code.
      3. Press Reset to start again, and try any key that stayed unmarked in a text editor to see whether it is broken or just not visible to the browser.

      In your browser, not on a server

      Your browser sends this page a keydown and a keyup event for each key it receives. The page reads the physical key’s code and the character it produced, lights the matching key on the drawn keyboard and adds a line to the log, all in this tab.

      Compared with upload-based tools: Nothing here needs a file, an account or a download: the key presses are read in your tab and drawn on the page, and they are not stored or sent.

      Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.

      Questions

      Is anything I type recorded or uploaded?

      No. The page reads each key press in your tab and shows it on the page, and the log lives only in the tab’s memory. Nothing about the keys you press is sent anywhere, and it is gone when you close the tab or press Reset.

      How do I test my keyboard online?

      Open this page and press each key in turn. The matching key on the on-screen keyboard lights up and stays marked as tested. Any key left unmarked after you have pressed it a few times is one the keyboard is not sending, or one the browser does not see.

      Why does a key not light up?

      Either the key does not work, or the browser never receives it. Fn, most media and brightness keys and some system shortcuts, such as Cmd+Tab on a Mac or the Windows key, are handled by the system or the keyboard itself before a web page can see them.

      Can I use this key tester for ghosting or rollover?

      Partly. Hold several keys at once and watch which ones light up as pressed. Keys that go missing while others are held point to ghosting or a low rollover limit, but the result depends on the keyboard, the connection and the operating system, so treat it as a hint.

      What is the difference between the key and the code in the log?

      The key is what the press produces, such as a lowercase a, a capital A or a symbol, and it changes with Shift and with your language. The code names the physical key, such as KeyA, and stays the same whatever the layout.

      What is the difference between ANSI and ISO?

      ANSI is the US layout, with a wide, flat Enter key and a long left Shift. ISO is common in the UK and Europe, with a tall Enter key and an extra key next to the left Shift. Pick the one that looks like your keyboard.

      Does it work on a laptop or a Mac?

      Yes. A laptop’s built-in keyboard is tested the same way. On a Mac the Command keys show as Win/Cmd, and Fn and the media row do not reach the browser.

      Does the tester work with a phone or tablet keyboard?

      It works with a hardware keyboard connected to the phone or tablet. The on-screen keyboard of a phone does not send physical key codes, so it will not light the keys here.

      More video and audio tools

      Popular conversions