Habit Tracker
Track daily habits in a 7-day grid with auto streak counts; saved in your browser.
Written by Golam Rabbani, Founder & Lead Engineer
How to use this habit tracker
- Type a habit name (for example "Drink 2L water") and press Add to put it on the tracker.
- For each habit, tick the box under today's column when you complete it; today is on the far right.
- Reorder habits with the up and down arrows or rename them inline.
- Press Generate weekly summary to see a 7-day count and current streak for every habit.
- Use Copy to put the summary on your clipboard, or Reset to clear everything.
About this habit tracker
The habit tracker is a browser-only weekly grid for daily habits. Each row is a habit, each column is one of the last seven days, and each cell is a checkbox. Ticking a box stores the completion against that date in your browser's localStorage under the key "toolnest:habit-tracker", so your data survives a reload but never leaves the device. There is no account, no sync, and no server.
Streaks are computed by counting consecutive days back from today where the box is ticked. The weekly summary then reports both the number of days completed in the last seven and the current streak length per habit. Reordering, renaming, and deletion happen in place — nothing is calculated until you press Generate.
For example, add three habits — Meditate, Walk 30 minutes, Read 10 pages — and tick Meditate on Monday through Friday plus today (Saturday). The summary will show "Meditate: 6/7 days this week, 6-day streak". Walk and Read will show whatever count and streak you ticked. The same data persists if you close the tab and come back tomorrow, so the streak can keep growing across visits.
FAQ
- Where is my habit data stored?
- Only in your browser's localStorage on this device, under the key "toolnest:habit-tracker". Clearing site data, switching browsers, or using private mode will wipe it. Nothing is sent to a server.
- How are streaks calculated?
- The tracker counts back from today's date and adds one to the streak for each consecutive day the habit is ticked. The first day that is not ticked stops the count.
- Can I track more than 7 days of history?
- The grid always shows the most recent seven days, but ticked dates further back are still stored. If you tick a day, leave the tool for a week, and return, that earlier tick still counts when streaks span the gap.
- Can I export my habits?
- Yes — press Generate weekly summary and then Copy to put a plain-text summary on your clipboard. You can paste it into a note, journal, or message.
- Why did my data disappear?
- Browsers clear localStorage if you wipe site data, use a different profile, or open the tool in private/incognito mode. The data is not lost on the server — there is no server — so it cannot be recovered after a wipe.