Tools/Keyboard Tests

Keyboard Counter

Count every keystroke with no timer. See live keys per second, your peak KPS, the last key you pressed, your most-used keys and a keyboard heatmap. Counts are saved in this browser.

Paused: click the counter box to keep counting. While counting, press Esc to stop.
0
Total keystrokes
Last key
00:00
Session time
0
Keys / sec
0
Peak KPS
0
Different keys

Most-pressed keys

Start typing in the box above and your top 15 keys appear here.

Keyboard heatmap

Darker means more presses. Positions follow a US layout by physical key, so on AZERTY or QWERTZ the letters printed on your keys may differ. Numpad and media keys are counted in the list but not drawn.

About the keyboard counter

How it works

Click the box and type. Every key you press adds one to the total: letters, Shift, Enter, arrows, function keys, all of it, except Esc, which stops counting. Keydowns the browser marks as part of an IME composition are skipped. Holding a key down counts once, because the counter ignores the automatic repeat your keyboard sends. Tick the repeat option if you want held keys to keep adding. Keys per second counts presses in the last second, not a session average, and peak KPS is the highest that number reached this session. Your total and per-key counts are saved in this browser, so a reload keeps them until you press Reset.

What people use it for

Counting keystrokes for a challenge or a stream, measuring how much you actually type in a writing session, and finding your most-used keys before you pick a custom layout or replace worn keycaps. It is also a quick check on a new keyboard: press every key once and look for gaps in the heatmap. A key that never lights up is not registering, and one that adds two per press may be chattering. For a full layout view with press and release states, the keyboard tester is better.

Privacy

Nothing you type is stored or sent. The page keeps one number per physical key, such as "KeyE: 412", and never the order of presses, so your text cannot be rebuilt from it. The counts live in your browser's local storage and leave only if you export the CSV yourself.

Counter or timed test?

This counter has no clock limit and no score. It just keeps adding up. The keyboard clicker runs a fixed timer and gives you a fair speed result, which a one-second peak tends to flatter. Browsers can also skip events when you mash many keys at once, and some keyboards drop presses past their rollover limit, so very high KPS bursts may read a little low.

Related tools

Only counting the space bar? Use the spacebar counter. For a timed key-mashing score, try the keyboard clicker. To see every key light up on a layout, open the keyboard tester. Counting reps or people instead of keys? The tap counter works on any device.

FAQ

Frequently asked questions

Does holding a key add more than one?

Not unless you turn it on. The first keydown adds one, and the automatic repeats your keyboard sends while the key stays down are ignored. Tick "Also count held-key repeats" if you want those extra repeats in the total and in keys per second. Esc never counts: it stops capturing.

What do keys per second and peak KPS mean?

Keys per second is how many counted keydowns happened in the last second. It is not an average across the session. It drops as those presses age out of that one-second window. Peak KPS is the highest that number reached since you opened the page or last reset. Reset clears both, along with the total.

Will a reload keep my counts?

Per-key counts and the held-key repeat setting are saved in this browser and come back after a reload. Peak KPS and session time start over. The page stores one number per physical key, not the order you pressed them, so typed text cannot be rebuilt from it. Nothing is sent off this device unless you export the CSV yourself.

Why did counting stop, and can Space scroll the page?

Keys are counted only while the counter box is focused, this window is focused, and the tab is visible. Press Esc, click another app, or switch tabs and it pauses. Click the box to continue. While it is counting, Space and other keys are blocked so the page does not scroll or jump. Ctrl or Cmd+R, Ctrl or Cmd+W, and F5 still work. Typing in another field is left alone, because keys are read only while the counter box itself is focused.

What does reset clear?

Reset clears every per-key count, the total, the last key, keys per second, peak KPS, and session time. The held-key repeat option stays as you set it. Reset asks you to confirm first. If you do nothing, that question goes away after five seconds. Cancel leaves the counts as they are.

Why does the heatmap not match the letters on my keyboard?

The heatmap is drawn as a US layout and colored by physical key, the code the browser reports. On AZERTY, QWERTZ, or other layouts, the letter printed on a key can differ from the letter drawn here. Numpad and media keys are counted in the list but not drawn. A key that stays blank after you press it is not registering. A key that adds two for one press may be chattering.

How is this different from a keyboard clicker or typing test?

This page has no clock limit and no score. It keeps adding until you reset. The keyboard clicker runs a fixed timer and gives a speed result. The typing speed test measures words per minute. The spacebar counter tracks only the space bar, and the keyboard tester shows press and release on a full layout.