Skip to content

Free tool

LeetCode stats for your GitHub README

A live badge showing your solved counts across LeetCode, Codeforces, CodeChef, GeeksforGeeks, HackerRank and GitHub. Enter a handle, copy one line into your README. No signup, no tracking, free.

Your handles

Fill in whichever you use. Everything is optional — the badge shows only the platforms it finds.

Theme

Preview

Example handles
Preview of the CrackAlgo stats badge for the handles entered above

Live data, refreshed hourly. If a platform is missing it means the handle didn’t resolve — check the spelling.

Markdown

[![CrackAlgo Stats](/api/widget/stats?leetcode=neal_wu&github=torvalds)](/u?leetcode=neal_wu&github=torvalds)

Paste into your README.md.

HTML

<a href="/u?leetcode=neal_wu&github=torvalds"><img src="/api/widget/stats?leetcode=neal_wu&github=torvalds" alt="CrackAlgo Stats" /></a>

For a portfolio site or anywhere markdown isn’t supported.

How to add it to your GitHub profile

  1. 1. Enter your handles above — you only need one to start.
  2. 2. Copy the markdown line.
  3. 3. Paste it into the README.md of the repository named after your username — that’s the one GitHub shows on your profile. Create it if you don’t have one.
  4. 4. Commit. The badge updates itself from then on.

Common questions

Which platforms does the badge support?

LeetCode, Codeforces, CodeChef, GeeksforGeeks, HackerRank and GitHub. Add as many as you use — the badge lists a row per platform it can resolve, plus a combined total solved count across all of them.

Do I need an account to use this?

No. The badge reads public profile data from each platform, so you only need your handle. Nothing is stored and there is no signup step.

How often does the badge update?

The image is regenerated hourly and served from the edge cache, so your README stays current without hammering the source platforms on every page view.

Why is one of my platforms missing from the badge?

It means that handle did not resolve — usually a typo, or a profile set to private. The badge silently omits platforms it cannot read rather than showing a zero, so check the spelling and that the profile is public.

Is it free?

Yes, entirely, with no rate limit for normal README use.

Related