Habit Tracker

Track daily habits with one-tap check-ins, current and best streaks, a 30-day completion rate and a 12-week heatmap. Everything is saved in your browser with no account, and you can export or import your data as JSON.

Color

Your habits are stored only in this browser's local storage. Export a JSON backup before clearing site data or switching devices.

Usage examples

Building a daily reading habit

Add "Read 20 minutes" and tap Today each evening. The current streak shows how many days in a row you've kept it up, and the 30-day rate shows how consistent you are overall.

Logging days you forgot to check

Missed tapping yesterday? Use the last-7-days row or the 12-week heatmap to mark any past day, and the streaks and completion rate recalculate instantly.

Tracking several routines side by side

Give exercise, water, meditation and an early bedtime their own colors and compare their heatmaps to see which routine slips first on busy weeks.

Moving your habits to a new computer

Click Export JSON on the old device, open the tool on the new one, and use Import JSON to restore every habit with its full check-in history.

Reviewing a month of progress

At the end of a month, look at the 30-day percentage for each habit to decide which ones are sticking and which need a smaller, easier version.

Frequently asked questions

Where is my habit data stored?

Only in your browser's localStorage on this device. Nothing is sent to a server and there's no account. Clearing site data, using a private window, or switching browsers means the data isn't there, so export a JSON backup from time to time.

How is the current streak counted?

It's the number of consecutive checked days ending today. If you haven't checked today yet, the streak still counts through yesterday, so it doesn't drop to zero in the morning; it only resets once a full day passes unchecked.

How is the 30-day percentage calculated?

It's the number of checked days in the last 30 days (including today) divided by the number of days in that window. Days before you created the habit are left out, so a habit started 6 days ago with 3 check-ins shows 50%, not 10%.

Can I check off past days?

Yes. Tap any of the last 7 days, or any square in the 12-week heatmap, to toggle it. Future days are disabled. If you mark a day before the habit's start date, the start date moves back to that day.

Does it sync between my phone and computer?

No, there's no automatic sync because nothing is stored online. To move or merge devices, export JSON on one and import it on the other. Importing replaces the habits currently in that browser after you confirm.

How long does it take to form a habit?

In a study by Phillippa Lally and colleagues at University College London, published in the European Journal of Social Psychology in 2010, it took participants a median of 66 days for a daily behavior to become automatic, with a range of 18 to 254 days. Missing a single day did not meaningfully affect the process, so one broken streak isn't a reason to quit.

What does the exported file contain?

A small JSON file with a version number and, for each habit, its name, color, start date and the list of checked dates in YYYY-MM-DD format. You can open it in any text editor or keep it as a backup; invalid dates are ignored on import.