TimerHub

Sleep Timer with Music

Rain or ocean that plays while you fall asleep and fades out on its own.

Loading timer…

How to use the sleep timer with music

  1. Press StartThe 45 minute countdown begins at once. The Space bar starts and pauses it too; R resets it.
  2. Pick a lengthTap a length under the clock to start it straight away. − and + change it by 1 minute, or click the digits and type any time, like 12:30, 1h30 or until 5:30pm.
  3. Hear the alarmA gentle chime rings at zero, and keeps ringing until you press Stop. Pick a louder alarm, or none, under More.
  4. Make it yoursPick a scene and sound, press Fullscreen for a room-sized Clear view (Esc to exit), turn on notifications for a background tab, or add ?autostart=1 to the link to start on load.

Shortcuts

SpaceStart / pauseRReset+Add time (− removes it)FFullscreen

Single-key shortcuts can be switched off under More.

Sleep timer with music at a glance

AccuracyCounts to an absolute finish time, so it stays exact in a background tab and after the device sleeps. How the timing is tested
AlarmGentle chime that rings until you press Stop, with the whole screen flooding sunrise-warm. Chime, bell, beep, a shorter ring or a silent glow under More.
DisplayLarge digits that never jitter, a progress horizon, and a fullscreen Clear view (or Daylight, for bright rooms) readable across a room.
SoundOptional rain, ocean, fireplace, café, night, brown or white noise and a focus pad — made in your browser, faded out at zero.
MemoryA running or paused countdown survives a reload or a browser restart, saved on this device only.
PriceFree. No ads, no signup, nothing to install — and it works offline once visited.

Other ways to time with a sleep timer with music

The same countdown as a picture, a soundscape, a projector view or a video.

About the sleep timer with music

The whole point of a sleep timer is that it ends without you noticing. This one fades the bed out over four seconds rather than cutting it, and the alarm can be muted entirely from the header if you only want the sound to stop. Forty-five minutes suits most people — long enough to get to sleep, short enough that the sound is not still running at 3am.

A free sleep timer with background sound. Rain, ocean waves or brown noise play for the length you set and fade out gently instead of stopping dead, so nothing wakes you when the timer ends.

TimerHub calculates remaining time from an absolute finish timestamp, so missed browser callbacks do not create drift. Read the timing accuracy methodology and reproducible tests.

sleep timer with musicsleep timer with rain soundssleep sound timertimer with rain to fall asleep

Sleep timer with music FAQ

Can I stop the alarm from sounding at the end?
Yes — mute sounds with the speaker button in the header. The background bed still fades out at zero, so the room simply goes quiet instead of an alarm going off next to you.
Will my phone screen stay on all night?
Most phones dim and lock on their own schedule, and the countdown keeps running from an absolute finish time regardless. If you want the sound to run uninterrupted, plug the phone in and keep the tab in the foreground.
Where does the music come from — is it a YouTube video?
Neither. Every background sound is generated live in your browser with the Web Audio API. Nothing streams, nothing buffers, there are no ads or mid-roll breaks, and the sound never loops back on itself because it is never the same two seconds running.
Does the sound stop when the timer finishes?
Yes. The background bed fades out over about four seconds as the alarm sounds, so you always hear the end of the countdown. Pausing the timer fades the sound out too, and resuming brings it back.
Can I use the background sound without the visual backdrop?
Yes. The backdrop is a separate toggle in the background sound panel. Turn it off for a plain black screen, or leave it on and switch to fullscreen for a full-screen rain window, starfield, or ember drift behind the countdown.
Will it keep playing if I switch tabs?
The countdown keeps running from an absolute finish time, so it stays accurate in a background tab. Browsers may throttle audio in hidden tabs, so keep the tab visible — or in a Picture-in-Picture float — if you want unbroken sound.

Browse every timer with rain, waves, fire and focus sound →

Take this timer with you

Keep it beside your notes in Notion, embed it on a class page or website, put it on stream, or drop an MP4 into your slides. Free, no account, no ads.

Use this timer in your workspace →