---
title: "Keyboard Tester | ToolSugar"
description: "Press keys to see which ones your keyboard registers, with the key and code for each press. Runs in your browser, nothing is recorded."
canonical: https://toolsugar.com/tools/keyboard-tester
image: https://toolsugar.com/og.png
---

# Keyboard Tester

This keyboard tester shows an on-screen keyboard and marks each key as you press it, with the event key and event code reported by your browser. It also logs recent presses and shows how many keys were held at once. Some keys are handled by your system or browser first and may not show up. It runs in your browser.

Runs on your device

## How it works

1. Click the keyboard area so it has focus.
2. Press the keys you want to test and watch them get a check mark.
3. Read the Last key line and the log for the exact key and code values.
4. Press Reset to start over.

## Key facts

- **Reports**: event.code, event.key and the keys held right now
- **Layout**: Full-size US-style layout; the numeric keypad is not shown
- **Limits**: Power, volume, Fn and some system shortcuts never reach a web page
- **Where it runs**: In your browser, with nothing sent or saved

## Common uses

- Find a key that stopped working on a laptop.
- Look up the event.code for a key you are binding in code.
- See how many keys your keyboard registers together.

## Questions

### Why does a key not light up?

Either the key is faulty, or the operating system or browser consumed it before the page saw it. Media keys, Fn and shortcuts such as Ctrl+W commonly behave this way.

### Does this test n-key rollover?

Not as a rated claim. It only reports the most keys it saw held at once here, which depends on your keyboard, its connection and your system.

### What is the difference between key and code?

event.code names the physical key position, such as KeyA, while event.key is the character produced, which changes with layout and modifiers.

[Read the Keyboard Tester guide](https://toolsugar.com/blog/how-to-test-a-keyboard)

## Related tools

- [What Is My IP](https://toolsugar.com/tools/what-is-my-ip)
- [UUID Generator](https://toolsugar.com/tools/uuid-generator)
- [Color Picker](https://toolsugar.com/tools/color-picker)
