Keyboard event viewer
Press a key to see its key, code and keyCode values for JavaScript.
🔒 Runs on your device⚡ No upload✓ Free, no sign-up
How to use Keyboard event viewer
- Fill in the boxes above.
- The answer updates as you type.
- Copy the result if you need it somewhere else.
Questions
Is Keyboard event viewer free?
Yes. It is free with no sign-up, no watermark and no ads.
Is what I enter uploaded?
No. Everything happens in your browser. Nothing you type or open is sent to our server; we only count that the tool was used.
Does it work offline?
Yes, once the page has loaded it keeps working without internet.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux.
Related tools
JSON formatterMake JSON readable with indentation, and see exactly where it is broken.JSON validatorCheck if JSON is valid and find the line and column of any error.JSON minifierRemove spaces and line breaks from JSON to make it as small as possible.JSON to YAMLTurn JSON into readable YAML for config files.JSON to XMLTurn JSON into XML, with a root element name you choose.JSON to TypeScriptMake TypeScript interfaces from a sample JSON object.XML formatterIndent XML neatly and check that it is well formed.XML to JSONTurn XML into JSON, keeping attributes and repeated elements.