Skip to content
Keyboard ➝ JS Events100% Client-Side

JS KeyCode Viewer

Press any key on your keyboard and read its keyCode, key and code values — captured live with a plain keydown listener, entirely client-side.

Press any key on your keyboard…
event.keyCode—
event.key—
event.code—
Keys captured0
How to

How to generate key code online for free

  1. 1Set the options for your key code.
  2. 2Click Generate — the result is created instantly in your browser.
  3. 3Copy the output or download the generated file.
FAQ

Frequently Asked Questions

Answers to the most common questions about Convrs.

How do I generate key code for free?
Set your options, click Generate, and copy or download the result. It is free and created locally on your device.
Is JS KeyCode Viewer private and secure?
Yes. JS KeyCode Viewer runs entirely in your browser, so your data never leaves your device — nothing is uploaded or stored on a server.
What is a keycode?
A keycode is the numeric identifier a browser reports for a key press, used when building keyboard shortcuts, games or forms.
About this tool

Understanding JS KeyCode Viewer

JS KeyCode Viewer creates key code instantly in your browser. Set the options you need, generate, and copy or download the result — free, private, and done locally.

Browser-based utilities earn their place by being controllable. You see exactly what goes in, you get exactly what comes out, and you can re-run the tool as often as you like without trading your data for it. It fits naturally between your editor and your terminal.

Privacy by construction: JS KeyCode Viewer runs entirely in your device's memory. Your files, text and data are never uploaded, stored or logged by us — there is no server in the path.

100% in-browser — nothing is uploaded
No account or sign-up required
Free to use, no watermarks
Runs on desktop and mobile browsers
Your source data is never stored or logged
Buy me a coffee