Online
timer.
A countdown timer with an alarm and a stopwatch with laps that keeps time in other tabs.
A 5:00 timer, with the alarm on. Press Start or the space bar; it keeps time from your device clock, so it stays right in a background tab.
Big display
5:00 left of 5:00, 0% done. The ring shows the part still to run.
Full screen fills a projector or a TV. Press F to open or close it.
Alarm
On a phone, a locked screen can stop the page, and the alarm with it. Keep the screen on for anything that matters.
More timers
Run up to 4 more at once. Type a time as 6:30, 10 (minutes), 90 s or 1h 20m.
- 10:0010:00
- 6:006:00
Keyboard shortcuts
- Space or K starts and pauses.
- R resets, L records a lap.
- F opens full screen, Esc leaves it.
- M turns the sound on or off.
- They work anywhere on the page except while you type in a box.
How it's worked out
The timer never counts ticks. When you press Start it notes the time on your device clock, and every time it redraws it works out the time left from that moment:
Browsers slow down timers in tabs you are not looking at, to once a second or less (MDN). A timer that counted ticks would fall behind. This one is measured against the clock, so it is right the moment you come back. The display rounds up, so it reads 0:00 exactly when the time runs out.
The alarm does not wait for the page to wake up either. At Start, the beeps are booked on the audio clock (the Web Audio API) for the exact second the timer ends. A single wake-up call is set for the same moment to show the notification and update the title. Pause or Reset cancels both.
Minutes and seconds over 59 are carried up when you press Start, the way a phone timer does. Extra timers read plain words: 6:30 is minutes and seconds, a bare 10 is minutes, and 90 s or 1h 20m work too.
Worked examples
A five-minute group activity
A teacher sets 5:00 for group work and puts the big display on the projector. 1:30 after Start, the timer shows 3:30 left and the ring is 30% gone. The space bar pauses it if a group needs a moment, and the time left waits until it resumes.
Typing 90 minutes for a film
Someone types 90 in the Minutes box with nothing in Hours. Press Start and it is carried to 1:30:00, 1 hour and 30 minutes, so there is no need to work it out first.
Three laps on a track
A runner presses Lap at 1:02.4, 2:06.1, 3:07.3 on the stopwatch. Each lap is the gap since the one before: 1:02.4, 1:03.7, 1:01.2. The fastest was lap 3 at 1:01.2, and the average 1:02.4, with the slowest lap at 1:03.7.
Reading your result
The large number is the time left, or for the stopwatch the time so far in tenths of a second. Once the timer runs, the line under it gives the clock time it will ring, in your own time zone. The ring around the big display shows the part still to run and turns brass in the last 10 seconds.
The tab title shows the time left while it runs, so you can keep an eye on it from another tab. When the time is up, the title reads "Time is up", the alarm plays four sets of beeps, and if you turned notifications on and the tab is hidden, your system shows a notice too (Notifications API).
More timers run alongside the main one, each with its own time left, ring time and alarm. That suits a kitchen with several dishes, or stations in a class.
Common mistakes
- Letting a phone lock. Phones pause web pages when the screen locks, and the alarm stops with them. Keep the screen on, or use the phone's own clock app for an alarm that must ring while locked.
- A muted tab or device. Press Test the sound before you rely on it. Some browsers mute a tab you have muted before.
- Expecting a notification while you watch. It only appears when the tab is hidden, because you can already see the timer otherwise.
- A laptop going to sleep. A sleeping computer runs no web pages, so a long timer rings late. Plug it in and change the sleep setting for long timings.
- Changing the time while it runs. Editing the boxes resets the timer, so set the time first and then press Start.