Skip to content

Online timer

Countdown timer with presets and an alarm sound.

05:00

Ready

Screen lock: checking

Everyday timings on a one-hour dial

Each wedge is the share of an hour. Tap one to load that length. Lengths are published guidance, listed in Sources.

Runs in this tab only. Nothing is sent or saved. Keep the tab open and the device awake for the alarm.

How an online timer keeps time

What decides whether an online timer is trustworthy is what it counts. A weak timer subtracts one second every time a one-second interval fires. This one stores the clock time at which the timer ends, and every few hundred milliseconds shows the difference from now.

That choice matters because browsers do not promise that a scheduled callback runs on time. The MDN documentation for setTimeout says plainly that browsers enforce a minimum delay in inactive tabs. A timer built on subtraction drifts behind. A timer built on an end time only updates late; the answer it shows is still right.

tab hidden, page timers slowed 12:00:00start 12:01 12:04 12:05:00end tab shown again end - now = 01:00 left
Because the timer stores the end time, a hidden tab that wakes at 12:04 shows one minute left, not a stale reading.

The alarm is queued on a different clock: when you press Start, the tone is scheduled on the Web Audio API's own high-precision clock, so it is not waiting on a throttled page timer.

Does an online timer work in a background tab?

Yes: the countdown stays correct, the alarm is queued on the audio clock, and the tab title shows the countdown. What changes is how often the visible numbers refresh.

What browsers do to timers in a hidden tab
BrowserHidden-tab behavior
Chrome Timers throttled to about once per second; after 5 minutes hidden, chained timers can run once per minute
Firefox, desktop Minimum delay of 1 second; no throttling if the tab holds an AudioContext
Firefox, Android Minimum delay of 15 minutes for inactive tabs; the tab may be unloaded

Source: Chrome for Developers, Heavy throttling of chained JavaScript timers (Chrome 88); MDN Web Docs, setTimeout.

Two limits apply to any web timer. If the device sleeps, the alarm will be late by however long it slept. If the browser unloads the tab to free memory, as mobile browsers sometimes do, the timer is gone; locked phones often freeze web pages too.

Pomodoro and other interval lengths

The Pomodoro Technique, created by Francesco Cirillo, splits work into intervals typically 25 minutes long, with short breaks between them and a longer break after four. To count up instead of down, use our stopwatch.

One Pomodoro cycle, with the preset to use
StepTypical lengthPreset
Work session 25 minutes 25 min
Short break (after each of the first three) 5 to 10 minutes 5 or 10 min
Long break (after the fourth) 20 to 30 minutes 30 min
Total before the cycle restarts 135 to 160 minutes Four runs

Source: Pomodoro Technique, as summarized by Wikipedia; totals are our own arithmetic.

What the timer needs your browser to allow

Each extra is optional; if one is missing, the timer still counts and plays its tone.

What each feature needs
FeatureNeedsIf it is missing
Alarm sound A click on Start (browsers block sound before a user gesture) The tone may not play; use Test sound once first
Notification Your permission, and a secure (https) page Only the sound and the tab title tell you
Fullscreen A click; supported on most desktop browsers The button is hidden
Screen lock The Screen Wake Lock API; page must stay visible The screen may dim or sleep as usual

Source: MDN Web Docs: Web Audio best practices (autoplay policy), Notifications API, Fullscreen API, Screen Wake Lock API.

The browser can refuse a wake lock, for example in power-saver mode, and releases it when the page is hidden; this page asks again when you come back.

Notifications are a backup, not the main alarm

A notification appears only if the tab is hidden when time runs out and you allowed it. Turn up the volume before you walk away.

Tips for reliable timing

  • For a length that is awkward to enter, such as 2 hours 40 minutes plus 85 minutes, add the pieces with the time calculator first.
  • For cooking or medicine, use a device alarm as well. A browser tab is a convenience, not a safety device.

Common questions

Why did my alarm not sound?

The usual causes are muted tab or device, a computer that went to sleep, or audio blocked because nothing on the page had been clicked. Press Test sound after loading to confirm audio works.

Can I run more than one timer at once?

One page runs one timer. Open the page in a second tab or window for a second countdown. For something that must happen at a clock time rather than after a length of time, use the alarm clock.

Is my time saved or sent anywhere?

No. The site counts page views, but the timer itself sends nothing.

Sources

Last reviewed November 9, 2026. This timer is for convenience only and is not a safety device.