How to Test Keyboard Keys on Windows, Mac, Chromebook, and Linux

Run a key test on Windows, Mac, Chromebook, or Linux to find out whether your keyboard problem is hardware, settings, or software.

T

Technobezz

Senior Editor

Jul 24, 2026
9 min read

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered weekly. Join 50,000+ readers.

A keyboard key that skips, repeats, or types the wrong character can come from the switch, the app, the layout, accessibility settings, a driver, or wireless pairing. Start with a fast key test, then use the built-in tools for your device to pin down the cause. The steps below keep you on current methods and away from old Windows troubleshooters and unsupported download pages.

1. Test every key in your browser

Use a browser key tester first. It is the fastest way to see whether normal letter, number, symbol, modifier, and navigation keys register.

Open a desktop browser and go to Keyboard Tester.

Click the tester page so it has focus.

Press each physical key on your keyboard.

Watch the virtual keyboard. Working keys change color when they register.

Browser tests work on Windows, macOS, ChromeOS, and Linux, but websites do not receive every protected key. Fn, some media keys, Power, Sleep, brightness keys, and some system shortcuts stay hidden from browser pages.

2. Compare the key in a normal app

On Windows, open Notepad and type the problem keys. When the key fails only in one app, troubleshoot that app.

When it fails everywhere, move to settings, drivers, wireless pairing, or hardware diagnostics.

Use the Windows On-Screen Keyboard as a control input, not as a hardware scan. Go to Start > Settings > Accessibility > Keyboard, then turn on On-screen keyboard.

Type with it in a text field and compare that software input with your physical keyboard.

3. Fix layouts and accessibility options

Wrong characters point straight at layout settings. A key that needs a long press, triggers shortcuts, or seems ignored belongs in accessibility settings next.

Windows layout: Go to Start > Settings > Time & language > Language & region.

Under your current language, select ... > Language options.

Under Keyboards, verify the intended layout or select Add a keyboard.

Windows key behavior: Go to Start > Settings > Accessibility > Keyboard.

Turn off Sticky Keys, Filter Keys, Toggle Keys, and related keyboard options.

macOS layout: Go to Apple menu > System Settings > Keyboard > Text Input > Edit.

Turn on Show Input menu in menu bar, then open the Input menu and select the correct keyboard layout.

macOS key behavior: Go to Apple menu > System Settings > Accessibility > Keyboard and turn off Slow Keys.

Then go to Accessibility > Pointer Control and turn off Mouse Keys.

4. Open the built-in Mac or Chromebook tester

On Mac, click the Input menu in the menu bar and choose Show Keyboard Viewer.

Press each physical key and watch the Keyboard Viewer highlight the input state.

When the Input menu is missing, go to Apple menu > System Settings > Keyboard > Text Input > Edit.

Then turn on Show Input menu in menu bar.

For a software control keyboard on macOS, go to Apple menu > System Settings > Accessibility > Keyboard.

Then turn on Accessibility Keyboard.

On Chromebook (ChromeOS 90 or later), select the time at the bottom right, open Settings, choose About ChromeOS > Diagnostics, then choose Input > The internal keyboard > Test.

Press the keys and watch whether ChromeOS registers them.

You can also open Launcher and type Diagnostics.

5. Refresh Windows drivers and Bluetooth pairing

When the key fails across Windows apps and online testers, reset the keyboard driver path.

  1. 1.Right-click Start and open Device Manager.
  2. 2.Expand Keyboards.
  3. 3.Right-click the keyboard device and choose Uninstall device > Uninstall.
  4. 4.Restart from Start > Power > Restart.
  5. 5.Run the browser key test again after Windows reinstalls the driver.

Then check optional driver updates at Start > Settings > Windows Update > Advanced options > Optional updates > Driver updates.

Install relevant keyboard, HID, Bluetooth, chipset, or OEM input-device updates, then retest.

For a Bluetooth keyboard on Windows 11, go to Start > Settings > Bluetooth & devices > Devices.

Select the keyboard’s More options menu, choose Remove device, then use Add device > Bluetooth to pair it again.

6. Run your PC maker’s keyboard diagnostics

HP: Open HP PC Hardware Diagnostics Windows or HP PC Hardware Diagnostics UEFI.

Select Component Tests > Input Devices > Keyboard Test, choose Run once, then follow the key prompts.

Dell: Open Start > All apps > SupportAssist.

Select Troubleshooting, expand I want to troubleshoot my PC, choose I want to check a specific piece of hardware > Keyboard, press each key, then choose Pass or Fail.

Dell preboot: Turn on the computer and press F12 repeatedly at the Dell logo until One Time Boot Menu appears.

Select Diagnostics.

For a specific device test, press Esc, select Advanced test, then choose the keyboard or input test available for that model.

Lenovo: Open Lenovo Vantage, go to the hardware scan or diagnostics area, then run a hardware scan or component test.

Use brand diagnostics when a browser test shows a dead key and you need a hardware-focused result. Download diagnostics only from official HP, Dell, Lenovo, Microsoft Store, or product pages.

7. Check mechanical and gaming keyboards the right way

VIA-compatible QMK keyboards need VIA, especially for layers. Open usevia.app in a Chromium-based browser such as Chrome or Edge (VIA relies on WebHID, which Firefox and Safari do not support), go to Key Tester, plug in the keyboard, and press each key.

For layer keys or nonstandard positions, select Test Matrix, then press each physical switch position.

For Razer keyboards, remove all peripherals except the primary keyboard and mouse.

Connect the keyboard directly to the computer, update the keyboard firmware, update Razer Synapse, update the operating system, and test again.

Disable Razer Synapse and test the keyboard; when the keyboard works with Synapse disabled, perform a clean reinstall of the software.

8. Use dedicated tools for logs and scan codes

PassMark KeyboardTest gives Windows users deeper results than a web page.

Install it from PassMark’s product page, open the app, select the correct keyboard layout, then press each key.

The app highlights down and up strokes, checks LEDs, displays BIOS and Windows scan codes, measures repeat and depress times, and, in batch mode, logs keyboard serial numbers, operator ID, and pass/fail results to disk.

For a Microsoft Store option, install KeyBoardTestUtility from Microsoft Store, open the app, and press each key to check whether it works normally.

Skip the old Windows Keyboard troubleshooter, msdt.exe -id DeviceDiagnostic, Lenovo Keyboard Test standalone utility, and Aqua’s KeyTest. Use current browser testers, built-in OS checks, vendor diagnostics, VIA, Microsoft Store apps, or PassMark instead.

9. Verify Linux or managed PC behavior

On Ubuntu GNOME, open Settings > Keyboard.

Under Input Sources, select the settings button next to the language and choose View Keyboard Layout.

Compare the expected symbols and positions, then test typing in a text field.

For a technical Linux test, switch to a virtual console and run showkey for keycodes or sudo showkey -s for scancodes.

Press keys and watch the press and release codes.

On modern kernels, showkey -s reports translated scancodes rather than raw hardware codes unless the system is set to pass them through, such as with the atkbd.softraw=0 boot option.

The command exits after about 10 seconds with no key activity in keycode or scancode modes.

On supported Windows editions (Enterprise, Enterprise LTSC, Education, IoT Enterprise, and IoT Enterprise LTSC), Keyboard Filter can suppress selected keys and key combinations, so it may be active on managed work, school, or kiosk devices.

Administrators can check Turn Windows features on or off > Device Lockdown > Keyboard Filter, then inspect the active Keyboard Filter rules before retesting.

Frequently Asked Questions

Can an online key test prove every keyboard key works?

No. Online testers are fast, but browsers and operating systems block Fn, Power, Sleep, brightness keys, some media keys, and protected shortcuts from appearing on the page.

What does it mean when a key works online but types the wrong symbol?

The keyboard is registering, but the active layout is wrong. Check the keyboard layout in Windows, macOS, or Ubuntu before replacing hardware.

Should I use the old Windows Keyboard troubleshooter?

No. Microsoft documents MSDT troubleshooter deprecation and removal, so current Windows 11 users should use settings checks, Device Manager, driver updates, or vendor diagnostics.

What is the best test for a VIA mechanical keyboard?

Use VIA’s web app and open Key Tester. For layer or nonstandard keys, use Test Matrix so each physical switch position gets tested directly.

Share