Many people use YouTube to fall asleep—whether it's ambient sounds, rain, podcasts, or relaxing music. A sleep timer automatically stops playback after a set duration, saving battery, data, and ensuring your device isn't running unnecessarily overnight. YouTube's built-in sleep timer isn't always available, especially on web browsers and mobile.
YouTube Sleep Timer Availability by Browser
YouTube's native sleep timer feature varies by platform. On the YouTube mobile app, the timer may be available in some regions. On the web—whether you use Chrome, Safari, Firefox, Edge, or Brave—the sleep timer is often missing or inconsistent. Brave browser on mobile is one example where users frequently report no access to YouTube's sleep timer. This web app works in any modern browser.
Sleep Timers and Web Browsers
Web-based sleep timers run entirely in your browser. No app installation is required. You paste a YouTube URL, set your desired duration (e.g., 10, 30, or 60 minutes), and playback stops automatically when the timer ends. The screen can dim for a darker sleep environment. This approach works across desktop and mobile web, filling the gap where native YouTube features fall short.
How It Works
YT Sleep Timer uses the YouTube IFrame API to embed and control playback. You enter a YouTube URL or video ID, and the app loads the video. Set a custom sleep timer or use preset buttons (10, 30, 60 minutes). When the timer expires, playback pauses and the screen dims. Tap or move the mouse to restore the display. You can also go fullscreen black to hide all UI for a completely dark screen.
Open Source
This project is open source. View the code, report issues, or contribute on GitHub.