Developer tool

Keyboard Tester

Click the test area, then press keys. The page highlights keys it receives.

Runs in your browser. No upload.

Click here, then press a key. Keys received by the browser light up below.

1234567890
QWERTYUIOP
ASDFGHJKL
ZXCVBNM

No key has been detected yet.

About this tool

Keyboard Tester made simple.

Some keys and shortcuts are captured by your operating system or browser and cannot be detected by a webpage. No keypresses are stored or sent.

Guide

Using Keyboard Tester

The Keyboard Tester shows which key presses reach a web page. Click the test area, press a key, and the page prints the name of the key it received. Letters and digits also flash on a small on-screen layout. It is a quick check for a stuck or silent key. It is not a full keyboard check-up: it cannot see keys that your system or browser keeps for itself.

How to use it

  1. Click inside the test area so that it has focus. A click is needed because the page only listens while the area is selected.
  2. Press the key you want to check. The line under the layout says Key received followed by the key name, such as Enter or Space.
  3. Watch the layout: if you pressed a digit or a letter in the grid, that key flashes briefly and then goes dark again.
  4. Press the next key. Each new press replaces the line, so the page shows only the latest key.

Worked examples

A letter key

You enter
Key
a
You get
Status
Key received: a
Layout
the A key flashes for about a fifth of a second

The page prints the key value exactly as the browser reports it. The matching letter on the layout lights up for 180 milliseconds, so look at the grid while you press.

Not run through the tool. Treat it as an illustration.

A key that is not on the layout

You enter
Key
Enter
You get
Status
Key received: Enter
Layout
nothing flashes

The layout holds only the digits 0 to 9 and the letters A to Z. Other keys, such as Enter, Shift, Tab or the arrows, still show up in the status line but have no square to light.

Not run through the tool. Treat it as an illustration.

A shortcut with Control

You enter
Keys
Control + Q
You get
Status
no change from the last message
Layout
nothing flashes

Presses made while Control, Command or Alt is held are skipped by the tester, so a shortcut leaves the status line as it was. Some shortcuts may also be taken by the browser or system first.

Not run through the tool. Treat it as an illustration.

When it helps

  • Check whether a key on a new or second-hand keyboard sends anything at all.
  • See what name the browser gives to a key, such as Space, Backspace or an arrow.
  • Test a laptop keyboard after a spill or after cleaning it.
  • Check whether a key is stuck or registers twice.

Limits to keep in mind

  • Only the ten digits and the 26 letters have squares in the layout. Every other key is shown by name in the status line only.
  • Key presses made with Control, Command or Alt held down are ignored, and some keys or shortcuts are handled by your system or browser before the page sees them.
  • The page shows the latest press only. It keeps no history, no count of presses and no timing, and a lit key goes dark after 180 milliseconds.
  • The key name is the layout-dependent value the browser reports, so on a non-Latin layout a letter may not match the square you expect.

Tips

  • Click the test area again if keys stop responding, for example after you click somewhere else on the page.
  • To check a key that gives no response, try it in another app or another browser before deciding the key is broken.
  • Keep your eyes on the layout while you press, because the highlight lasts only a moment.

Sources

Common questions

About Keyboard Tester.

Why does nothing happen when I press a key?

First click the test area so it has focus. If it still does nothing, the key may be handled by your system or browser before the page sees it, or the key may not be sending a signal. Try the key in another program to find out.

Why do some keys not light up on the layout?

The on-screen layout is small. It contains only the digits 0 to 9 and the letters A to Z. Keys such as Enter, Shift, Space and the arrows are not drawn, but their names still appear in the status line when you press them.

Does this tool record what I type?

No. The page reacts to each press and shows its name, and the tool does not store the presses or send them anywhere. Even so, it is a good habit not to type a password into a test page, since there is no reason to.

Can it test Ctrl, Alt or the Windows and Command keys?

Not as shortcuts. When Control, Command or Alt is held, the tester skips the press, and the key press of one of those keys on its own carries the same flag, so it is skipped too. Shift is different: pressing Shift on its own shows its name in the status line.

Can it detect ghosting or measure how fast I type?

No. It does not count several keys held at once, show how long a key stays down, or measure typing speed. It simply names the latest key press that the page received, so it suits a basic working-or-not check.

Does a key that works here work in every program?

Often, but not always. A web page only sees what the browser passes on, and other programs may use different layouts or key mappings. If a key works here but not in an app, the problem is more likely the app or its settings.

How do I use Keyboard tester?

Click the test area, then press keys. The page highlights keys it receives.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.