Mac Keyboard Tester

A Mac keyboard tester drawn as a MacBook or Magic Keyboard rather than a PC board: command, option, control, fn and the function row are where your fingers expect them, with Apple's key names on the caps. Press each key and it lights up; a key that stays lit is held or stuck, a key that fires twice is flagged as chatter. Keys macOS keeps for itself, the Globe/fn key, Touch ID and the function row in its default mode, are drawn dimmed and explained below, so an untested count of zero means exactly that.

Click the keyboard, then press any key (hold fn for F1–F12)
Result class: Measured
pressed nowtestedstuck suspectchatter suspect
Tested
0
Untested
75
Held now
0
Suspects
0
KeyCodeLocHeldNote
Key events appear here with hold time in milliseconds.
— — Hz

Runs in your browser. Nothing is uploaded.

How to use

  1. Click the drawn keyboard. The status line turns green and keys are captured, so command and option combinations no longer trigger macOS shortcuts inside the page (system-level ones such as Command-Tab still do).
  2. Press every key once, row by row. Teal means it registered; orange after two seconds means held or stuck; red means it repeated within the chatter threshold. Hold fn while pressing the top row to test F1–F12 themselves.
  3. Pick your board in Settings: MacBook ANSI (US), MacBook ISO (UK and European boards with the tall return key), or the Magic Keyboard with numeric keypad, which adds F13–F19, the navigation block and the keypad.
  4. Press esc to release the keyboard, then download the PNG report if a key failed; it lists the layout, every untested key and any chatter or stuck suspects.

Test your Mac keyboard

Click the keyboard in the frame and press each key. The drawing is a MacBook (ANSI or ISO) or a Magic Keyboard with numeric keypad, with Apple’s key names: command, option, control, shift, caps lock, return, delete, fn. Keys that register turn teal; the counters show tested, untested, held and suspects; the log underneath lists each event with its code, so a key that types the wrong character shows up as a code that does not match its cap. Press esc to release the keyboard when you are done. The full keyboard tester has the same engine with PC layouts, and the chatter test and latency test go deeper on the two faults that this page can only flag. For the raw values a Mac key sends (command reports as Meta, option as Alt), the keycode finder shows event.key, event.code and keyCode per press.

Two Mac-specific points before you start. Because the page captures keys only while the drawing has focus, command and option combinations that an app would normally intercept register as ordinary presses; macOS-level shortcuts (Command-Tab, Command-Space, the screenshot keys) still belong to the system and are not captured in a browser window. And the right command and option keys are drawn and counted separately from the left ones, because the browser reports which side was pressed; a MacBook whose right option key is dead shows up here, where a typing test would not notice.

Keys macOS keeps for itself (Fn/Globe, Touch ID, Mission Control)

Three groups of keys never produce an ordinary key event, and the tester draws them dimmed rather than counting them as failures. The fn or Globe key. Apple lists it among the modifier keys alongside control, option, shift, caps lock and command; it changes what the other keys do and is not itself a key press the page can see. Apple’s shortcut list gives the test: press fn twice (Fn–Fn) and the Character Viewer opens. Touch ID. The top-right button on Touch ID keyboards is a fingerprint sensor and power control, not a key. The function row in its default mode. Apple’s description is that the top-row keys control “display brightness, Mission Control, Spotlight, and Dictation, as well as several media-playback and volume controls”; macOS acts on most of those directly, so the page sees nothing, or sees a media key that some browsers report and others do not. To test F1 to F12 as keys, Apple’s instruction is to “press and hold the Function (Fn)/Globe key while pressing a function key”; to make that the default, System Settings › Keyboard › Keyboard Shortcuts › Function Keys, then “Use F1, F2, etc. keys as standard function keys” (System Preferences › Keyboard on older macOS). With that setting on, the whole row lights up here like any other key, and brightness and volume move to fn-plus-key instead.

The Magic Keyboard with numeric keypad adds F13 to F19, which have no default macOS function and register directly, a navigation block without an Insert key (Mac keyboards never had one), and a keypad whose top-left key is clear rather than num lock; the page shows it as clear and reports the code the Mac sends. The eject or power position on older Apple keyboards is drawn as Touch ID on the current boards and is undetectable either way.

Testing a MacBook butterfly keyboard

The 2015 to 2019 MacBook, MacBook Air and MacBook Pro models with the low-travel butterfly mechanism are the Macs most often brought to a keyboard tester, because their characteristic faults are exactly what a tester shows: letters that repeat unexpectedly, letters that do not appear, and keys that feel sticky or respond inconsistently. Run the test slowly on those machines. A repeating key shows as a red chatter suspect with the time between the two presses in the log; lower the chatter threshold in Settings if a double registers slower than 50 ms. A key that does not appear shows as untested after a normal press and as tested only after a hard one; press each key twice, once lightly, to catch the ones that need force. A sticky key shows as held (orange) for longer than your finger was on it. Apple ran a Keyboard Service Program for these models that covered those symptoms; its page now states that the programme has ended, so a butterfly keyboard with these faults today is a paid repair (the whole top case on most of these models) unless consumer law or another cover applies in your country. The report from this page, with the dates, is the evidence to take to that conversation. Compressed air at a shallow angle, as Apple used to recommend for debris under butterfly keys, is the one home remedy; anything that lifts a butterfly keycap tends to break it.

Mac keyboard not working: quick fixes

Apple’s own troubleshooting steps for a Mac that does not respond to key presses, in order. For an external keyboard: make sure it is turned on and charged and that Bluetooth is on, then disconnect the keyboard’s Bluetooth connection and reconnect it; for a wired keyboard, physically disconnect and reconnect it and make sure the connector is completely inserted. To isolate the fault, connect the keyboard to a different port or to a different Mac, or connect a different keyboard to this Mac. For a MacBook’s built-in keyboard, Apple points out that the Mac may be showing a low-battery alert you cannot see: connect it to power, or connect an external keyboard to dismiss the alert. If only some keys misbehave, check Slow Keys under System Settings › Accessibility › Keyboard and Mouse Keys under System Settings › Accessibility › Pointer Control, both of which make a healthy keyboard seem broken, and check the input source under System Settings › Keyboard › Text Input › Edit, turning on “Show Input menu in menu bar” to see which layout is active; a US layout on a UK board is the classic cause of the wrong characters, which the ANSI vs ISO guide explains. Caps lock and the media eject key on older keyboards have a built-in delay: hold them until the indicator or icon appears. Meanwhile, the on-screen keyboard (Keyboard Viewer) lets you keep working with the mouse or trackpad. The keyboard not working guide covers the rest, including the firmware-level test that tells a dead keyboard from a software problem.

Mac keyboard tester settings and shortcuts

Layout MacBook ANSI, MacBook ISO or Magic Keyboard with numeric keypad. Key labels Apple key names by default; switch to the PC labels if you are testing a Windows keyboard on a Mac, where the Windows key reports as command and Alt as option. Chatter threshold 20–100 ms. Show the event log on or off. Esc releases the keyboard; full screen enables Keyboard Lock where the browser supports it, so that esc and tab reach the test. Nothing you type is recorded or sent; the PNG report is generated on your Mac. All keyboard, mouse and controller tests are listed on the input tests hub.

Frequently asked questions

Why don't the function keys light up on my MacBook?

By default the top row controls brightness, Mission Control, Spotlight, dictation, media and volume, and macOS handles most of those before the browser sees anything. Hold the fn (or Globe) key while pressing a top-row key to send F1–F12 to the page; Apple's setting to make that permanent is System Settings › Keyboard › Keyboard Shortcuts › Function Keys, "Use F1, F2, etc. keys as standard function keys".

Why is the fn or Globe key always untested?

The fn/Globe key is handled by the keyboard and macOS and does not reach web pages as an ordinary key press, so the tester draws it dimmed and leaves it out of the untested count. Apple documents it as a modifier: hold it with a top-row key for the F-key, or press fn twice to open the Character Viewer, which is the quickest way to prove the key itself works.

Does Touch ID count as a key?

No. On MacBooks and Magic Keyboards with Touch ID the top-right button is a fingerprint sensor and power button, not a typing key; pressing it sends nothing a browser can see, so it is drawn dimmed. Test it by locking the Mac and unlocking with your finger.

Does the tester work with a Magic Keyboard over Bluetooth?

Yes, and with any third-party keyboard connected to a Mac; the drawing is a MacBook or Magic Keyboard, but the key codes are the same for all of them. If nothing lights up, Apple's first checks apply: the keyboard is on and charged, Bluetooth is on, and disconnecting and reconnecting the keyboard in Bluetooth settings.

Can this fix a sticky or repeating MacBook key?

It can confirm it: a key that registers twice from one press shows as chatter, a key that needs a hard press shows as untested until it registers. The fix is physical (clean under the cap, or a keyboard repair); Apple's butterfly keyboard service programme covered these symptoms on 2015–2019 models but Apple's page now states the programme has ended, so a repair is a paid service unless another cover applies.

Last updated:

Reviewed by: TestPane Editorial Team

Tested on: Chromium 141 (automated, synthetic key events), Firefox 142 (automated, synthetic key events), WebKit 26 (automated, synthetic key events)