Are my keystrokes recorded or sent?
No. Key events are shown on this page and kept in a short list that disappears when you leave.
key, code, and modifiers.
Press any key or shortcut to see exactly what the browser reports: key, code, keyCode, location, repeat, and modifier state, plus a copy-ready event handler.
Loading the toolbox.
You do not have to take our word that your data stays here. Developer tools show every request a page makes, so you can watch this page work and confirm that nothing is sent. The check takes under a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Only two things can add a line to that log, and neither carries your data. Submitting the feedback form sends the vote and comment you typed. Typing characters in a script the page has not displayed yet, such as Cyrillic or Greek, can make the browser fetch the matching font file, and that request names only the font.
The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so a coding mistake could not quietly send your data elsewhere.
event.key is the character or action the key produces with the current layout and modifiers: a, A, Enter, or ?. event.code names the physical key, regardless of layout: the key to the right of Tab is always KeyQ, even on a French AZERTY keyboard where it types A.
Match code for shortcuts that depend on position, such as WASD movement in a game. Match key when the character matters, such as ? to open help, so the shortcut works on every layout.
No. keyCode and which are deprecated numeric codes that differ between browsers and layouts. They are shown for debugging old code, but new handlers should use key or code. The generated handler uses code by default and lets you switch to key.
The browser and operating system claim certain combinations before any web page sees them, such as Cmd+W, Cmd+Q, Ctrl+Tab, and Ctrl+Alt+Del. A page cannot override them and should not try. Choose shortcuts that do not collide with browser defaults, and remember that Tab still moves focus out of the capture area so the page stays accessible.
Elsewhere in the toolbox: 2uuid, 2gitignore, 2csp, 2htaccess, and more on the 2toolbox home page. Part of the 2suite.io privacy-first ecosystem.
No. Key events are shown on this page and kept in a short list that disappears when you leave.
event.key follows the active layout. event.code is Digit2 on both.
Check e.metaKey on macOS and e.ctrlKey elsewhere, or accept either for common shortcuts like save.
An input method editor is composing text. Wait for the compositionend event before acting.