Document HTT-18
Status: Phase 3
Price: free

Mac keyboard tester

The tester opens with the Mac layout: command and option where your keyboard has them. Press every key; each one lights while held and stays shaded once the browser has seen it.

HTT-18 · Mac keyboard testerRuns in your browser · nothing is uploaded

Held nowRegisteredPossible chatterHeld over 3 sNot pressed yet

Some shortcuts never reach a web page. The operating system keeps combinations such as Alt+Tab, Cmd+Tab, Windows-key shortcuts and Ctrl+Alt+Delete, and browsers keep some of their own, such as opening and closing tabs and windows.

Last 12 key presses

CodeKeyHeldSince previous press

How to use it

  1. Click the drawing or press any key to start test mode.
  2. Press every key from top-left to bottom-right, including both command and option keys.
  3. Check the arrow keys and the function row on their own.
  4. Hold command, option and a letter together to see that combinations register.
  5. Leave test mode with the Exit button or by holding Esc for two seconds.

What the results mean

ResultLikely causeWhat to do
Every key on this layout registeredAll drawn keys reached the browserThe keyboard is working.
command or option missingA worn switch, or a shortcut the system caught firstPress the key on its own, without other keys.
Function keys show as media actionsBy default the top row controls Mac features, as Apple explainsHold fn while pressing the key to send the function key.
Possible key chatterOne press counted twice by a worn switchPress that key slowly 20 times and watch the log.
A key held for over 3 secondsA stuck key or something resting on itLift the key gently and clean beneath it if your model allows.

Troubleshooting by system

Windows

If you test a Mac keyboard on a Windows PC, command arrives as the Windows key and option as Alt. Windows may open the Start menu on command, so press it inside test mode.

macOS

If two keys look swapped, Apple's fix is Keyboard Setup Assistant: Apple menu > System Settings > Keyboard, then Change Keyboard Type. Apple says macOS recognises ANSI, JIS and ISO keyboards.

ChromeOS

On a Chromebook, command arrives with the Meta key code, and ChromeOS may give it a system job. Press it inside test mode; the drawing shows which physical key arrived.

Android

Connected to Android, a Mac keyboard's letter keys work, but system shortcuts may be captured. Use test mode and press keys singly.

iPhone and iPad

An iPad keeps command-key shortcuts for itself in many apps. Press command alone to see it register, rather than in combinations.

What this browser can measure

Measurement limits

ParameterReportedLimit
fn keyNever shownThe W3C code spec says Fn is typically a hardware key that does not generate a separate code
command keyMetaLeft and MetaRightSome command shortcuts are kept by the browser and never reach the page
Function rowF1 to F12 when sent as function keysBrightness, volume and media actions may be handled by macOS instead
Japanese Mac keysLang2 (英数) and Lang1 (かな)Only present on Japanese Mac keyboards

Questions

Why doesn't the fn key light up on my Mac?

The fn key changes what other keys send inside the keyboard and is typically not reported as its own key. Hold fn and press a function key: the second key should change, which shows fn works.

Command+Q or Command+W closed the tab. Can I test them?

The browser treats those as its own shortcuts, so test the command key and the letter key separately. If each one shades on its own, both keys work.

Can I test a MacBook's built-in keyboard?

Yes. Choose the 60% / laptop size to match the shape, then press every key. A key that never shades did not reach macOS or the browser.

Do I need to change the layout for a UK Mac keyboard?

The Mac drawing follows the US shape. On a UK or European Mac keyboard, test the extra key next to the left shift too; it appears in the log even if the drawing has no space for it.

What is the difference between a Mac and a PC keyboard here?

The keys are in mostly the same places, and the browser reports physical positions the same way. The labels differ: command sits where a PC has the Windows key, and option where a PC has Alt.

Related tests

Sources

Settings paths and device facts on this page come from these official pages, checked on 28 Nov 2026.