Countdown Timer
A kitchen timer, a presentation slot or a short break all need a countdown you can leave running while you do something else. Set the duration here and come back to an accurate remaining time.
How to Use
- Enter Hours, Minutes and Seconds, or pick a Quick duration preset. The timer starts at 5 minutes.
- Optionally enable Sound at zero or Notify at zero, then press Start. Browser notification permission is requested only if you tick that box.
- Pause freezes the remaining time; Start resumes from that point. Duration fields are locked while running.
- At zero the display changes to a completed state and alerts fire if enabled. Reset clears everything.
Practical Examples
- A 25-minute focus block: choose the 25-minute preset and press Start.
- A 90-second exercise interval: set Minutes to 1 and Seconds to 30.
- A two-hour process: set Hours to 2 and enable a notification so you notice it when the tab is hidden.
Understanding the Result
The timer records a target using the browser's monotonic clock and subtracts the current time on each frame. It does not accumulate ticks, so a throttled background tab still shows the correct remaining time when you return.
Pause stores the remaining time and stops the frame loop; Start rebuilds the target from that remainder, which is what makes resuming work. Changing a duration field during a run is blocked; pause first.
Sound uses a short generated tone from the Web Audio API. Notifications use the browser's Notification API where permission is granted; otherwise the completion message appears on the page.
Limitations and Useful Notes
- Notifications depend on browser permission and may be suppressed by the operating system. The on-page completion message is always shown.
- Browsers throttle animation frames in background tabs, so the display may jump rather than tick smoothly. The remaining time is still correct.
- Display updates are limited to whole seconds, and the timer lives in the open tab. Closing or reloading loses the countdown.
- There is no repeat, loop or multiple-timer support.
- The sound is a brief tone; there is no volume control or custom alarm.
Common Questions
Is the timer accurate if I switch tabs?
Yes for the remaining time. It computes from a monotonic target time rather than counting frames, so a throttled tab resumes at the right value. The visual countdown may skip ahead.
What happens when time runs out?
The display stops at 00:00:00, enters a completed state and shows 'Time is up!'. Sound and notification fire only if you enabled them.
Can I pause and continue?
Yes. Pause freezes the remainder and Start continues from that point. Pause before changing a duration field.