GitHub-Style Habit Tracker: A Contribution Graph for Your Habits

A GitHub-style habit tracker shows a year of habits as a grid of small squares, one per day, that turn green when you do the habit, like the contribution graph on a GitHub profile. This free tool draws one graph for each habit and one for all of them, counts your streaks and check-ins, and downloads the graph as a PNG. No sign-up; everything is saved in your browser.

Last updated: November 5, 2026

Key takeaways

  • It is free and needs no account. You can track up to six habits, and everything is saved in this browser only, with no sync between devices.
  • Each habit has its own graph: a square is dark green when you did the habit that day and grey when you didn't. The All habits graph is shaded by how many habits you did, from light green for one to the darkest green for four or more.
  • A streak counts today once you've marked it, or runs to yesterday if you haven't yet. The tool also shows your longest streak and your active days in the last year.
  • Click a square to mark a day done and click again to undo it. Future days are locked, and "Download as PNG" saves the graph you're looking at.
  • Squares show consistency but don't reward it. For reminders, coins and rewards on your phone, see the Habit Rewards app below.
Less More

Click a square to mark that day done; click again to undo. On "All habits", a day's colour is how many habits you did. Future days are locked.

Your habits

What is a GitHub-style habit tracker?

A GitHub-style habit tracker is a habit tracker drawn as a contribution graph: one square per day, grey when the habit wasn't done and green when it was. GitHub's own graph counts the commits, pull requests and issues on a profile (GitHub's explanation); a habit version counts the days you did the habit instead. Like GitHub's, the graph here has 53 columns of weeks and 7 rows of days, ending with the week that holds today.

Why does a contribution graph help you keep a habit?

It shows a year of days at once, so an empty week stands out and a long run of green is satisfying in a way a number isn't. That's the same pull as the "don't break the chain" calendar, with two things added: you see the whole year, and a day isn't just done or not done, it can be a bit greener.

That second part is why the "All habits" graph is worth a look. A day where you did one of four habits still shows up as light green instead of a gap, so a bad day still counts for something. It's a more forgiving picture than a single streak that resets to zero.

How do you use this tracker?

  1. Name your habits. Rename the three starter habits in the "Your habits" card under the graph, or add up to six.
  2. Pick a graph. Each habit has its own tab. Once you have two or more habits, an "All habits" tab appears.
  3. Mark days done. Click a square, or press "Mark today done" for today. Click a done square again to undo it. Future days are locked.
  4. Read the stats. Your current streak, longest streak this year and active days sit under the graph.
  5. Download it. "Download as PNG" saves the graph you're looking at, with its check-in total.

Keep the list short: three to five habits is plenty. Check in at the same time every day; the outlined square is today.

What does each square mean?

GraphWhat a square meansUse it for
One habitDone (dark green) or not (grey)A daily habit you want an unbroken run of: writing, a walk, no social media before noon
All habitsHow many of your habits you did that day (1 = lightest, 4 or more = darkest)Seeing whether your weeks are getting fuller, without one miss erasing a streak

The "All habits" graph goes fully dark at four habits. The current streak counts today once you've marked it, or runs to yesterday if you haven't yet.

Can you use GitHub's own graph to track habits?

You can, with a daily commit, but it isn't built for it. GitHub's graph shows commits, pull requests and issues, and its contributions are timestamped in UTC rather than your local time zone (GitHub's docs), so a late entry can land on another day. A habit tracker like this one marks a day done in one click and counts the streak for you.

Is a GitHub-style tracker a good habit tracker? Pros and cons

Pros

  • A year at a glance: you see whether a habit is part of your life or something you did for two weeks in January.
  • Partial credit: the All habits graph keeps a day with one of four habits done as light green, not a gap.
  • Free and private: no sign-up, and nothing leaves your browser.

Cons

  • No reminders and no sync: it lives in one browser and starts over if you clear the site data, use private browsing or switch browsers.
  • Nothing rewards a green square: after a few weeks the squares stop feeling new, and on the day you miss, the gap is the most visible thing on the screen.

Verdict: it is good at showing consistency and weak at rewarding it. Two things help: plan your misses, and give the run something to earn. Decide in advance what counts as a rest day. In a study that followed 96 people forming a daily habit (Lally and colleagues, 2010), missing one day didn't materially affect the habit; what matters is the next day. James Clear's rule for it: never miss twice.

Can you use a GitHub-style tracker on your phone? This tool vs the Habit Rewards app

This page is a browser tool. For your phone, Habit Rewards shows each habit as a tile grid that fills in as you check it off, and adds the part a graph lacks: coins you earn for every check-off and spend on rewards you price yourself.

This toolHabit Rewards app
Where it runsYour browser, on one deviceiPhone and Android
The graphA full year, one graph per habit plus an All habits graphA tile grid per habit that fills in as you check it off
RemindersNoYes, at the time you choose, plus home-screen widgets
RewardsNoEach check-off earns 1, 4, 8 or 16 coins by difficulty, spent on rewards you price yourself
A day you can't make itThe square stays greyA 10-coin Skip keeps the streak
PriceFree, no sign-upFree for up to 3 habits and 3 rewards, Pro removes the limits
Two habits in Habit Rewards with 31-day and 30-day streaks on tile grids

FAQ

What is a GitHub-style habit tracker?

A habit tracker drawn like GitHub's contribution graph: one square per day, grey when the habit wasn't done and green when it was, laid out in 53 weekly columns. This page is a free one: a graph for each habit and an All habits graph, in your browser, with no sign-up.

Is this GitHub-style habit tracker free?

Yes. It is free and needs no sign-up, account or download. Everything you enter stays in your browser's storage on the device you use.

How many habits can I track?

Up to six. Each gets its own graph, and once you have two or more an All habits graph appears, shaded by how many habits you did each day.

What do the shades of green mean?

On a single habit's graph a square is grey when you didn't do the habit and dark green when you did. On the All habits graph the shade is the number of habits you did that day: light green for one, darker for two and three, and the darkest green for four or more.

Does it save my progress, and does it sync to my phone?

It saves in your browser's local storage on the device you use, with no account. Clearing the site data, private browsing or switching browsers starts you over, and nothing syncs between devices. Use Download as PNG to keep a copy of a graph. For habits on your phone with reminders, use an app.

How is the streak counted?

The current streak counts the days in a row you've marked, ending today if you've marked today or yesterday if you haven't yet, so it isn't lost before the day is over. On the All habits graph it counts days in a row with any habit done. The tool also shows your longest streak and your active days in the last year.

Can I use GitHub's own contribution graph to track habits?

You can, with a daily commit, but it isn't built for it. GitHub's graph shows commits, pull requests and issues, and timestamps them in UTC rather than your local time zone. A habit tracker like this one marks a day done in one click and counts streaks for you.

Is there a GitHub-style habit tracker app for iPhone or Android?

This page is a browser tool. For your phone, Habit Rewards shows each habit as a tile grid that fills in as you check it off, with reminders on iPhone and Android, and adds coins you earn for every check-off and spend on rewards you set. It is free for up to 3 habits.

Is this affiliated with GitHub?

No. GitHub is a trademark of GitHub, Inc., and this page isn't affiliated with or endorsed by it. The graph only borrows the look of a contribution graph.

More ways to see your progress

Other ways to see your progress, and when each backfires: habit visualization. For one habit and a single streak, use the streak tracker; for a printable year, the yearly habit tracker.

Rather track it on your phone? In Habit Rewards every check-off earns coins, and you spend them on rewards you set yourself. Free on iPhone and Android for up to 3 habits.

Get the app

Free habit tools and printables

Free, in your browser, no sign-up.

Printable Habit TrackerA monthly grid with a goal and a reward for each habit. Yearly Habit Tracker 2027One page per habit with all 365 days, monthly goals and a reward for the year. Habit Tracker SpreadsheetExcel and Google Sheets: habits earn coins, rewards cost coins, all 12 months. 66 Day ChallengeOne habit, 66 boxes in three stages, reward days at 7, 22, 44 and 66. 30-Day Challenge TrackerPick a start date and get a dated tracker with rewards on day 7, 14, 21 and 30. Reading Tracker 2027A line for every book of your yearly goal, with a reward each quarter of the way. No-Spend Challenge TrackerYour allowed list, a tap per no-spend day, your longest run and the money you kept. 365 Day Savings ChallengeA box a day in any order: $667.95 in pennies, plus a 100-envelope chart. Debt Payoff Tracker100 boxes to colour in, one per 1% paid off, with rewards at 10, 25, 50 and 75%. Lent Tracker 2027Feb 10 to Mar 28: pray, give up, give, a tap per day and a printable 40-day calendar. Water Intake TrackerTap a glass each time: today's total, your week, your streak and a printable month. Sleep TrackerLog bed and wake times: hours, average bedtime, how steady it is, a printable sleep diary. Gratitude JournalThree good things a day, prompts, a streak and a printable 30 days. Private. Workout TrackerA weekly workout goal, a quick log, eight weeks of bars and a printable 4-week log. Dry January Tracker 2027A month without alcohol: rewards on day 7, 14, 21 and 31 and the money you kept. Chore Chart with RewardsA weekly chore chart where each chore earns coins and rewards cost coins. Dopamine Menu BuilderBuild a menu of mood-lifting ideas to pick from instead of your phone. Self-Care Advent CalendarKeep your habit each December day and earn that day's treat. Printable. Self-Care Checklist MakerDaily and weekly self-care in six areas, a bad-day minimum, a printable week. Earn Your Screen Time ChartTasks earn minutes of screen time, with a daily cap. For you or a kid. Printable. Goal Bingo Card Maker25 goals on a bingo card, a reward for every line, ideas to fill it. Printable. Dopamine Detox PlannerA 7, 14 or 30-day break with rules you can keep, what to do instead and a reward. Habit Stacking TemplateStack tiny habits on things you already do, add a reward, print a week of checkboxes. Morning & Night Routine ChecklistTimed steps from a start time to a finish time, printed with a week of checkboxes. Discipline TrackerPoints by difficulty, a daily and weekly score, a discipline % to beat. Solo Leveling Habit TrackerA Daily Quest that pays XP and gold: level up and buy rewards from your own shop. Reward TrackerHabits earn coins, rewards cost coins, it keeps the balance. GitHub-Style Habit TrackerGreen squares for your habits: a year graph per habit, streaks, PNG download. Streak TrackerTap the days you kept a habit: current streak, longest streak, next milestone. Sobriety CalculatorDays since you quit, money not spent and your next milestone date. Word Count Tracker50,000 words in 30 days: your pace, the words a day you need, a printable log. 75 Hard CalculatorYour Day 75 finish date, the day you're on and the days left. Winter Arc TrackerYour habits to Dec 31 or for 90 days, printed with a reward every week. 75 Soft TrackerYour Day 75 date and a one-page printable for the four daily tasks.

All free tools and how to use them together →