Stats export

Export GitHub Contributions to CSV and JSON

Download a GitHub account’s full contribution history, yearly totals, repositories and languages. Enter a username, pick a file, and open it in Excel, Google Sheets or your own code.

What is the GitArena stats export?

The GitArena stats export is a free tool that downloads any GitHub account’s public activity as CSV or JSON files. It covers every day since the account was created, not just the last year GitHub shows on a profile, and needs no login, GitHub token or code. Use it to chart your own history in a spreadsheet, back up your activity, add real numbers to a portfolio or CV, or compare contributors on a team.

How to export your GitHub contribution history

  1. Type a GitHub username or paste a profile link (github.com/username) into the box above.
  2. Select Get stats. GitArena reads every year of the account's public history from GitHub, which takes a few seconds for long-running accounts.
  3. Check the summary: total contributions, longest and current streak, public repositories, stars and followers.
  4. Download the file you need: everything as JSON, or daily contributions, yearly totals, repositories or languages as CSV.

What’s in the export

Every export is built from GitHub’s public API when you look the account up, and comes as one JSON file or four CSV files:

  • Daily contributions: one row per day since the account was created, with the number behind each green square on the GitHub profile.
  • Contributions by year: total contributions per year, split into commits, pull requests, issues, code reviews and repositories created.
  • Repositories: the 100 most-starred public repositories the account owns (forks left out), with stars, forks, main language, license and dates.
  • Languages: how much code is in each language across those repositories, in bytes and as a share of the total.

The JSON file has all of that plus the profile (name, bio, location, followers, public organizations) and a summary: total contributions, longest and current streak, best day, and the account’s GitArena score.

Example: Linus Torvalds’s GitHub contributions

As of November 22, 2026, the export for Linus Torvalds (@torvalds), the creator of Linux, covers 5,560 days since September 2011: 37,828 contributions on 5,047 active days, with a longest streak of 104 days. The busiest day was December 12, 2022, with 81 contributions. These are the last 5 rows of the “Contributions by year” file:

YearContributionsCommitsPull requestsIssuesReviews
20263,6493,640132
20252,9252,922010
20242,8922,888301
20232,5102,506211
20222,6182,601637

Other ways to get GitHub contribution data

GitHub has no button that downloads your contribution graph. Its profile graph shows one year at a time, its account data export is an archive of your repositories and discussions without daily counts, and its GraphQL API returns daily counts only to code with a token, at most one year per query. GitArena’s export does those queries for you:

MethodDaily countsAccessOutputAny account
GitArena exportYes, every yearNo loginCSV and JSON downloadYes
GitHub profile graphOne year at a timeNo loginView only, no downloadYes
GitHub account data exportNoYour own loginArchive of repos, issues and commentsNo, only your account
GitHub GraphQL APIYes, one year per queryPersonal access tokenJSON, after writing codeYes

To show your stats on your profile instead of in a file, use a GitHub stats badge. To see how two developers stack up side by side, compare their profiles.

Frequently asked questions

How do I download my GitHub contribution history?

Enter your GitHub username on gitarena.dev/export and download “Daily contributions” as CSV. You get one row per day since your account was created, with the same count as the green square on your profile. No login or token is needed.

Do I need to log in to export GitHub stats?

No. Type a username and download. The export only uses data GitHub shows publicly, so you can export your own stats or anyone else's.

Are private repositories included?

No. Private repositories never appear in the export. Private contributions are counted in the daily and yearly numbers only if the account owner has turned on “Include private contributions on my profile” on GitHub, and then only as counts.

Why is my total higher than the number on my GitHub profile?

Your GitHub profile shows contributions in the last year. The export adds up every year since the account was created, and lists the last 12 months separately.

How up to date is the data?

Each username is fetched from GitHub at most once a day, so an export can be up to a day old. The file says exactly when it was fetched.

Can I export a GitHub organization?

No. The export works for personal GitHub accounts. Organizations don't have a contribution graph of their own.

Can I open the CSV files in Excel or Google Sheets?

Yes. The files are UTF-8 with a header row, so Excel, Google Sheets and Numbers open them directly, names and descriptions in any language included.