ARTICLE · 11 SEPTEMBER 2026
Four ways to keep a timer on top of other windows
People rarely miss a deadline because they had no timer. They miss it because the timer was behind another window. Browser picture-in-picture, always-on-top tools, a second screen and video PiP all solve that, each with a different cost. Here is what each one gives you and what it asks in return.
01
An alarm tells you when time is up. It does not show you how much is left.
A phone alarm or a system notification fires once, at the end. For plenty of tasks that is enough: noodles, laundry, a parking meter. But a meeting agenda, a rehearsal, a 25 minute focus session are different. Those are tasks where you adjust your pace while they run, and for that you need the remaining time, not a signal that it ran out.
The trouble is that a window showing remaining time competes for space with the window you are working in. Open a timer tab, switch back to the document, and the timer is behind you. Tile the two side by side and the workspace shrinks. Most people end up forgetting the timer and hearing the alarm after the fact.
So "a timer that stays on top" becomes a requirement of its own. There are four ways to get one.
02
Method 1. Document Picture-in-Picture in the browser
Picture-in-picture began as a way to pop a video out into a small floating window. Since Chrome 116 in 2023, the same mechanism can float an arbitrary HTML document: the Document Picture-in-Picture API. A web page opens a small window, and that window sits outside the browser, above every other window on the desktop.
The advantage is that the window is interactive. Unlike video PiP, buttons work, so you can pause, add a minute or reset from the small window itself. It resizes and moves like any other window, and once placed it stays put until you close it. Nothing to install, no account to create.
The limits are equally clear. At the time of writing only Chromium-based desktop browsers support it: Chrome, Edge, Brave and their relatives. Firefox and Safari do not. Browser security rules mean a page cannot open the window on its own; the user has to press a button. And closing the original tab closes the floating window with it.
PipTim is a timer built on this API. Set a duration, press PiP, and the countdown detaches into a small window. If you are new to it, the three steps in the guide are the place to start.
03
Method 2. The operating system's always-on-top feature
This pins an entire window above all others. What is available depends on the platform.
- WindowsNothing built in, but Microsoft's PowerToys includes an "Always On Top" utility. Select a window and press
Win + Ctrl + Tto pin it. The usual approach is to shrink a browser window to just the timer page and pin that. - macOSNo built-in option; a third-party app is required. They vary in approach and most need accessibility permissions.
- LinuxMost window managers have "Always on top" or "Keep above others" in the title-bar menu. Only the wording differs between desktop environments.
The strength of this method is that anything can be pinned: a timer that is not in a browser, or a notes window that is not a timer. The weakness is that a whole window is pinned, so it covers a lot. A browser window keeps its address bar and tab strip no matter how small you make it. And because it needs installing and configuring, it is awkward on a borrowed or locked-down work machine.
04
Method 3. Put it on a second screen
With two monitors the problem gets simpler. Work on one, park the timer in a corner of the other. Nothing overlaps, so nothing needs to float. Standing a tablet or phone on the desk with only a timer on it is the same idea.
The drawback is that your eyes have to travel. The difference in how often you check the time when it is inside your working screen versus on the screen beside it is noticeable. Information that needs a head turn eventually stops being looked at. And for anyone working on a single laptop it is not an option at all.
The two methods combine well. Keep the browser on the second monitor, open the PiP window there, and drag it onto the corner of the working screen. The original tab stays out of the way and only the small window sits above your work.
05
Method 4. Video Picture-in-Picture
Browsers without Document PiP almost all have video PiP: Safari, Firefox and mobile Chrome among them. That opens a workaround. Draw the timer as a video and float that. An off-screen canvas renders the digits, the canvas is captured as a video stream, and the stream goes into a PiP window.
The result looks like ordinary video PiP. It floats above other apps and, on mobile, survives leaving for the home screen. The cost is that it cannot be operated. A video PiP window offers play and pause at most, and even those are awkward to wire to a timer's start and stop. It is for watching the time, not controlling it.
PipTim falls back to this automatically where Document PiP is unavailable. On supported mobile browsers the PiP button opens a small window that shows the time but does not take input.
06
Which one to choose
| Method | Controls | Area covered | Install | Best for |
|---|---|---|---|---|
| Browser Document PiP | Yes | Small | None | Coding, writing and lectures in desktop Chrome or Edge |
| OS always-on-top | Yes | Large | Required | Pinning programs that are not in the browser |
| Second screen | Yes | None | Hardware | Two monitors and no objection to glancing sideways |
| Video PiP | No | Small | None | Watching the time in Safari, Firefox or on mobile |
On a desktop with a Chromium browser, Document PiP is the lightest option. It works immediately, needs nothing installed and covers the least. Outside that, use a second screen if you have one; if not, choose between the OS feature and video PiP depending on whether you need to control the timer or only see it.
07
Worth knowing once it is floating
- Screen sharingIf you share a single window in a meeting, the PiP window is not part of it. Share the entire screen when everyone should see the countdown. If it is only for you, window sharing is actually the better choice.
- PlacementPick a corner that does not cover the text or the editor. Bottom right is the usual choice, unless that is where notifications appear, in which case top left.
- SizeThe window can be dragged smaller from its edge. It only has to be legible, which means it can be far smaller than you might expect.
- Do not close the tabThe PiP window lives as long as its tab. Minimising the browser or switching tabs is fine; closing the tab ends the timer.
- Accuracy in the backgroundBrowsers slow down hidden tabs. A timer that computes from its end time stays correct even when the display lags. That mechanism is covered in why browser timers drift in background tabs.