中文版 English

⚡ Apple Keyboard Diagnostic

Last Key: -
KeyCode: -
Now:0 Max:0
⌨️ Key:
🆔 Code:
🔢 Which:
esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
~`
!1
@2
#3
$4
%5
^6
&7
*8
(9
)0
_-
+=
delete
tab
Q
W
E
R
T
Y
U
I
O
P
{[
}]
return
CapsLock
A
S
D
F
G
H
J
K
L
:;
"'
|\
shift
~`
Z
X
C
V
B
N
M
<,
>.
?/
shift
fn
control
option
command
command
option
📋 Event Log (Chatter threshold <80ms in red · hold ignored)
⏱️ Log started, press any key... (↓ down/↑ up)

Apple Magic Keyboard & Apple Keyboard Tester Features

Full Keyboard Visualization · Magic Keyboard Compatible

Complete Apple ISO keyboard layout. Whether you're using an Apple Magic Keyboard, Magic Keyboard, or AppleBook built-in keyboard, every key press instantly highlights the corresponding key. Supports function keys, modifiers, and international keys for intuitive feedback.

Precise Chatter Detection

Automatically timestamps each key press. When two presses occur within 80ms, the log entry is highlighted in red to help you quickly identify potential switch bounce issues in your Magic Keyboard.

Tip: Normal key intervals are typically >100ms. Abnormal rapid chattering is often caused by aging switches.

Modifier & Combo Key Test

Individually test Control, Option, Command, Fn, and other modifiers. Simultaneously press multiple keys to test NKRO (max concurrent keys displayed). Perfect for evaluating Magic Keyboard's butterfly or scissor mechanisms.

Real-time Log & Key Code Analysis

Every press and release is logged with precise time, key, code, and which value – ideal for developers or advanced users analyzing input details or Bluetooth latency on Magic Keyboard.

Compatible with All Modern Browsers

Built with vanilla JavaScript, no plugins required. Runs smoothly on Chrome, Edge, Safari, Firefox. Works with Bluetooth-connected Magic Keyboard as well.

One-click Reset, Repeat Testing

Click "Reset Test" to clear all counts and logs, making it easy to run multiple test rounds or compare different keyboards (e.g., Magic Keyboard vs. third-party).

Frequently Asked Questions (FAQ)

How do I test the keys on my Apple Magic Keyboard?

Press any key on your Magic Keyboard while looking at the keyboard layout in the center of the page. The corresponding key will highlight, the status panel will show the key name, KeyCode, and which value, and the log area will record each press and release with timestamps. If a key does not respond, it may indicate a hardware issue or Bluetooth connection problem.

What is chatter detection? How can I tell if a Magic Keyboard key is chattering?

Chatter detection monitors the time interval between two presses of the same key. If the interval is less than 80 milliseconds (typically indicating abnormal rapid double-clicking), the log entry is highlighted in red and labeled as a chatter alert. This helps you identify potential switch bounce issues, common in some keyboard mechanisms.

Why does my Apple Magic Keyboard show no response in the log when I press a key?

Make sure the test area is active (just press any key directly). If there's still no response, it could be a browser permission issue or a hardware problem. Try refreshing the page or using another browser (Chrome, Edge recommended). Also check if your OS recognizes the keyboard, especially for Bluetooth connections. Wired Magic Keyboards are also supported.

How can I test modifier keys (Command, Option, etc.)?

Simply press the modifier key (e.g., left Command, right Option). The corresponding key on the on-screen keyboard will light up, and the status panel will show the key name and code. You can press multiple modifiers simultaneously to test combination key recognition.

Which Apple keyboard layouts are supported? Is the Apple Magic Keyboard compatible?

This tool uses a standard ISO Apple keyboard layout, covering all major keys including function keys (F1-F12), number keys, letters, punctuation, and the bottom row modifiers (Control, Option, Command) and arrow keys. It is fully compatible with Apple Magic Keyboard (including the numeric keypad version), Magic Keyboard, AppleBook built-in keyboards, and other third-party Apple keyboards.

What is the significance of maximum concurrent keys (NKRO) for Magic Keyboard?

Maximum concurrent keys indicate how many keys can be pressed simultaneously and still be correctly recognized. For gamers or users with complex shortcuts, a high NKRO value is important. Magic Keyboard typically supports 6-key rollover. This tool records the current number of keys held down and shows the historical maximum during the test, giving you insight into your keyboard's actual concurrency capability.