# Countdown Timer with Alarm - Presets, Sound and Tab Title Alert

Page: https://hirantha.me/tools/countdown-timer
Part of: Hirantha Sandaruwan Lakshan free tools (https://hirantha.me/tools)
Updated: 2026-10-15

Free online countdown timer from one second to 99:59:59, with presets, a progress ring, a sound and tab title alert, and optional notifications.

This is a free tool that runs in the browser: open the page to use it. File tools process files on the visitor's own device; files are never uploaded or stored. No account, sign-up, payment or watermark.

Set hours, minutes and seconds, or tap a preset from 1 minute to 1 hour, and press Start. A ring shows how much time is left, the browser tab shows the countdown in its title, and when time is up you get a short alarm and the title flashes Time is up. You can mute the sound, and you can turn on a pop-up notification if you want one. Anything from one second to 99 hours, 59 minutes and 59 seconds works, and nothing leaves your device.

The timer stores the moment it will end, not a count of seconds left. Each time it checks the clock, the time left is that end moment minus now. This keeps it correct in a background tab: Chrome can check the chained timers of a tab that has been hidden for more than five minutes, and silent for 30 seconds, only once a minute (Chrome for Developers, checked 2026-10-15), but the end moment does not change, so the next check shows the right time. Pausing keeps the time left, and resuming sets a new end moment that far ahead. A part second counts as a whole one, as on a kitchen timer, so the display reaches 00:00:00 when the time is up.

The alarm is made in the browser with the Web Audio API, with no audio file. Browsers only let a page start sound after you have interacted with it (MDN autoplay guide, checked 2026-10-15), so the page prepares the audio when you press Start. The alarm is also scheduled on the audio clock ahead of time, which is meant to keep it on time if the timers of a hidden tab run late; that is best effort and varies by browser. If the browser blocks sound, or you turn the Sound switch off, the tab title and the message on the page still tell you.

While the timer runs, the tab title shows the time left, for example 00:04:59 - Countdown timer. When the time is up it flashes Time is up! until you come back to the tab or do anything on the page, and it returns to normal when you dismiss or reset the timer. Notifications stay off until you click Enable notifications; the browser then asks permission, and the answer is granted, denied, or not decided yet (MDN, checked 2026-10-15). If you have denied them, the page explains that you must allow them in the browser settings. A notification is only shown when the page is in another tab, and it is made on your device without any server.

The longest timer is 99:59:59, which is 359,999 seconds. You can type more than 59 in the minutes or seconds box, and 90 minutes is read as 1 hour 30 minutes. Blank boxes count as zero, only whole numbers are accepted, and a timer set to zero cannot be started. The time comes from your device's clock, so changing that clock while the timer runs would change the time left.

Q: Will the timer still go off if I switch to another tab?
A: Yes. It works from a stored end moment, so the time left is right whenever the page checks the clock. The alarm is also scheduled on the audio clock, which is meant to keep it from being held up by a hidden tab, but that varies by browser. In Chrome the tab title and a notification can be up to a minute late in a tab that has been hidden for a long time.

Q: Why do I need to press Start before I can hear the alarm?
A: Browsers block sound on a page until you have interacted with it, to stop pages playing audio by surprise. Pressing Start counts as that interaction, so the page can sound the alarm later without another click.

Q: How do I turn the sound off?
A: Turn off the Sound when time is up switch. The tab title and the message on the page still show that the time is up.

Q: How do notifications work, and what if I blocked them?
A: Click Enable notifications and your browser asks for permission. If you allow it, you get a pop-up when the time is up and the page is in another tab. If you blocked notifications for this site earlier, the browser will not ask again: allow them for this site in the browser's settings.

Q: What is the longest timer I can set?
A: 99 hours, 59 minutes and 59 seconds, which is 359,999 seconds. A timer set to zero cannot be started.

Q: What happens if my computer sleeps while the timer runs?
A: The timer is based on the clock, so when the device wakes it shows the correct time left, or finishes at once if the end has passed. A sleeping device cannot sound an alarm, so the alarm comes when it wakes.

Q: Is anything saved or sent?
A: No. The lengths you type, your choices and the timer stay in the page. Nothing is stored or sent, and the alarm sound is generated on your device.

Sources: Heavy throttling of chained JS timers beginning in Chrome 88 - Chrome for Developers, checked 2026-10-15 (https://developer.chrome.com/blog/timer-throttling-in-chrome-88); Autoplay guide for media and Web Audio APIs - MDN, checked 2026-10-15 (https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Autoplay); Notification.requestPermission() - MDN, checked 2026-10-15 (https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission_static)

Related tools:

- [Online stopwatch with laps](https://hirantha.me/tools/stopwatch.md): Free online stopwatch with hundredths of a second, lap times with fastest and slowest marked, keyboard shortcuts, and the right time in a background tab.
- [Focus timer with work and break cycles](https://hirantha.me/tools/focus-timer.md): Free focus timer with 25 minute work, 5 minute short breaks and a long break every 4 rounds, all adjustable, with a round counter, sound and tab title.
- [Countdown to a date (days until an event)](https://hirantha.me/tools/countdown-to-date.md): See the days, hours, minutes and seconds until any date or event, count weekdays only, and share it with a link that stores only the name and the date.
- [Time converter: hours, minutes, days and decimal hours](https://hirantha.me/tools/time-converter.md): Convert seconds, minutes, hours, days, weeks, months and years with the month and year lengths stated, plus hh:mm to decimal hours for timesheets.
