Keyboard Layout Tester
Press any key to test it. See its name, code, location and modifiers, watch it light up on the visual keyboard, detect whether your layout is QWERTY, AZERTY or QWERTZ, and try the sticky keys test mode. Tip: click anywhere on this page first so your key presses are captured here.
Last key pressed
- Key name
- —
- Physical code
—- Key code (numeric)
- —
- Location
- —
- Repeat press
- —
Modifiers
Violet means the modifier is currently held down. Amber means it is latched by sticky keys test mode.
Layout detection
Detected layout: Not detected yet
Press the keys in the top letter row — Q, W, A, Z, Y, M — to build samples.
Visual keyboard
Sticky keys test mode
When on, a modifier like Shift stays latched for 4 seconds after you release it. Then press a letter and the tester registers it as a sticky combination (for example Shift + A) without you holding both keys. Press the modifier again to unlatch it.
Key event log
How to test your keyboard
- Click anywhere on this page, then press keys one by one.
- Read each key name, physical code and location in the panel above.
- Press Q, W, A, Z, Y, M to let the tester detect your layout (QWERTY, AZERTY or QWERTZ).
- Turn on sticky keys test mode and press Shift, release it, then press a letter to simulate a sticky combination.
Everything runs in your browser — nothing you type is sent anywhere. The numeric key code shown comes from the classic keyCode value for reference; the physical code (for example KeyA) identifies the key position regardless of your layout.
Frequently Asked Questions (FAQ)
What information does the keyboard tester show for each key?
For every key you press it shows the key name, the physical code (like KeyA), the numeric key code, the key location (left, right, standard or numpad), the state of the Shift, Ctrl, Alt and Meta modifiers, and whether it is a repeated press.
How does the keyboard layout detection work?
The tester compares the character produced by a key with the physical key position. For example, if the physical Q key types an A, that points to AZERTY, and if the physical Y key types a Z, that points to QWERTZ. Press keys in the top letter row to build enough samples.
What is the sticky keys test mode?
When sticky keys test mode is on, a modifier such as Shift stays latched for a few seconds after you release it. Press a letter next and the tester registers it as a sticky combination, like Shift plus A, without holding both keys.
Is my keyboard data sent anywhere?
No. Everything runs in your browser with JavaScript and nothing you type is sent to any server.
Why do some keys not produce a character?
Keys like Shift, Ctrl, Alt, Caps Lock, Tab and the function keys do not type characters, but the tester still shows their name, code and location so you can confirm they work.