# Online Alarm Clock

An alarm set for 6:30 AM at 11:15 PM rings in 7 h 15 min. Add as many named alarms as you like in 12-hour or 24-hour time, repeat them on chosen days, snooze for 5 and 10 minutes and pick a tone. An online alarm only rings while this page stays open in a browser on a device that is awake, so keep the tab open and, if you can, turn on “Keep the screen on”.

Canonical page: https://ponderloop.com/tools/alarm-clock/
Updated: 2026-11-14

## How to use

How to set an online alarm

1. **Type the time**: Enter the alarm time under “Add an alarm” as 6:30 AM or 18:30, add a name such as “Work”, and tick the days it should repeat. With no day ticked it rings once.
2. **Pick a tone and add it**: Choose one of the tones (beeps, chime, bell, rising, two-tone), press Play to hear it, then press Add alarm. The first click or key press also allows sound, which browsers require.
3. **Keep the page open**: Leave this tab open on a device that stays awake. Turn on “Keep the screen on while an alarm is set” and plug the device in if you can; the list shows how long each alarm has to ring.
4. **Snooze or dismiss**: When an alarm rings the page flashes, the tab title changes and the sound plays. Snooze for 5 and 10 minutes or dismiss it; a repeating alarm then waits for its next day and a one-time alarm switches itself off.

## Reference tables and worked examples

### Time until an alarm: examples

Each row is the calculator’s own answer. An alarm at the current time rings tomorrow, a full day away.

| Current time | Alarm time | Rings in | Rings |
| --- | --- | --- | --- |
| 11:15 PM | 6:30 AM | 7 h 15 min | tomorrow |
| 10:00 PM | 6:00 AM | 8 h | tomorrow |
| 12:00 AM | 7:00 AM | 7 h | today |
| 3:20 PM | 7:00 PM | 3 h 40 min | today |
| 6:29 AM | 6:30 AM | 1 min | today |
| 9:45 AM | 9:45 AM | 24 h | tomorrow |
| 11:59 PM | 12:01 AM | 2 min | tomorrow |

### 12-hour and 24-hour time

The same moments in both notations. 12 AM is 00:00 and 12 PM is 12:00; the hour 12 is the odd one out, not 0.

| 12-hour | 24-hour | In words |
| --- | --- | --- |
| 12:00 AM | 00:00 | Midnight, the start of the day |
| 1:00 AM | 01:00 | First hour after midnight |
| 6:30 AM | 06:30 | A typical wake-up time |
| 12:00 PM | 12:00 | Noon |
| 1:00 PM | 13:00 | First hour after noon |
| 6:00 PM | 18:00 | Evening |
| 10:00 PM | 22:00 | Late evening |
| 11:59 PM | 23:59 | The last minute of the day |

## How it works

Each alarm is stored as a wall-clock time and the moment it next rings, found with the device’s local date and time (the first matching time after now on one of the chosen days). The “Rings in” text is the real elapsed time from the start of the current minute to that moment. The page checks the clock once a second and also when the tab becomes visible again; because background tabs run timers slowly, each coming alarm is also booked on the Web Audio clock, which is not throttled, and the tone plays on time even then. An alarm found more than five minutes late (a sleeping device) is marked missed instead of ringing. Tones are short oscillator patterns made with the Web Audio API, with no audio files; sound starts only after a click or key press, as browsers require. The screen is kept on with the Screen Wake Lock API where it exists. The calculator part is plain arithmetic on minutes after midnight: the alarm minute minus the current minute, plus a day when the result is zero or negative.

## FAQ

### Does the alarm work when the screen is off or the tab is closed?

It cannot ring if the tab is closed or the browser is shut down, because the alarm is a web page and nothing runs once it is gone. A tab that is open but in the background normally still rings, because the tone is booked on the browser’s audio clock ahead of time, and a locked screen can mean the device sleeps and everything stops. That is why there is a “Keep the screen on” switch: the screen then stays lit while an alarm is set. If the device sleeps or the page is closed past an alarm’s time, the alarm is marked missed and does not ring late. For anything you cannot afford to miss, use the alarm built into your phone or watch as well.

### Does it work on an iPhone?

Only with limits. Safari on iPhone suspends web pages and their sound when the screen locks or you switch apps for long, the silent switch mutes web page sound, and web notifications on iPhone are limited to sites added to the Home Screen and need a push service this page does not use. Keeping the screen on through the Screen Wake Lock option works on recent versions of iOS (16.4 and later). So an iPhone can ring this alarm only while Safari is open on the page, the screen is on and the ringer is up. Use the Clock app for a real wake-up alarm.

### How loud is the alarm, and can I change the sound?

The tones (beeps, chime, bell, rising, two-tone) are generated in your browser, so there are no audio files and they work offline once the page has loaded. Loudness follows the Volume slider here and your device’s own volume, and the tone does not get louder by itself. Use “Turn sound on and test” before relying on it. The sound plays for up to 60 seconds; the page keeps flashing until you dismiss the alarm.

### What does snooze do?

Snooze silences the alarm and rings it again after 5 and 10 minutes, whichever button you press. A repeating alarm keeps its normal schedule afterwards, so snoozing today does not move tomorrow’s alarm. Dismissing instead ends the alarm: a one-time alarm switches itself off.

### Is an alarm for the time it is now set for tomorrow?

Yes. An alarm for the current minute rings a full day later: set for 9:45 AM at 9:45 AM it rings in 24 h, and set one minute ahead it rings in 1 min. An alarm for noon set at midnight rings in 12 h.

### How do alarms behave when the clocks change for daylight saving?

Alarms follow the wall clock of your device, so 6:30 AM stays 6:30 AM. “Rings in” counts real elapsed time, so on the night the clocks go forward an alarm is an hour closer than the clock difference suggests, and an hour farther on the night they go back. A time inside the hour that is skipped (such as 2:30 AM when the clocks jump from 2:00 to 3:00) rings at the first moment after the gap; a time inside the repeated hour rings the first time it occurs.

### Which time zone does it use?

The one your device is set to. The big clock shows its short name under the date. If you travel, alarms follow the device’s new zone; to compare other cities, use the time zone converter.

### Is anything I enter sent to a server, and how many alarms can I save?

No. Alarm names, times and settings stay in this browser’s local storage (up to 20 alarms), and nothing you type is uploaded. Anonymous usage statistics record only which button was pressed. “Remove all alarms and saved data” deletes everything, and clearing the site data in your browser does too. Notifications are off until you turn them on, and the browser’s permission prompt appears only then.

## Sources

- [MDN: Screen Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API)
- [MDN: Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API)
- [MDN: Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Autoplay)
- [MDN: Notification.requestPermission()](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission_static)
- [MDN: why timers in background tabs run late](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#reasons_for_delays_longer_than_specified)
- [WebKit: WebKit features in Safari 16.4](https://webkit.org/blog/13966/webkit-features-in-safari-16-4/)
- [WebKit: Web Push for Web Apps on iOS and iPadOS](https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/)
- [ISO 8601: date and time format (24-hour clock)](https://www.iso.org/iso-8601-date-and-time-format.html)

---

Cite as: Online Alarm Clock, ponderloop, https://ponderloop.com/tools/alarm-clock/, updated 2026-11-14
