Mac keyboard test

Check each key of a MacBook or Apple keyboard on a drawing with Command, Option and Control where they belong.

Nothing you test leaves your device

Press any key to start

Last key
–
Not yet
Held now
0
Most at once
0
key rollover
Presses
0

Hold Esc to stop testing. Keys are never recorded or sent.

Layout
Focus

Last key

Key
Not yet
Code
–
Location
–
Held for
–
Auto-repeat
–

Event log

Presses and releases appear here, newest first.

Other keys

Keys that aren't on the drawing show up here: F13 to F24, media keys, keys from an Fn layer.

Keys we can't test
  • Fn and Touch ID are handled inside the keyboard and never reach the browser. Test Fn by holding it while you press another key, such as Fn + F5.
  • Ctrl + W, Ctrl + T, Ctrl + N and Ctrl + Tab (Cmd on a Mac) belong to the browser and can't be blocked. Press these keys on their own instead.
  • Alt + Tab, Alt + F4, the Windows key with another key, Cmd + Tab, Cmd + Q and Ctrl + Alt + Delete are taken by the operating system.
  • Volume, brightness and media keys are often used by the system first. If they arrive, they appear under Other keys.
  • Print Screen often lights up only when you release it, because Windows takes the press for screenshots.

In short

To test a Mac keyboard, open this page in Safari, Chrome or Firefox and press each key once. Working keys turn green on the MacBook drawing; grey keys are not reaching macOS. The fn key and Touch ID never send a signal to web pages, so they are drawn dashed.

How to test a MacBook keyboard

  1. Open the page; the Mac layout is already selected. Quit apps that catch global shortcuts, such as clipboard managers or window tools, so they don't take keys first.
  2. Press each key once. For the top row, hold fn so the keys send F1 to F12 instead of brightness and volume.
  3. Use Command with other keys only briefly. macOS holds back the release of keys pressed with Command, so the test frees them all when you let go of Command.
  4. Turn on Hide tested keys to see what is left, and press any key the counter still misses.

Why Mac keys behave differently in a browser

macOS treats a few keys in its own way. While Command is down, the system does not report when other keys are released, a long-standing quirk that would leave keys looking stuck, which is why the test releases everything with Command. Caps Lock ignores very short taps on Apple keyboards to prevent accidental capitals, so press it a little longer.

The fn or globe key and Touch ID talk to the Mac directly and never reach a web page. The top row sends system actions by default: brightness, Mission Control, media and volume. Those actions are handled by macOS, so the keys only appear here as F1 to F12 while fn is held.

Frequently asked questions

How do I test my MacBook keyboard?

Open this page in any browser and press every key once. Each key turns green on the MacBook drawing when macOS passes it on. For the top row hold fn, or turn on Use F1, F2, etc. keys as standard function keys in System Settings, Keyboard, Keyboard Shortcuts, Function Keys.

Why doesn't the fn or globe key light up?

The fn key, shown as a globe on newer Macs, is read by the keyboard and macOS before any app sees it, and web pages never receive it. Check it by holding fn and pressing F5: if the key lights as F5 instead of changing the keyboard backlight or dictation, fn works.

Why does Caps Lock not react to a quick tap?

Apple keyboards delay Caps Lock on purpose, so a light brush does not switch it on. Press and hold it for a moment and it registers normally. This is a feature, not a fault.

Why do keys stay highlighted after a Command shortcut?

macOS does not send release events for keys pressed while Command is held. The test works around this by releasing every key when Command goes up. If a key stays highlighted anyway, press and release it once more.

Why does my MacBook type letters twice or skip them?

MacBook models with the butterfly keyboard, sold between 2015 and 2019, are known for keys that repeat or stick when dust gets under the cap. Try compressed air at an angle, then check the key with the Chatter focus, which flags presses that come back too fast.

Can I test a Windows keyboard on a Mac?

Yes. Choose ANSI or ISO instead of Mac. The Windows key arrives as Command and Alt as Option, so they light up in the usual Windows positions on the drawing.

Does the test work in Safari?

Yes, in Safari, Chrome, Edge and Firefox. Chrome and Edge can also print your own layout's characters on the keys straight away; in Safari and Firefox the legends update as you press each key.

Mac key names in the event log

Browsers use the same physical key names on every system, so the log shows PC-style codes for Apple keys. This list translates them.

  • Command: MetaLeft and MetaRight.
  • Option: AltLeft and AltRight.
  • Control: ControlLeft.
  • delete: Backspace. The forward delete key on full-size Apple keyboards is Delete.
  • return: Enter.
  • Section key on ISO Apple keyboards: IntlBackslash or Backquote, depending on the model.

Magic Keyboard and external Apple keyboards

The drawing follows a MacBook. A Magic Keyboard with Touch ID and number pad adds a forward delete, Home, End, Page Up, Page Down and the pad itself; those keys appear under Other keys with their codes. Over Bluetooth, a dying battery can make keys lag or drop, so test once with the cable connected if you see gaps.

How your files stay private

Your browser reads the device you are testing and shows the results on this page only. Nothing is sent anywhere or kept after you close the tab, and camera or microphone access ends when you leave the page.

Presets

Guides

Last updated Nov 12, 2026