Skip to main content
Toollyz

Search tools

Search for a command to run...

Spacebar Counter

Count how many times you can press the Space bar in 1, 5, 10, 30 or 60 seconds. OS auto-repeats are detected and skipped, live presses-per-second updates each frame, and the 30 most recent runs save to local history. Free, private, browser-only.

What is the Spacebar Counter?

A spacebar counter measures how many times you can press the Space bar in a fixed time window. Toollyz Spacebar Counter runs entirely in your browser using `keydown` listeners on the window. Pick a duration (1, 5, 10, 30 or 60 seconds), click the focusable pad to capture keyboard focus, then start pressing Space — the first press arms the timer and subsequent presses contribute to the count. Crucially, the counter checks `event.repeat` on every keydown so that OS-level auto-repeats (which fire when you hold a key down) don't pollute the score; rejected auto-repeats are surfaced in a small counter beside the main stats so you know exactly what's happening. Live presses-per-second, time remaining and the best score for the chosen duration update each frame; the 30 most recent runs save to localStorage. Toollyz has no backend — every press stays on your device.

How to use it

  1. Pick a duration (1 / 5 / 10 / 30 / 60 seconds).
  2. Click the spacebar pad once to give the page keyboard focus.
  3. Press Space as fast as you can — the first press starts the timer, the rest count toward the score.
  4. When the timer hits zero, the result lands in History with per-duration best surfaced in the hero.

Benefits

  • Five duration windows: 1 / 5 / 10 / 30 / 60 s.
  • OS auto-repeats detected via `event.repeat` and shown in a separate counter — only fresh presses score.
  • Live presses-per-second updated every frame via requestAnimationFrame.
  • 30-run history with timestamp, count and per-second rate.
  • Per-duration best score surfaced in the hero so you always know your target.
  • Page consumes the Space keypress to prevent accidental scroll while you tap.
  • Touch-friendly via the focusable pad — works on tablets with a connected keyboard.
  • 100% private — Toollyz has no backend, presses stay in your browser.

Frequently asked questions

Why are some presses ignored?

When you hold Space down, the operating system generates auto-repeat keydown events. Toollyz detects these via the `event.repeat` flag and skips them so the score reflects actual finger taps, not key holds. Skipped auto-repeats are shown in a counter so you can see what's being filtered.

Why do I have to click the pad first?

Browsers only deliver keyboard events to focused elements. The pad is a focusable element so clicking it captures keyboard input; before that, the keystrokes might trigger scroll or shortcuts in the page itself.

Why doesn't the page scroll when I press Space?

Toollyz calls `event.preventDefault()` on the Space keydown so the browser's default scroll is suppressed while the test runs. The rest of the page still scrolls with the wheel, trackpad or arrow keys.

Does the test work with a touchscreen keyboard?

Yes, but mobile soft keyboards often suppress auto-repeats and report each press cleanly — so your effective rate on a phone is whatever you can tap. The score still counts.

How does this differ from the Typing Speed Test?

Typing Speed Test scores correct characters typed against a target passage and produces WPM. Spacebar Counter only watches the Space key and reports raw presses per second. They measure different things.

What's the highest possible score?

Most humans top out around 8–10 Space presses per second; sustained 12+ requires unusual hand muscle. Hardware (some membrane keyboards have higher key-actuation delays) and the OS's key-repeat thresholds set a practical ceiling.

Are auto-clickers / macros counted?

Any keyboard event the browser delivers as a fresh keydown counts. If a macro releases the key cleanly between presses, the tool sees normal keydowns; if the macro holds the key, those become auto-repeats and get rejected.

Is my history saved across devices?

No — only on this device, in localStorage. Toollyz has no backend; nothing is uploaded or synced.

Does the test penalise mistakes?

No — there's no "wrong" Space press, so every fresh keydown counts. Use the Typing Speed Test if you want accuracy in addition to speed.

Is this Spacebar Counter free?

Completely free with no signup and no limits. Run as many tests as you like — privately in your browser.