Habit Tracker
Add a habit, tap each day you do it, and watch your streak grow. Everything is saved privately in your browser — no account, no tracking.
No habits yet.
Add your first habit above — researchers say tracking visibly is one of the simplest ways to stay consistent.
Tip: tap any square to mark a day done (or undo it). Your data never leaves this browser.
How to use the Habit Tracker
- Add a habit. Type a clear, specific habit — “Read 20 minutes” beats “read more” — pick a colour, and hit “Add habit”. You can track as many habits as you like, each with its own grid.
- Tap each day you do it. Every square is a day. Tap today’s square when you complete the habit; tap again to undo if you tapped by mistake. The grid shows 22 weeks, so your progress is always visible at a glance.
- Watch your streaks and stats. Each habit shows its current streak, best streak, total days completed and your completion rate for the month. Numbers going up is the whole game — check them when motivation dips.
- Keep habits small and daily. The tracker works best with daily actions. If a habit is weekly (like “clean the flat”), consider reframing it as a small daily version, or just mark the day you do it and accept the gaps.
- Delete or reset anytime. Habits change — remove one with the delete button when it’s served its purpose. There’s a confirmation step so you can’t wipe months of history by accident.
Why streaks build habits: don’t break the chain
The tracker is built around a method often called “don’t break the chain”: you mark an X on every day you do the habit, and your only job is to keep the chain of X’s unbroken. The comedian Jerry Seinfeld reportedly used a wall calendar this way to force himself to write jokes daily, and the psychology behind it is solid — a visible streak turns an abstract goal into a concrete daily win, and loss aversion makes you reluctant to break it.
Research backs the mechanism. A well-known 2009 study by Phillippa Lally and colleagues at University College London found that new behaviours become automatic after anywhere from 18 to 254 days, averaging about 66 — and crucially, missing a single day didn’t reset the process. What mattered was consistency over time, not perfection. That’s why this tracker treats a missed day as a gap, not a failure.
James Clear, author of Atomic Habits, phrases the practical rule as “never miss twice”: one missed day is an accident, two is the start of a new (bad) habit. The monthly completion rate in your stats is designed for exactly this — aim to keep it high rather than obsessing over a perfect streak. And start embarrassingly small: “read 20 minutes” is easier to do daily than “read a book a week”, and daily repetition is what wires the habit in.
Frequently asked questions
How long does it take to form a habit?
Longer than the popular “21 days” myth suggests. The UCL research found an average of 66 days, with wide variation (18–254 days) depending on the person and the habit. Simpler habits done in a stable context form faster. Use the tracker for at least two months before judging.
What should I do when I miss a day?
Nothing dramatic — just do the habit the next day. Missing once has been shown not to derail habit formation; the danger is letting one miss become two, then a week. Your current streak resets, but your total days and monthly rate keep climbing.
Is my habit data private?
Yes. Everything is stored in your browser’s local storage on your own device — no account, no server, no analytics. Clearing your browser data will erase it, though, so treat it like anything else you keep locally.
How many habits can I track?
There’s no hard limit, but restraint helps: most people do best with 2–5 active habits. Too many splits your attention and every streak becomes fragile. Master a few, then add more.
What do the stats mean?
Current streak is your unbroken run up to today; best streak is the longest run you’ve ever had; total days is every marked day combined; the monthly rate is the percentage of days this month you’ve completed the habit. Together they show both momentum and long-term consistency.
Can I mark past days?
Yes — tap any square in the grid to toggle it, including past days. Useful if you did the habit but forgot to log it at the time.