JavaScript Keycode Finder - Online Keyboard Event Tool
Press any key to see the corresponding JavaScript event key, code, and keyCode. An essential debugging tool for front-end developers handling keyboard input.
UD5 Toolkit
Click modifier keys to filter shortcuts · Interactive macOS cheat sheet
| Shortcut | Action | Category | Copy |
|---|
No shortcuts match your current filters. Try adjusting your selection.
Modifier Key Positions on Mac Keyboard (Bottom Row)
Standard full-size Mac keyboard layout · Compact keyboards may vary slightly
Mac modifier keys include Command (⌘), Option (⌥), Control (⌃), Shift (⇧), and Function (Fn). These keys modify the behavior of other keys when pressed together, enabling keyboard shortcuts for nearly every macOS action.
The Command (⌘) key is the primary modifier for most macOS shortcuts (like ⌘C for Copy, ⌘V for Paste), similar to Ctrl on Windows. The Control (⌃) key on Mac has more specialized uses—such as right-click emulation (⌃+click), Mission Control gestures, and terminal commands.
The Option (⌥) key often enables alternate or advanced actions. For example, ⌥+click reveals additional menu items, ⌥+drag duplicates files, and ⌥ combined with other shortcuts (like ⌘⌥Esc for Force Quit) provides power-user functionality across macOS.
Essential shortcuts include: ⌘C (Copy), ⌘V (Paste), ⌘Z (Undo), ⌘⇧Z (Redo), ⌘Q (Quit app), ⌘W (Close window), ⌘Tab (Switch apps), ⌘Space (Spotlight search), and ⌘⇧4 (Screenshot selection).
Yes! Go to System Settings → Keyboard → Keyboard Shortcuts (or System Preferences on older macOS). You can remap modifier keys under "Modifier Keys," reassign existing shortcuts, or create custom app-specific shortcuts. This is especially useful for users switching from Windows.
By default, MacBooks use F1–F12 keys for system controls (brightness, volume, etc.). To use standard function keys as F-keys for shortcuts, hold the Fn key while pressing them, or go to System Settings → Keyboard and enable "Use F1, F2, etc. keys as standard function keys."
This interactive macOS modifier key cheatsheet covers 60+ essential keyboard shortcuts across System, Finder, Screen Capture, Text Editing, Browser, and Window Management categories. Use the modifier key buttons above to discover Command (⌘), Option (⌥), Control (⌃), Shift (⇧), and Function (Fn) key combinations.
Press any key to see the corresponding JavaScript event key, code, and keyCode. An essential debugging tool for front-end developers handling keyboard input.
Check if a URL can be embedded in an iframe. Test your site’s defense against clickjacking. Browser‑based.
Generate a Nuxt 3 page component with script setup, metadata, and styles. For Vue.js developers. Copy the .vue file.
Fill in event details and generate 'Add to Calendar' links for Google, Outlook, and Yahoo, plus a downloadable .ics file.
Press any key combination and see the human‑readable shortcut for macOS and Windows. Developer docs helper.
Enter a URL and see a visual map of the tab order. Detect broken tabindex values. Improve keyboard navigation.
Press any key combination and record the sequence. Export as JSON or human‑readable text. Perfect for documenting shortcuts.
See the roving tabindex pattern in action. Use arrow keys to navigate a list. Copy the accessible JavaScript pattern.
Create a properly styled 'Skip to Content' link. Customize target and appearance. Essential for keyboard users. Copy the HTML/CSS.
Connect your MIDI keyboard and see pressed notes visually on a piano roll. Check velocity, channel, and aftertouch. No DAW needed.
Compare :focus and :focus‑visible styling. See which one applies when using mouse vs. keyboard. Accessible focus management.
Press any key to see the complete KeyboardEvent properties: key, code, keyCode, modifiers. Indispensable for game & shortcut developers.
Press any key and see it light up on a standard QWERTY layout. Check functionality or demonstrate shortcuts.
Enter a URL and extract tab‐index order violations and focusable elements. Quick accessibility audit. Client‑side fetch.
Play a virtual piano keyboard using mouse or computer keys. Sustain and octave control. Record and play back your tune.
Press keys on your physical keyboard and see them highlighted on a virtual keyboard. Detects multi-key rollover. Quick hardware check.