Skip to content

Keyboard Tester

Check that every key on your keyboard works. Press keys on an on-screen US layout and see each one light up, with its key value, code and location.

Click here, then press keys on your keyboard.

Keys light up while held and stay marked once tested. While this area is focused, keys such as Space, arrows, Tab and F1–F12 do not scroll or trigger browser actions. To leave with the keyboard, press Esc and then Tab.

Last key (key)
–
Code (code)
–
Location
–
Keys not on the layout
None

Key presses are read only in your browser and are never sent anywhere.

Read the guide How to Test Your Keyboard and Fix Common Problems

How to use the keyboard tester

  1. Click the test area so it has focus. The prompt changes to Ready. Press any key.
  2. Press the keys one by one. A key turns solid while you hold it down and stays highlighted once it has been tested.
  3. Watch the result card: it shows the last key's key value, its code and its location, plus how many of the 104 keys on the layout you have tested so far.
  4. Press Reset to clear the board and start again.

While the test area is focused, keys that would normally scroll the page or trigger a browser action, such as Space, the arrow keys, Tab, Backspace, Page Up and Page Down, and F1 to F12, are kept inside the tester. Shortcuts that use Ctrl or Cmd still work as usual. To leave the area with the keyboard, press Esc and then Tab, or simply click somewhere else.

Your key presses stay on your device

Everything happens in your browser. Nothing you type is recorded, stored or sent to our server.

What the values mean

  • key is the character or action the key produces with your current keyboard language, for example a, A with Shift, or Enter.
  • code names the physical position of the key on a US layout, for example KeyA or ShiftRight. It stays the same whatever language your keyboard uses, which is why the on-screen board is matched by code.
  • Location tells left and right apart for keys that appear twice: 0 is standard, 1 is left (such as the left Shift), 2 is right and 3 is the numeric keypad.

Example

Pressing the right Shift key shows key Shift, code ShiftRight and location Right (2). Pressing 5 on the numeric keypad with Num Lock on shows key 5, code Numpad5 and location Numpad (3).

Good to know

  • Keys that are handled by your computer before the browser sees them cannot be tested here. Common examples are the Fn key on laptops, some media keys, and the Windows key, which may open the Start menu.
  • On Windows, Print Screen often reports only when it is released. The tester counts it at that moment.
  • Keys missing from the on-screen board, such as media or extra keys, are listed under Keys not on the layout.
  • If a key lights up but stays solid after you let go, it may be sticking. If it never lights up, try another keyboard or port to see whether the problem is the keyboard or the computer.
  • Laptops and compact keyboards have fewer keys, so reaching 104 is not possible on every device.

Frequently asked questions

Why does a key not light up?

First make sure the test area is focused; the prompt should say the tester is ready. If other keys work but one does not, that key may be faulty. Some keys, such as Fn on laptops, are handled by the keyboard itself and never reach the browser.

Does this work with non-US keyboards?

Yes. The board uses each key's physical position, so a German, French or Turkish keyboard lights up the key in the same place. The key value shown in the result reflects your own keyboard language.

Can I test for ghosting or key rollover?

You can get a rough idea by holding several keys at once and checking that all of them turn solid. Some keyboards stop reporting extra keys after a certain number, and those extra keys will not light up.

Why did pressing a key leave the page or open something?

Only keys that scroll or trigger common browser actions are held back, and only while the test area has focus. Combinations with Ctrl or Cmd, and keys reserved by your operating system, can still act normally.

Is anything I type saved?

No. The tester only reads key events in your browser to update the screen. Nothing is stored or transmitted, and reloading the page clears everything.