Keyboard tester

Check that every key on your keyboard works.

Press any key to start.

Keys tested: 0 of 104Keys held down now: 0

Partly available on this device

To test keys, connect a Bluetooth or USB keyboard. Then press any key.

This doesn't test a keyboard you plug in.

Show larger

Tap the small keyboard or pick a part to see it larger. The frame on the small keyboard shows that part.

Shown larger: Left

US (QWERTY), Windows, Full sizeChange
Key labels

Using only a keyboard? Press Esc, then Tab, to leave the test.

Key log

Quick start

  1. Press any key. The test starts by itself, with no button to press.
  2. Press every key once. Each key gets a tick.
  3. Press Show my result to see which keys you haven't pressed yet.

How to read your results

What you see What it means
A plain key Not pressed yet.
A filled-in key that sits lower Held down right now.
A key with a tick It worked. Your computer got the key press.

Note: Left and right keys count on their own. Left Shift and Right Shift are two keys. So are the two Enter keys on a keyboard with a number pad.

Your result says how many keys you tested, for example “101 of 104 keys tested. They all worked.” Then it names the keys that are not pressed yet. When there are many, they’re listed by part of the keyboard, such as the top row or the number pad.

Every key worked
Some keys not pressed yet

In the pictures, key 1 worked and key 2 is not pressed yet.

Tip: Not pressed yet doesn’t mean broken. It means the test hasn’t seen the key. While you read the result, the keyboard picture is folded away. Press Continue test above the result to bring it back, then press the missing keys. Your ticks are kept.

Can’t find a key on your laptop? See where the Insert key is. A small keyboard reaches its missing keys with Fn: see how to use a 60% keyboard.

“Also worked” lists keys that aren’t on the picture, such as Volume Up. They work, but they don’t count.

The Key log at the bottom of the test shows the last 20 key presses: each key’s code, what it typed and the time since the key before.

If something’s wrong

These are the most common problems, most likely first.

Nothing lights up

  1. If you were typing in a box, such as the search box, your keys went there. Scroll so you can see the keyboard picture, click it, then press a key again.
  2. Check the cable or the USB receiver, try another USB port, or charge the keyboard.
  3. For a Bluetooth keyboard, connect it again in your settings.

One key doesn’t light up

  1. Press it firmly in the middle.
  2. Dust or crumbs may be under it. Turn the keyboard over and shake it gently, or use a can of compressed air. See how to clean a keyboard.
  3. Try the key in another app, then on another computer. If it fails everywhere, the key needs repair.

If a key still gets no tick but works in other apps, this page isn’t getting it. That can happen with keys your computer keeps for itself.

The spacebar is not working, sticks or works on one side only

Press the spacebar in the middle, then at each end. Watch for its tick in the picture.

  1. Check Filter Keys. When it’s on, your computer ignores short key presses. On Windows 11, open Settings, then Accessibility, then Keyboard, and turn Filter keys off. On Windows 10, it’s under Ease of Access, then Keyboard. On a Mac, open System Settings, then Accessibility, then Keyboard, and turn Slow Keys off.
  2. Clear out crumbs. Unplug the keyboard, or switch off the laptop. Turn it over and shake it gently. Blow compressed air under both ends of the spacebar.
  3. Reseat the spacebar (desktop keyboard). A long key has a thin metal wire under it that keeps both ends level. If the wire comes loose, one end sinks, sticks or doesn’t type. Pull the spacebar straight up, slowly, at both ends. Wipe under it with a cotton bud and a little isopropyl alcohol. Hook the wire back into its clips. Line up the key, then press the middle and both ends until it clicks.
  4. Laptop? Don’t pull the spacebar off. Its small plastic clips break easily. Use compressed air only. If that doesn’t help, ask the maker or a repair shop.

If Space gets a tick here but doesn’t type in one app, the key works. Check that app’s own key settings. Also check that no app has changed the key, such as PowerToys Keyboard Manager.

If the spacebar fails on another computer too, it or its wire is broken. Most mechanical keyboards can take a new spacebar or wire. On a laptop, a plugged-in keyboard works until it’s repaired.

F1 to F12 change the volume or brightness

Many laptops use these keys for other things, such as turning the volume up.

Windows and most laptops

  • Hold Fn while you press F1.
  • Or turn on the Fn lock to swap. On many Dell laptops, press Fn and Esc together. HP laptops use a padlock key or a BIOS setting: see function keys on an HP laptop.

Mac

  • Hold Fn while you press F1.
  • Or turn on “Use F1, F2, etc. keys as standard function keys” in System Settings, under Keyboard.

The Fn lock for Lenovo, ASUS, Surface, Chromebook and more is in Fn lock on laptops.

Wrong letters appear

If Z and Y, or A and Q, are swapped, your computer uses a different layout than your keys show. This test usually switches its picture to match after a few letters. If it doesn’t, press Change under the keyboard and choose your layout.

Windows

  • Press Windows and Space to switch layouts.

Mac

  • Use the input menu at the top right of the screen.

A key stays filled in (stuck)

  1. Press it a few times.
  2. After a spill, unplug the keyboard, clean around the key with a slightly damp cloth and let it dry. More in sticky or stuck keys.
  3. Check that Sticky Keys is off.

If you spilled on a laptop, switch it off at once and get it checked.

Letters type twice

This is called key chatter. Clean around the key. On a gaming keyboard, raise the “debounce” time in the keyboard’s app. On Windows, turning on Filter Keys can hide the extra letters until you fix the key.

Keys work here but not in a game or app

Check the key settings in the game or app. Some keyboards have a “game mode” that turns off the Windows key. Some keyboards also can’t send many keys pressed at the same time.

To find out if it’s the keyboard, the computer or the app, try the swap test.

The number pad doesn’t type numbers

Num Lock is off. Press Num Lock. This test lights the keys either way.

Some keys never light up

Fn, the Mac Globe key, brightness keys and some media keys are handled before the browser sees them. That isn’t a fault.

A wireless keyboard misses keys

Move the USB receiver closer, for example with a USB extension cable. Put in new batteries.

How this test works

Your browser tells the page where the key you pressed sits on the keyboard, not which letter it types. So the picture lights up by position, and the layout you choose only changes the labels.

A key counts as working once the browser reports it.

See how we test keyboards for where our limits come from, and what a browser can’t measure.

What the test can see

  • Every key your browser reports, by its place on the keyboard.
  • Left and right keys apart, such as the two Shift keys.
  • Keys held down, and keys that may be stuck.

What it can’t see

  • Fn and keys your computer keeps for itself.
  • The difference between a broken key and one you didn’t press.
  • Many keys pressed at once, or keys that type twice.

Some shortcuts close the tab or switch apps, such as Alt and F4. Press keys one at a time.

Times in the key log come from your browser. They are not your keyboard’s speed.

Questions and answers

How do I start the test?

Just press a key on your keyboard while you can see the keyboard picture. The key lights up and the test has started. If nothing lights up, click the picture first, then press the key again.

Does it know my keyboard layout?

In Chrome and Edge on a computer, the test reads your layout from the browser. Safari and Firefox don't share it, so the test guesses from your browser language. When the letters you type show another layout, such as Z and Y swapped, it switches by itself and tells you.

Some layouts type the same letters, such as US and UK. To choose yours, press Change under the keyboard. The test then keeps your choice.

Why doesn't the Fn key light up?

The Fn key works inside the keyboard and sends nothing to the computer. Test it with Fn and another key, such as F1. If F1 does something different with Fn held, Fn works. To make F1 to F12 work without Fn, see function keys not working.

Why doesn't Print Screen or the Windows key light up?

Your computer may use these keys before the browser sees them. On Windows, Print Screen often lights only when you let go of it.

The Windows key gets its tick, but it also opens the Start menu. Close the menu and keep pressing keys.

Why is my spacebar not working?

Press it here first. If it gets no tick, crumbs or a loose wire under the key are the most likely cause. If it only works when you hold it down for a moment, Filter Keys may be on.

See "The spacebar is not working, sticks or works on one side only" above for how to fix it.

Can I test a Mac keyboard?

Yes. On a Mac the picture shows Mac keys, such as Command and Option on both sides. To test F1 to F12, hold the Fn key while you press them.

Can I test a keyboard on my phone or tablet?

Yes, if you connect the keyboard by Bluetooth or USB. The keyboard on your screen isn't a real keyboard, so this test can't check it.

On a phone, the small keyboard picture shows every key. Under it, one part is shown larger so you can read the keys. It follows the keys you press, or you can tap the small picture or pick a part yourself.

Does this site record what I type?

No. The test doesn't save or send your key presses. They only light up keys on this page.

Can it test many keys pressed at the same time?

No. This test checks each key on its own. To check many keys held at once, use the keyboard ghosting test.

Why are there two Shift, Ctrl and Enter keys to press?

Each key on your keyboard is tested on its own. The left Shift key can work while the right one is broken, so press both.

Guides for this test