Alarm clock
Set one alarm or a dozen, each with its own days, label and sound, and snooze when it rings. Set it on your own clock, in another city’s local time, or a few minutes before sunrise. Keep this tab open: it only rings while the page is open.
--:--:--
Alarm
Keep this tab open. The alarm rings only while this page is open and your device is awake. Closing the tab or the browser, or letting the computer sleep, stops it.
Set an alarm
On your clock, another city’s clock, or the sun
Your alarms
Saved in this browser
- Your alarms appear here.
Times come from your device clock and the IANA time zone database; sunrise and sunset from the NOAA formula, to about a minute. How we calculate
An alarm clock that can live in another city
Most online alarm clocks give you one alarm on your own clock and a sound file to play. This one is built around a different question: whose clock is the alarm on? Every alarm can be set on your device’s clock, on the local clock of any of the 150 cities on this site, or relative to sunrise or sunset in one of them. An alarm at 08:45 in Tokyo rings when it is 08:45 in Tokyo, and the list tells you that this is 23:45 the evening before in London. An alarm 20 minutes before sunrise in Lisbon moves a little every day, and the page works out the new time each morning.
It is also honest about the night the clocks change, which is where alarms usually go wrong. If you set an alarm inside the hour that disappears when clocks go forward, the page says so and rings at the moment of the jump. If you set it inside the hour that happens twice in autumn, it rings once. And if a clock change falls between now and the next ring, the alarm’s card tells you, so a Sunday morning does not come as a surprise.
How to use it
- Choose what the alarm follows. “A time” is a clock time; “Sunrise” and “Sunset” ring at, before or after the sun’s event, from an hour early to an hour late.
- Pick the clock. “My clock” is the time zone your device is set to. Any city instead pins the alarm to that city’s wall clock, including its daylight saving rules.
- Set the days. Tap days of the week to repeat, or use Once, Weekdays, Weekends and Every day. With no day selected the alarm rings once, at the next time that matches, and then switches itself off.
- Add a label and a sound. Chime is two soft notes, Beep is the classic digital alarm, and Rising starts quietly and grows louder over the first minute. Test plays a short sample so you can set your volume.
- Press Add alarm. Up to twelve alarms can be kept. Each card has a switch to turn it off without deleting it, and shows the next ring on your clock with the time left.
When an alarm rings, the page shows its label in large type. Snooze (the S key) brings it back after the snooze length you chose, and Stop (Esc) ends it. If nobody answers, it stops after five minutes. While alarms are set, the tab title shows the next one, so you can check it from another tab.
Keeping it ringing
Because this is a web page, it can only ring while the page is open and the device is awake. Browsers do not let a page play sound until you have interacted with it, so the first click or key press on the page turns the sound on; after a reload the page reminds you. From then on, the next ring of every alarm due within a day is booked with the browser’s audio engine for the exact second, which is what lets it sound on time in a background tab, where ordinary timers are slowed down. “Keep screen on” asks the browser to stop the screen from dimming, which helps on phones and tablets, and “Notify me too” shows a system notification as well as the sound. Neither is requested until you press the button.
If the computer falls asleep or the tab is closed, nothing can ring. When the page comes back, it does not play an old alarm late: it lists the alarms it missed and moves each to its next day. Anything that really matters — a flight, a shift — deserves your phone’s own alarm as a backup.
How the next ring is worked out
For a clock-time alarm, the page takes the alarm’s local time on each upcoming date in its time zone, turns that wall-clock time into one exact instant with the time zone database built into your browser, and picks the first instant after now that falls on a selected day. Days of the week are counted in the alarm’s own time zone, which matters near the date line: a Monday 7:00 alarm in Auckland rings on Sunday evening in Europe. For a sun alarm, it computes that day’s sunrise or sunset for the city’s coordinates with the same formula as the sunrise and sunset calculator, rounds it to the minute and adds your offset. In the far north in midwinter, when the sun does not rise, there is simply no ring until it does, and the card says so.
A worked example: on a Wednesday afternoon in London you set a weekday alarm for 08:45 Tokyo time. Tokyo is nine hours ahead in November, so the next ring is Thursday 08:45 in Tokyo, which is 23:45 on Wednesday on your clock. Friday’s ring is followed by Monday’s, because Saturday and Sunday are skipped in Tokyo’s calendar, not London’s. In late March, when London moves its clocks forward and Tokyo does not, the same alarm moves to 00:45 on your clock on its own.
Words used on this page
Snooze: a short delay after which a ringing alarm rings again. Wall-clock time: the time a clock on the wall shows in a place, including any daylight saving shift, as opposed to a fixed count of hours. Skipped and repeated hours: the hour that never appears on the clock when clocks go forward, and the hour that appears twice when they go back; the daylight saving page lists when the next ones are. For a single stretch of time rather than a time of day, use the countdown timer; to plan a call across time zones before you set the alarm, the meeting planner shows working hours side by side.
Questions
Will the alarm ring if I close the tab or my computer goes to sleep?
No. This is a web page, so it can only ring while the page is open in a browser that is awake. Closing the tab, quitting the browser, shutting the lid of a laptop or letting a computer fall asleep stops it. If the page wakes up later, it lists the alarms it missed instead of ringing late. For anything you cannot afford to miss, such as an early flight, use your phone’s built-in alarm as well.
Does it work in a background tab or on a phone?
In a background tab on a desktop browser, yes: as soon as you click anywhere on the page, the next ring of each alarm due in the next 24 hours is booked with the browser’s audio engine, so it sounds on time even when the browser slows the tab down. On phones, a locked screen or a browser sent to the background usually silences web pages. Press “Keep screen on”, leave the phone plugged in with this page in front, and check the volume with Test.
Can I set an alarm in another city’s time?
Yes. Under “Clock”, pick any of the 150 cities instead of “My clock”. An alarm at 08:45 Tokyo time rings at 08:45 in Tokyo, whatever your own time zone is, and the list shows when that is on your clock. This is handy for calls with another office, a market opening, or a ticket sale that starts at a fixed local time. “My clock” alarms follow your device instead: if you travel, a 7:00 alarm rings at 7:00 where you are.
How does snooze work?
When an alarm rings, press Snooze (or the S key) and it rings again after the snooze length you chose — 5, 9, 10 or 15 minutes. Nine minutes is the traditional length of a mechanical alarm clock’s snooze. Stop (or Esc) silences it until its next scheduled day. If nobody answers, an alarm rings for five minutes and then stops by itself.
What happens on the night the clocks change?
Alarms keep to the wall clock. On the night clocks go forward, an alarm set inside the skipped hour (2:30 in New York, 1:30 in London) rings at the moment the clock jumps. On the night clocks go back, an alarm in the repeated hour rings once, the first time that hour comes round. Before the alarm, the list warns you that the clocks change on the way.
Is anything saved or sent anywhere?
Your alarms, snooze length and display settings are kept in this browser’s local storage so they are still there when you come back. Nothing is sent to a server, there is no account, and the sounds are generated in your browser rather than downloaded. Clearing the site’s data in your browser removes the alarms.