key follows the produced character; code follows the physical key position.
Keyboard Tester
Capture keys, codes and repeat in real time
key represents value; code represents physical position
KeyboardEvent separates useful diagnostic information: key changes with layout and modifiers, while code identifies the physical key position. The tool also shows location and repeat for held keys.
Focus the area and press keys
- Click or Tab into the test area.
- Press and release keys to see key, code and events.
- Hold a key to check repeat behavior.
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.