Skip to content
Changelog
new tooladvanced-local

Keycode Inspector

v1.0

Keycode Inspector shows every property of a keyboard event when you press a key. The whole chord appears as keycaps in your platform's notation (⌘ on a Mac, Win or Super elsewhere).

The properties are split into modern and legacy. event.key and event.code come with a short note on what each is for, and the deprecated keyCode and which are badged with why they were retired. Every value has a copy button, the combination is shown as portable keybinding text, and a ready-to-paste addEventListener snippet is generated from your exact press.

The display holds the keydown you meant to inspect, while a log records keydown and keyup, newest first, with modifiers, repeat markers and the milliseconds between events. Keys you're holding show as chips, so it doubles as a rollover tester. In Chromium browsers it also shows what your layout produces for the last physical key. On touch devices the tool says up front that on-screen keyboards report Unidentified placeholders. Everything runs in your browser.

All changes