Home › Device & Internet Tests › Keep Screen Awake

Keep Screen Awake

Tap the switch and your screen stays on while this tab is open, so it won't dim or lock while you read a recipe, follow a tutorial or present. Set a timer to let it sleep again automatically.

Last updated:

Off: your screen sleeps normally
Awake for0:00:00
Time leftNo limit
Timer
Wake Lock API–
Method in useNone
Tab visibility–
Re-acquired0 times

Activity log

    Advertisement
    Advertisement

    How to use the Keep Screen Awake

    1. Open this page in the tab or window you want to keep on screen, or alongside your other work.
    2. Choose a timer if you want the screen to sleep again later, or leave No limit.
    3. Tap Keep screen awake. The indicator turns green while the lock is held.
    4. Keep this tab visible. If you switch tabs, the browser releases the lock and the page grabs it again when you come back.
    5. Tap Stop keeping awake when you are done, or let the timer finish.

    What the Screen Wake Lock does

    Phones and computers turn the display off after a period without touches or key presses to save power. A screen wake lock tells the system that the page is showing something you are actively watching, such as a recipe, sheet music, a slide deck or a dashboard, so the idle timer is paused. This page requests the lock when you tap the switch, shows whether it is held, and releases it when you stop or the timer ends.

    The lock is tied to this tab being visible. When you hide the tab, the browser releases it automatically; when you return, the page re-acquires it (unless you turn that option off). The activity log records each change so you can see exactly what happened.

    Browser support

    BrowserScreen Wake Lock APINotes
    Chrome, Edge, Opera (desktop and Android)Version 84 and laterMay be refused in battery saver mode
    Samsung InternetVersion 14 and laterSame behavior as Chrome
    Safari (iPhone, iPad, Mac)Version 16.4 and laterLow Power Mode can still dim the screen
    Firefox (desktop and Android)Version 126 and laterOlder versions use the video fallback

    Other ways to stop the screen from sleeping

    • Windows: Settings → System → Power & battery → Screen and sleep, then set a longer time or Never.
    • macOS: System Settings → Lock Screen → "Turn display off on battery/power adapter when inactive". The built-in Terminal command caffeinate -d keeps the display on until you press Ctrl+C.
    • Android: Settings → Display → Screen timeout. Developer options also has "Stay awake" while charging.
    • iPhone and iPad: Settings → Display & Brightness → Auto-Lock → Never.

    Those settings affect everything on the device until you change them back. This page only keeps the screen on while you need it, then restores normal behavior automatically. Need light in the dark too? Try the phone flashlight or the screen flashlight.

    Frequently asked questions

    How does a web page keep my screen awake?

    Modern browsers offer the Screen Wake Lock API. When you press the switch, the page calls navigator.wakeLock.request('screen'), and the operating system stops dimming and locking the display while the lock is held. It does not change your device settings; releasing the lock restores normal behavior.

    Does it keep working if I switch to another tab or app?

    No. For battery and privacy reasons, browsers release a screen wake lock as soon as the tab is hidden or minimized. With Re-acquire on, the page takes the lock again the moment you return. To keep another app on screen, open this page in a separate window that stays visible, such as a split screen.

    Which browsers support it?

    The Screen Wake Lock API works in Chrome and Edge 84 and later, Opera, Samsung Internet, Safari 16.4 and later on iPhone, iPad and Mac, and Firefox 126 and later. For older browsers the page plays a tiny silent looping video, which many browsers treat as active media and keep the screen on, but this is not guaranteed.

    Does it stop my computer from going to sleep?

    It stops the display from turning off or locking, which also prevents idle sleep on most systems while the screen is on. Closing a laptop lid, pressing the power button, or a low-battery shutdown still work as normal.

    Why was the lock released on its own?

    The operating system can cancel a wake lock at any time, for example when battery saver or low power mode turns on, or when the battery is low. The activity log shows when that happens, and the page tries to take the lock again if the tab is still visible.

    Does keeping the screen on drain the battery?

    Yes, the display is one of the biggest power users. Lower the brightness, plug in for long sessions and use the timer so the screen does not stay on longer than needed.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Phone FlashlightTurn on your phone's camera LED from the browser, with strobe, SOS and Morse code modes.Screen FlashlightTurn your screen into a bright white or coloured light that stays awake.Black ScreenFull-screen pure black page for OLED, screen cleaning or focus, with timer and hidden cursor.Keyboard CleanerLock your keyboard in full screen so you can wipe it clean; hold Esc or click to unlock.20-20-20 Eye Break TimerEvery 20 minutes, look 20 feet away for 20 seconds: reminders, notifications and a break overlay.Big Text DisplayShow any message in giant auto-fitting fullscreen text with colour themes and flash mode.Refresh Rate TestCheck your monitor's refresh rate in Hz and spot dropped frames.Dead Pixel TestFind dead or stuck pixels on your screen.What Is My Screen ResolutionSee your screen resolution, viewport, pixel ratio, colour depth and display features.Ring LightTurn your screen into a ring light or fill light with adjustable color temperature.Online RulerAn actual-size on-screen ruler in cm, mm and inches, calibrated with a credit card.Device Pixel Ratio CheckerSee your device pixel ratio, CSS viewport, physical resolution and screen PPI live.Color Blindness TestQuick 14-plate dot test that screens for red-green and blue-yellow color vision deficiency.Monitor TestFull-screen monitor test patterns: uniformity, banding, gamma, sharpness, black level, ghosting.Backlight Bleed TestFull-screen black and dark gray screens to check backlight bleed, IPS glow, clouding and blooming.Color Hue TestDrag color caps into hue order, FM100-style, and get an error score and a hue error chart.Color Perception TestFind the one tile with a different shade. The grid grows and colors get closer each level.Monitor Ghosting TestMoving-object pursuit test to reveal ghosting, overshoot and motion blur, with refresh rate.Screen Burn-in FixerFull-screen color cycles, noise and scrolling bars to reduce image retention, with a timer.Color Printer Test PagePrint a CMYK + RGB color test page: color bars, gradients, skin tones and cartridge blocks.Online Eye Test ChartScreen-calibrated Snellen and tumbling E eye chart for a quick at-home vision check.Green ScreenFull-screen chroma key green (#00B140 or #00FF00) or any custom shade, with hidden cursor.HDR TestCheck if your screen shows HDR, compare HDR and SDR white, estimate peak brightness and color gamut.Monitor Calibration ToolGuided monitor calibration: brightness, contrast, gamma, sharpness and color test patterns.Printer Test PagePrint a black & white test page: text sizes, line grids, gray ramp, nozzle pattern, Letter or A4.Screen Tearing TestFast moving bars and panning patterns that make screen tearing and V-Sync problems easy to see.Astigmatism TestCheck each eye with a calibrated clock-dial chart and note which lines look darker.Heart Rate Monitor (Camera)Measure your pulse with your phone camera and flash: live BPM, waveform and history.Frame Skipping TestLight one box per frame and photograph it to catch skipped frames after overclocking a monitor.Projector Test PatternFull-screen projector focus grid, keystone lines, color bars and 16:9, 4:3 and 2.35:1 frames.Touch Screen Accuracy TestTap shrinking targets to measure touch offset error per screen region, with a heatmap.
    See all 28 Screen & Display Tests →