Key Code & ASCII Reference
Look up keyboard key Key Code and ASCII code values.
Tool Guide
Tool Introduction
The Online Keyboard KeyCode and ASCII Code Real-Time Capture Detector is a high-frequency interactive debugging must-have built for front-end interaction developers, game control script writers, and web designers. It supports real-time monitoring of any key on your keyboard, visualizing the key's `event.key`, `event.code`, and the classic `event.keyCode` property values in milliseconds.
Core Features
- Three-dimensional dynamic key event monitoring: Captures and details all core states of a key in real time: including the key name, physical code value, hexadecimal ASCII code value, and whether modifier combinations such as `Alt` / `Ctrl` / `Shift` / `Meta` are pressed.
- Extra-large, minimalist on-screen card: Uses a beautifully designed, large-font neon card to display the current KeyCode (for example, the `A` key shows a huge `65`), providing ultimate visual clarity so you never have to squint while debugging.
- Zero-lag native browser capture: Runs 100% on native browser JavaScript key events, with no server translation required, delivering instant response and extremely efficient debugging.
How to Use
- Open the tool page and make sure the mouse focus is within the current page.
- Press any single key you want to detect on the keyboard (for example, the `Enter`, `Shift`, or `Space` key), and the page will instantly highlight and refresh.
- The debug card will clearly display the key's English name, KeyCode, Code, and character state, and you can copy the code variable you need with one click.
Related Tools
Emoji Reference
Complete emoji reference with online lookup and copy functionality.
Special Symbols
Collection of special symbols including emoji, math symbols, arrows and special text.
HTML Color Code Table
Common HTML color code table for web development with HEX/RGB values and preview.
ASCII Table
Complete ASCII code table with control characters, printable characters and extended ASCII codes.
MIME Type Reference
A comprehensive MIME type (Multipurpose Internet Mail Extensions) reference. Look up the standard Content-Type for any file extension (.json, .pdf, .mp4) along with its transfer format.
HTML Entity Reference
A quick-reference table of common HTML character entities. Look up and copy the named, decimal and hexadecimal codes for special characters (non-breaking space, copyright sign, Greek letters) to avoid markup conflicts.