tooloora

Timer & Stopwatch — countdown, laps and alarm

Three tools in one: a countdown with a preset duration, a stopwatch with laps and an alarm at a fixed clock time. The end is signalled with a sound and a visible alert, and the remaining time stays in the tab title.

Runs locally — nothing is uploaded

5:00

Remaining

Minutes and seconds may go above 59: 90 in the minute field means one and a half hours.

Quick pick

Runs locally in your browser — nothing is sent.

Timer, stopwatch and alarm in one tool

Set a duration above and press start: the countdown runs in your browser and announces the end with a sound and a visible alert. Next to it sit a stopwatch with lap times and an alarm for a fixed clock time. The remaining time stays in the tab title, so you can keep working in another tab. Nothing is uploaded.

Why do so many web timers fall behind in the background?

Because they count instead of calculating. A naive timer calls a function every 1,000 milliseconds and subtracts one second each time. That works exactly as long as the browser keeps that rhythm — and it does not. Chrome has throttled timers in hidden tabs to one call per second since version 57, and since version 87 (January 2021) its intensive throttling reduces them to one call per minute once a tab has been in the background for more than five minutes. Firefox and Safari apply comparable limits, and a sleeping device stops everything completely.

A counting timer therefore loses exactly the time during which it was not called. Five minutes in the background become five calls and therefore five subtracted seconds. This is not an edge case, it is the normal case: you set a timer precisely so that you can do something else.

How does this tool calculate instead?

It stores a timestamp when you press start and subtracts again on every redraw. The formula is simply remaining = duration − (now − started at), and it gives the same answer whether 50 milliseconds or two hours have passed since the last redraw. The interval in the background carries no information at all; it only triggers the drawing.

The second building block is pausing. Pause writes down the time measured so far, and start begins a new span with a new timestamp. Only spans that actually ran are ever added, which is why a measurement with ten pauses produces exactly the same total as an uninterrupted run of the same net length.

How does the sound arrive on time when the tab is asleep?

Through the audio clock. When you press start, the tone sequence is not played “some time later” but scheduled for an exact point on the AudioContext timeline. That clock is driven by the audio hardware and keeps running independently of the JavaScript rhythm, even while the tab is throttled. If you pause or reset, the scheduled tone is discarded again.

What none of this can rescue is a closed laptop lid or a closed tab: at that point the page no longer exists and nothing can ring. For wake-up times that have to survive a closed lid, the alarm clock in your phone is the right tool — we would rather say so plainly than make a promise the technology cannot keep.

Sound alone is not enough

A signal that is only audible misses everyone who is on silent, wearing headphones or standing in a noisy kitchen. So the end arrives three ways here: as a short tone sequence, as a clearly visible alert panel above the display, and as a change of the browser tab title that you can read from the tab strip without opening the page. On phones whose browser supports the vibration interface, a short vibration is added.

Countdown, stopwatch or alarm?

Countdown when the length matters: a quarter of an hour of break, five minutes for an egg, twenty-five minutes of pomodoro. The minute field is deliberately not capped at 59, so 90 minutes is a valid entry.

Stopwatch when you want to measure how long something took. It shows hundredths of a second and records a lap time and a running total per lap; the fastest and slowest laps are marked as soon as at least two exist.

Alarm when the moment matters: the train at 17:40, the call at 15:00. You enter the clock time and the tool works out the distance. If the time has already passed today, the next day is used — calculated over the calendar day, so that the result does not end up an hour off on daylight saving weekends.

Does the timer stay private?

Yes, without a footnote. There is no server that learns about your timer, no account, no cookie holding the duration and no outbound request. All of it is arithmetic against your device clock. The simplest way to check: load the page, switch on airplane mode, start the timer — it keeps running.

Frequently asked questions

Does the timer keep the right time in a background tab?

Yes, because it never counts ticks. Browsers throttle timers in hidden tabs — Chrome down to roughly one call per minute — and a sleeping device stops them entirely. The remaining time here is calculated as a subtraction against the timestamp at which you pressed start, so switching tabs, minimising the window or waking the laptop simply produces a fresh, correct value.

What happens at the end if my device is on silent?

You still get the signal. The end is announced twice: a short three-tone sound and a clearly visible alert above the display, plus the browser tab title switching to the finished message so you can see it in the tab strip. On phones that support it, the page also triggers a short vibration.

What is the difference between the three modes?

The countdown runs a duration you set and ends at zero. The stopwatch counts upwards to hundredths of a second and records laps, showing both the lap time and the running total. The alarm rings at a clock time you enter — if the time has already passed today, it lands on the same time tomorrow.

Can I pause and continue without losing time?

Yes. Pause stores the time measured so far and start continues from exactly that point. Every running span is measured against its own start timestamp, so any number of pauses gives the same result as one uninterrupted run of the same net length.

Is anything about my timer sent to a server?

No. The countdown is arithmetic against your device clock, done entirely in your browser. There is no account, no timer cookie and no request carrying your duration anywhere. Load the page, switch to airplane mode and the timer still works, which is the simplest way to check the claim yourself.

Why does the timer not restart itself?

Because an alarm that fires unasked from a background tab is the fastest way to lose trust in a tool. Restarting is one deliberate tap on reset and start, which also keeps you in control of when a break really ends.