Countdown Timer
Set a countdown in hours, minutes and seconds and get an alarm when it reaches zero, with the time left shown in the tab title.
Loading tool…
This page keeps no record of anything. Timers run in your browser, nothing is sent anywhere, and closing the tab clears it.
What the Countdown Timer does
This countdown timer will set a countdown in hours, minutes and seconds and get an alarm when it reaches zero, with the time left shown in the tab title. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for timing cooking, laundry or a kettle. If you need the other side of this job, there is also a online alarm clock.
How to use it
- Type a duration, or tap one of the presets.
- Press Start. The remaining time appears in the browser tab title too, so you can watch it from another tab.
- Pause and resume as often as you like.
- When it reaches zero the alarm sounds until you stop it, or for about a minute.
How it works
The countdown is calculated from a target timestamp, not decremented on a tick. That is the single difference between a timer that is accurate and one that is not, because browsers throttle background tabs aggressively — a timer that subtracts one second per callback can finish minutes late if you switched away. This one knows the exact moment it should reach zero and simply reads the clock.
The remaining time is mirrored into the tab title, which is the feature that makes a browser timer usable at all. Nobody watches a timer tab; they put it behind their work and glance at the tab strip. Without it you have to keep switching back to see where you are.
The alarm is generated by the Web Audio API rather than played from an audio file. Two sine tones with a short gain ramp, repeated every second and a half. Synthesising it means there is no file to download, nothing that can 404, and it works with no network connection at all. The gain ramp is there because starting a tone at full volume produces an audible click.
Browser autoplay policy blocks audio that was not started by a user gesture, which is why many online timers fail silently at the critical moment. Here the audio context is created the first time you press Start — a genuine user gesture — so by the time the alarm needs to sound, permission is already established. The alarm also stops itself after about a minute, so a timer forgotten in a background tab does not beep all afternoon.
When to use it
- Timing cooking, laundry or a kettle.
- Keeping an exercise interval or a rest period honest.
- Limiting a meeting item or a study block.
- Any time you need an alarm in a few minutes and reaching for your phone is a detour.
Common mistakes to avoid
- Muting the tab and then wondering why the alarm was silent. Browser tab mute overrides anything a page can do.
- Closing the tab and expecting the alarm to still fire. A closed page is not running.
- Setting the timer and leaving the device to sleep. A sleeping machine runs nothing, and no web page can wake it.
Frequently asked questions
Will the alarm sound if the tab is in the background?
Yes, as long as the tab is still open and not muted. The countdown is computed from a timestamp so throttling does not delay it, and the audio was authorised by your click on Start.
Why does the timer keep correct time when other online timers drift?
Because it reads the clock rather than counting ticks. Browsers throttle background timers, so anything that subtracts a fixed amount per callback falls behind. Working out the remaining time from a target timestamp is immune to that.
Can I use it as a kitchen timer with the laptop closed?
No. Closing the lid suspends the browser, and a suspended page cannot run or make a sound. The tab has to stay open and the machine awake.