{"id":67602,"date":"2026-11-22T12:52:52","date_gmt":"2026-11-22T09:52:52","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67602"},"modified":"2026-11-22T12:52:52","modified_gmt":"2026-11-22T09:52:52","slug":"keyboard-tester-test-keys-online","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/web-tools\/keyboard-tester-test-keys-online\/","title":{"rendered":"Keyboard Tester \u2013 Test Keys Online"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Press Any Key to Test It<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67602\" data-favorite-title=\"Keyboard Tester\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/web-tools\/keyboard-tester-test-keys-online\/\" data-favorite-excerpt=\"Press any key on your keyboard and instantly see it light up on a virtual layout \u2014 blue while pressed, green once verified \u2014 with the key code, keyCode and rollover count. Works with full-size, TKL, 60% and Mac layouts.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-window-code\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/web-tools\/keyboard-tester-test-keys-online\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67602\" data-post=\"67602\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field\" id=\"input-1\"><label for=\"field-1\">Keyboard layout<\/label><div class=\"grid grid-cols-1\"><select id=\"field-1\" name=\"keyboard_layout\"><option value=\"full\" selected>Full size (104 keys) \u2014 with function row, navigation cluster and numpad<\/option><option value=\"tkl\">TKL \u2014 tenkeyless (no numpad)<\/option><option value=\"sixty\">60% \u2014 compact, no function row<\/option><option value=\"mac\">Mac \u2014 Apple layout (\u2318 \/ \u2325 legends)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field is-checkbox\" id=\"input-2\"><input type=\"checkbox\" id=\"field-2\" value=\"1\" checked=\"checked\"\/><label for=\"field-2\">Block scrolling &amp; shortcut keys<\/label><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67602\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Keyboard Test<\/h3><div class=\"result-box\"><div class=\"field-result is-column\" id=\"output-1\"><span class=\"field-title\"><span>How this keyboard test works<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-2\"><span class=\"field-title\"><span>Virtual keyboard \u2014 press keys now<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-3\"><span class=\"field-title\"><span>Keys that misbehave \u2014 and why<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-4\"><span class=\"field-title\"><span>About key codes, rollover and your privacy<\/span><\/span><span class=\"field-value\" id=\"result-4\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67602\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Keyboard Test Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ \\text{pass}(c) \\;=\\; \\text{keydown}(c) \\,\\land\\, \\text{keyup}(c), \\qquad \\text{rollover} = \\bigl| \\{\\, c \\in C : c \\ \\text{currently down} \\,\\} \\bigr| \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(c\\) \u2014 a physical key, identified by its W3C <code>event.code<\/code> (e.g. <code>KeyA<\/code>, <code>ShiftLeft<\/code>, <code>Numpad7<\/code>)<\/li>\n<li>\\(C\\) \u2014 the set of all keys your keyboard can report<\/li>\n<li>\\(\\land\\) \u2014 logical AND: both events must arrive<\/li>\n<\/ul>\n<p>A key is marked as working only when the page receives both its <strong>keydown<\/strong> and its <strong>keyup<\/strong> event \u2014 a single event means a dead or stuck switch. The rollover count is how many keys are simultaneously down right now.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Keyboard Tester \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> with the default Full size (104 keys) layout, you press and release the A key once.<\/p>\n<p>\\[ \\text{keydown} \\to \\text{code} = \\text{KeyA},\\; \\text{keyCode} = 65,\\; \\text{location} = \\text{main (0)} \\qquad \\text{keyup} \\to \\text{KeyA turns green} \\]<\/p>\n<p><strong>Result:<\/strong> the A square lights blue while held, then turns green \u2014 Keys tested 1 \/ 104, Last key <code>KeyA<\/code>, Held now 0, Max held 1, and two rows appear in the event log.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to Use the Keyboard Tester<\/h2>\n<ol>\n<li>In <strong>Keyboard layout<\/strong>, pick the drawing that matches your hardware: Full size (104 keys), TKL, 60% or Mac. This changes only the picture \u2014 every key still registers in the event log even if it is not drawn.<\/li>\n<li>Leave <strong>Block scrolling &amp; shortcut keys<\/strong> checked so Space, Tab, the arrows, F1\u2013F12 and similar keys don't scroll the page or trigger browser actions while you test them. Uncheck it to keep your normal shortcuts.<\/li>\n<li>Click anywhere on the page outside the input form, then simply press keys on your real keyboard. Blue means the key is down right now; green means it was pressed and released successfully.<\/li>\n<li>Check the counters: <strong>Keys tested on this layout<\/strong>, <strong>Held now (rollover)<\/strong> and <strong>Max held<\/strong>. The event log below shows the last 20 presses with their code, key, keyCode and location.<\/li>\n<li>Press <strong>\u21ba Reset test<\/strong> to clear the green marks, the log and the counters before a fresh pass.<\/li>\n<\/ol>\n<h2>What This Keyboard Test Actually Checks<\/h2>\n<p>A keyboard tester answers one question: does every switch on the board deliver its electrical signal to the computer? When you press a key, the controller sends a scan code that the browser exposes as <code>event.code<\/code> \u2014 a standard name tied to the key's <em>physical position<\/em>, not the legend printed on it. That is why this page draws a US QWERTY reference board: even if your system is set to AZERTY, Dvorak or a Cyrillic layout, each press lights up the same square, because the browser reports where the key sits, not which character it produces.<\/p>\n<p>The green-marking logic matters for real fault finding. Lighting up on keydown alone would not prove much, because a fault often shows up as a key that never registers, registers twice, or stays \"down\". A key only turns green after <em>both<\/em> its press and its release arrive, so a full sweep of the board with every key green confirms that all switches, diodes and matrix traces work \u2014 exactly what you want when buying or selling a used keyboard, or when one key suddenly misbehaves in games or typing.<\/p>\n<p>The <strong>Held now<\/strong> and <strong>Max held<\/strong> counters double as a rollover test. USB keyboards without dedicated gaming electronics typically stop reporting after about six simultaneous keys (6KRO) or may \"ghost\" presses that were never made. If the number freezes or drops while you mash keys, that is a hardware limit of the board, not an error on the page \u2014 full NKRO boards report dozens of held keys at once.<\/p>\n<h2>Limitations and Practical Tips<\/h2>\n<ul>\n<li><strong>Keys that never leave the keyboard:<\/strong> Fn-layer functions (Fn+F1, laptop Fn+arrows) and many media keys are processed inside the keyboard itself and are invisible to any software. Volume and brightness keys on a Mac arrive as media keys \u2014 enable <em>Use F1, F2, etc. keys as standard function keys<\/em> or hold Fn to test them as real F-keys.<\/li>\n<li><strong>Keys the OS intercepts:<\/strong> system shortcuts such as Ctrl+Alt+Delete, Win, Cmd+Tab and Alt+Tab bypass every web page by design. Their keyup is also swallowed, which can leave a key blue \u2014 pressing it again or clicking away releases it.<\/li>\n<li><strong>Auto-repeat is ignored:<\/strong> holding a key registers exactly one press, the way professional hardware testers count, so repeat settings don't distort your results.<\/li>\n<li><strong>Same symbol, different keys:<\/strong> left\/right Shift and numpad digits share printed legends but report different <code>location<\/code> values (main 0, left 1, right 2, numpad 3). Numpad digits on a Mac sit in a secondary layer and may not register.<\/li>\n<li><strong>Privacy:<\/strong> everything runs locally in your browser tab. Nothing is stored or sent anywhere, and the event log disappears with a reset or when you close the tab.<\/li>\n<\/ul>\n<p>If your hardware is fine but your skills need a check too, try our <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/reaction-time-test\/\">reaction time test<\/a>, measure your clicking speed with the <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/cps-test-clicks-per-second\/\">CPS test<\/a>, or verify other input devices with the <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/mic-test-check-your-microphone-online\/\">online mic test<\/a> and <a href=\"https:\/\/wpcalc.com\/en\/web-tools\/webcam-test-check-your-camera-online\/\">webcam test<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Press any key on your keyboard and instantly see it light up on a virtual layout \u2014 blue while pressed, green once verified \u2014 with the key code, keyCode and rollover count. Works with full-size, TKL, 60% and Mac layouts.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[104],"class_list":["post-67602","post","type-post","status-publish","format-standard","hentry","category-web-tools","tag-device-tests"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67602"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67602\/revisions"}],"predecessor-version":[{"id":67603,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67602\/revisions\/67603"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}