Why it matters
Shortcuts break on non-UK layouts when code uses keyCode or the wrong property.
event.key is the character typed; event.code is the physical key. This shows both.
How to use it
- Type or paste your input; the example shows the format.
- Press Start viewer. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
key or code?
key for text and shortcuts by letter; code for games using physical positions.
Why is keyCode deprecated?
It's inconsistent across layouts and browsers. Use key or code.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.