首页Home › 开发工具Developer Tools

⌨️ 键盘按键码查询JavaScript Keycode Tester

按下任意键,查看 event.key、event.code、keyCode 和修饰键状态,前端开发必备。Press any key to see event.key, event.code, keyCode and modifier states.

点击这里后按任意键Click here, then press any key

使用说明与常见问题How-to & FAQ

「键盘按键码查询」是什么?What is the JavaScript Keycode Tester?

按下任意键,查看 event.key、event.code、keyCode 和修饰键状态,前端开发必备。Press any key to see event.key, event.code, keyCode and modifier states.

如何使用「键盘按键码查询」?How do I use the JavaScript Keycode Tester?

在「键盘按键码查询」中,无需输入或设置:打开页面后结果会自动显示在上方并实时刷新;点击右上角「English」可切换为英文界面。In the JavaScript Keycode Tester: Nothing to enter: open the page and the results appear above and refresh live; use the 中文/English button at the top right to switch language.

代码或数据会被上传吗?Is my code or data uploaded?

不会。「键盘按键码查询」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The JavaScript Keycode Tester runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.

「键盘按键码查询」免费吗?需要注册吗?Is the JavaScript Keycode Tester free? Do I need an account?

「键盘按键码查询」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The JavaScript Keycode Tester is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🔐 Linux 权限计算器 chmodChmod Calculator🏷️ 语义化版本比较Semantic Version Compare🔡 ASCII 码对照表ASCII Table🧭 JSONPath 在线测试JSONPath Tester🆚 JSON 对比(差异比较)JSON Diff📐 JSON Schema 生成器JSON Schema Generator⬇️ HTML 转 MarkdownHTML to Markdown Converter⏲️ Cron 表达式生成器Cron Expression Generator🤖 robots.txt 生成器Robots.txt Generator🏷️ SEO Meta 标签生成器SEO Meta Tag Generator🔗 UTM 链接生成器UTM Campaign URL Builder↪️ .htaccess / Nginx 重定向生成器Redirect Generator (.htaccess & Nginx)

← 全部工具All tools