Pomodoro Timer
A Pomodoro timer with customizable work and break lengths.
🔒 Runs entirely in your browser — nothing is uploaded.
Completed pomodoros:
How Pomodoro Timer works
How does the pomodoro timer work?
It runs a plain JavaScript countdown (a one-second setInterval) through alternating work and break phases: a 25-minute focus block by default, then a 5-minute short break, repeating until every fourth work session, which triggers a 15-minute long break instead. Each duration is editable, and changing any of the three number fields resets the current cycle. When a phase hits zero, the app switches modes automatically and plays a short tone.
When would I use this?
It suits focused work sprints — writing, coding, studying — where you want a hard stop that forces a break instead of powering through. The completed-pomodoro counter also gives a quick sense of how many focus blocks you actually got through in a session.
Does the timer keep running if I close the tab, and what plays the alert sound?
Nothing is saved between visits: there is no localStorage call, so closing or reloading the tab resets everything back to a fresh work session at your last-entered minute values. The completion sound isn't an audio file — it's an 880Hz tone generated on the fly with the AudioContext API, and if the browser blocks or lacks Web Audio the timer still switches phases, just silently.