Mac Keyboard Test

A keyboard test for Mac: press Start, then press every key on your MacBook or Magic Keyboard. The Mac layout (Command, Option, no numpad) is drawn by default, keys light up by physical position, and the page watches for keys that type twice or stay down. macOS has quirks that fool simpler keyboard testers; this page accounts for them. Nothing you type leaves this page.

1. Test

Keys received 0
Held now none
Most held at once 0
Possible double registration none seen

Press each key once. Green means your browser received it. Striped keys (like Fn) never reach a browser, so they are not counted. When you are done, press I've pressed every key so anything missing is reported.

While the test runs, keys do nothing else on this page. Stop with the button, or hold Escape for two seconds.

Advanced
A second press sooner than this after the first counts as possible chatter.
Fullscreen that also captures the Windows key, Alt+Tab and Ctrl+W (Chrome and Edge). Hold Escape to leave.

Last events, as your browser delivered them (shown live, never saved):

typekeycodelocationrepeatmodifierstime (ms)

2. Result

Is it the keyboard or the computer?

Save the JSON here, run the test again with the keyboard on another computer or USB port, then load the first file. If the same problem shows up on both, it follows the keyboard.

In this browser

    About the Mac Keyboard Test

    How to use it

    1. Open this page in Safari, Chrome or Firefox on your Mac and press Start test.
    2. Press every key once. Press the function keys with and without Fn if you want to see both their F-key and media behaviour.
    3. Press I've pressed every key so any key that never arrived is listed.
    4. If a key types twice, open the Chatter check tab and press it 30 times.

    What this page focuses on

    Reading your result

    Why doesn't Fn light up?

    Fn is read by the keyboard and macOS before any app or browser sees it. No web page can test it. To check Fn, see whether Fn plus a function key changes brightness or volume.

    A key looks stuck while I hold Command. Is it broken?

    Probably not. macOS does not tell browsers when other keys are released while Command is down. Release Command and the page clears them.

    Some keys type the wrong character. Is that the keyboard?

    Usually it is the input source setting in macOS (for example British instead of U.S.). The page tells you when the characters match a different layout rather than a hardware fault.

    What a browser cannot test

    Fn is handled inside the keyboard and never reaches any web page. Brightness, volume and media keys are often taken by your system first. Browser and system shortcuts (Ctrl+W, Alt+Tab, the Windows key) are kept by the browser or system, except in Full keyboard mode in Chrome and Edge. Ctrl+Alt+Delete cannot be tested anywhere. No web page can measure keyboard latency, scan rate or polling rate, or certify a rollover (NKRO) rating, and this one never claims to.

    Privacy

    The test runs entirely in your browser. Nothing you press is uploaded, and nothing is saved after you close or refresh the page. Saved files are created on your device and only go where you send them.

    Related