Skip to the test
KeyboardTest

Caps Lock Test: Free Online Keyboard Test

Press each lock key and watch its indicator. The page shows the state your operating system reports, so if the on-screen indicator flips but the keyboard LED does not, the LED has failed while the key still works. Press each lock five times for the consistency check, then click whether the physical light matched. Try the keyboard ghosting test next if you want another angle on how your keyboard behaves.

Lock indicators

State as reported by the operating system

  • Caps Lock

    —

    Shift + letter should give lower-case while on

    Presses
    0
    Missed toggles
    0

    0 / 5 presses for the consistency check

  • Num Lock

    —

    Numpad digits versus navigation

    Presses
    0
    Missed toggles
    0

    0 / 5 presses for the consistency check

  • Scroll Lock

    —

    Rarely used; Excel scrolls with arrows while on

    Presses
    0
    Missed toggles
    0

    0 / 5 presses for the consistency check

Press Caps Lock, Num Lock or Scroll Lock. The indicators read the state the operating system reports.

Fn Lock and Win Lock are handled inside the keyboard and never reported to the computer, so they cannot appear here. Mac keyboards have no Scroll Lock, and macOS reports Num Lock as always on.

Toggle log

    Run this caps lock test to find out whether your keyboard registers the key and flips the indicator light, whether you use a Windows computer, a Mac or a laptop. It is a free, online check, so you can press, watch and switch back in seconds. You will know if your typing habits are the problem or if it is one of the faulty keyboards.

    Caps Lock Test: Check All Keys on Windows and Mac

    Open the online keyboard tester, click the page so the browser gives it focus, then press any key. Each key press lights up on screen, and a key works when it shows as detected. Start with the lock key: press it once to turn it on, press it again to turn it off, and confirm the on-screen state follows. A keyboard checker like this one is the quickest keyboard test you can run, and it helps you test keyboard behavior when a laptop starts acting up. Open the keyboard chatter map to check your keyboard in seconds, with nothing to install.

    • Click the page, then press the caps lock key once and confirm the state turns on.
    • Press it again and confirm the state turns off.
    • Press every other key until all keys show as tested; a key held down stays active until you release it.
    • Use Reset to start over, and look for an easter egg some testers hide once the board is complete.

    On a Mac, the lock key can need a slightly longer press before it registers, so one quick tap that does nothing is not proof of a dead key.

    Toggle Keyboard LEDs: Num Lock and Scroll Lock

    Most boards show lock states with small lights. To test keyboard LEDs, toggle Num Lock, then Scroll Lock, and watch each light follow its key. The keyboard LEDs should match what the screen reports; if the key press registers but the light stays dark, the LED or its wiring is at fault, not the switch under the key. Desktop utilities go further and list scan codes and BIOS codes, which helps when a laptop keyboard is built in and cannot be swapped cheaply.

    Function Keys and Keyboard Layout Checks

    Once the lock key passes, run the same pass over the function keys and the numbers row, because a wrong keyboard layout can make a working key report the wrong character. Check the numpad too: its digits should register separately from the top-row numbers. Compare your keystrokes with what appears on screen; a registration mismatch usually means the wrong layout is active, not a dead key; the lock key can report the wrong character for the same reason.

    Keyboard Testing a Sticky Lock Key on a MacBook

    I'm deciding whether a 2019 MacBook Air needs a keyboard repair, because its lock key seems to ignore me about half the time. The indicator is the first thing I watch. I open the keyboard tester, click the page, and tap the key ten times at normal typing speed. Six taps register, so the result is 6 of 10, or 60%.

    That looks like a failing switch, but I recheck it as a second method: ten deliberate presses, holding each for about half a second. Now the result is 10 of 10. The rerun matters more than the first number.

    Keyboard Testing a Sticky Lock Key on a MacBook
    Press styleRegisteredRate
    Quick tap6 of 1060%
    Half-second press10 of 10100%

    The edge case is Apple's own design: macOS ignores a very short press of this key on purpose, so accidental brushes do not turn it on. A tester that reports a missed quick tap is correct, yet it does not mean the switch has failed. A switch that fails also misses the long press, which is what I would expect to see here if it were worn.

    I also cross-check against the indicator: all ten long presses toggle the light on and off in step with the screen, so the LED and wiring are fine. My judgement is that the press length is the input to watch, not the key. The decision is simple: no repair booking, no warranty claim. I will instead hold the key a beat longer and rerun the test if the long press ever drops below 10 of 10. If it does, that points to a dirty or worn switch, and then a repair quote is worth requesting.

    Keyboard Testing for Ghosting and Key Rollover

    Keyboard testing goes beyond single presses. Hold several keys together: ghosting happens when a board drops or invents a keystroke once three or more keys are down, and key rollover describes how many simultaneous presses it can report. A board with n-key rollover registers every key independently, which matters for fast gaming and quick typing. Good testers show the down stroke when you press and the up stroke when you release, so hold the lock key with shift and a letter to confirm every press registers.

    Software and Hardware Issue Checks

    If the lock key fails, rule out software first: close remapping tools, try another browser tab, and test again. Then treat it as a hardware issue: reseat the USB cable, try another port, and look for an unresponsive key that stays dark while the others light up. If typing problems persist on a new board, a warranty claim is reasonable, and the result shows you whether the computer or the keyboard is to blame. Either way, a failed test gives you something concrete to report, which beats guessing.

    Flow from caps lock test symptom to check to likely cause: dark key, dark LED and wrong character
    Match what the test shows to the most likely cause before replacing anything.

    Mechanical and Wireless Keyboards

    Mechanical keyboards register cleanly but can chatter as a key mechanism ages, and a wireless board adds battery and pairing issues, so check its lock key and indicator both wired and on fresh batteries. The numpad and backlighting add extra circuits, so a gaming keyboard deserves the full test, with ergonomics extras checked last.

    Shift Key or Capslock for Capital Letters

    Why test the lock key at all? Because choosing between it and the shift key shapes how fast and comfortably you type. The shift key wins for a single capital letter: press it together with the letter, release, and there is nothing to undo. The lock key is better for all caps runs, such as a long constant name, since holding shift for every character is tiring. For a run of capitals, shift costs two presses per letter while the lock key costs the letters plus two toggles, so the lock key pulls ahead from three letters on. Many people leave upper-case on by accident and retype lowercase text, which one quick test would have revealed. If the lock key sticks on or ignores presses, run the test again before blaming your technique.

    Dumbbell chart of key presses for typing 1 to 8 capital letters with the shift key versus the lock key, with the lock key ahead from three letters
    Shift costs two presses per letter; the lock key costs the letters plus two toggles.

    Frequently asked questions

    How do I run a caps lock test online?

    Open the tester in your browser, click the page so it has focus, then press the lock key once to turn it on and again to turn it off. The on-screen state and your keyboard light should both follow each press.

    Why does the lock key seem to ignore a quick tap?

    Some systems, including macOS, ignore a very short press of this key on purpose so accidental touches do not switch it on. Press and hold for about half a second before you decide the switch has failed.

    What does it mean if the key registers but the light stays off?

    The switch is working and the problem is the indicator LED or its wiring. Toggle Num Lock and Scroll Lock as well to see whether the other lights respond.

    What should I do if the key never registers?

    Click the page to give the browser focus, try another tab or browser, and reseat the USB cable or try another port. If it still stays dark while other keys light up, treat it as a hardware issue.

    What is keyboard ghosting?

    Ghosting happens when a keyboard fails to register some key combinations, typically when three or more keys are held together. Boards with n-key rollover register every key independently.

    Is it better to use shift or the lock key for capital letters?

    Shift is faster for a single capital letter. The lock key is better for a run of three or more capitals because it needs only two toggles, not a shift hold for every letter.

    Comments and feedback