Skip to content

komed3/keycodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keycodes

A simple, elegant tool to display and analyze keyboard events in your browser.

Features

  • Shows all key events and their properties (key, code, keyCode, location, modifiers, repeat, etc.)
  • Detects and displays modifier keys (Ctrl, Shift, Alt, Meta/Cmd, Fn) and their combinations (e.g. Ctrl+X)
  • Blocks default browser and OS actions as much as possible for uninterrupted testing
  • Responsive, minimal UI — works on desktop and mobile
  • No dependencies, pure JavaScript and CSS
  • Useful for developers to test keyboard layouts, shortcuts, and event properties

Usage

Open komed3.github.io/keycodes in your browser.
Press any key or key combination.
All relevant event data will be displayed instantly.

Integration

You can use this tool as a standalone page or embed the logic in your own projects to debug or visualize keyboard input.

License

© 2025 Paul Köhler (komed3) / MIT License

About

A tool to display and analyze keyboard events and modifiers in the browser

Topics

Resources

License

Stars

Watchers

Forks