KeyCode Info Viewer — JavaScript Keyboard Event Visualizer

Discover how keys are interpreted by JavaScript. View keyCode, code, physical layout location, and modifier status in real-time. Includes regional keyboard visualization.

Keyboard Visualizer
Keyboard
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
`
1
2
3
4
5
6
7
8
9
0
-
=
Tab
Q
W
E
R
T
Y
U
I
O
P
[
]
\
Caps
A
S
D
F
G
H
J
K
L
;
'
Enter
Shift
Z
X
C
V
B
N
M
,
.
/
Shift
Ctrl
Alt
Space
Alt
Menu
Ctrl
Press any key to see it highlighted
PropertyValue
Key
Code
KeyCode
Location
Ctrl
Shift
Alt
Meta

Inspect Key Codes and Keyboard Events in Real Time

This tool lets you press any key and instantly view JavaScript event data such as key, code, keyCode, and location. It also tracks modifier keys like Ctrl, Shift, Alt, and Meta.

Visual Keyboard with Layout Switching

Explore a full virtual keyboard with accurate regional layouts: US ANSI, UK ISO, and EU ISO. The layout dynamically highlights the key you press, giving clear feedback for each key event.

Custom Keyboard Size Options

  • Letters Only: Minimal alphabet row view
  • Tenkeyless (TKL): Full layout minus numpad
  • Full Size: Includes full number pad with math keys

Great for replicating actual device keyboard configurations and testing responsive shortcuts.

Use Cases

  • 🎯 Debug key handling in JavaScript apps
  • ⌨️ Test shortcuts and key combinations
  • 📐 Identify keyboard layouts and differences
  • 🔐 Validate accessibility key support

Pro Tip

Use this tool while building keyboard-controlled components (e.g. sliders, modals, editors) to ensure all keys are handled correctly — across devices and layouts.

Frequently Asked Questions (FAQs)

Why Use ToolMateX

Tired of bloated tool websites with 10 ads per click? This platform is built for speed, simplicity, and reliability. Whether you're debugging JSON or testing colors, we’ve got your back.

Free to Use, Forever
Free to Use, Forever

All tools run right in your browser, fast, reliable, and available whenever you need them. No ads, and nothing to install.

Explore Tools
Works Offline (Most of Them)
Works Offline (Most of Them)

Most of my tools work directly in your browser without needing a server. Perfect for fast workflows (even if you’re offline).

Try it in airplane mode
Made by a 1-Person Team
Made by a 1-Person Team

Made by someone who actually uses these tools daily. It’s fast, clean, and made with your workflow in mind, not corporate KPIs.

Read the story