I’m a regular LeetCode grinder — like many of you.
But one thing always bugged me:
I was solving hundreds of problems, yet my GitHub stayed blank.
So I built Leet2Git – an open-source tool that lets you upload your LeetCode submissions to GitHub, either manually or automatically, in ANY programming language.
How Does It Work?
There are two modes:
1. Manual Mode
Perfect if you want full control.
- You log in via GitHub
- Search for a question
- Paste your solution in your preferred language
- Hit submit — it gets committed to your GitHub repo with proper filenames and formatting
✅ Great for keeping track of selective problems
✅ Works for all languages
✅ No validation, super flexible
2. Automatic Mode
Ready to upload your entire LeetCode grind in one go?
- Log in via GitHub
- Go to the Auto Upload section
- Click Start, and you'll get a small JavaScript snippet
- Paste that code into your LeetCode browser console
- Hit Enter, and… BOOM! My backend fetches all your previously submitted LeetCode problems using their API and pushes them to your GitHub repo instantly
✅ Upload ALL your past submissions in one step
✅ No Chrome extension needed
Unlike some existing Chrome extensions that only sync new submissions, Leet2Git uploads everything you've already solved, saving HOURS of manual work.
Why I Built It
I tried other sync tools, but they didn’t bring over all my old LeetCode submissions.
They only worked when I submitted new solutions. That wasn’t enough.
So I made this.
Leet2Git makes your hard work visible on GitHub — which can be helpful for:
- Portfolio building
- Interview prep tracking
- Daily DSA consistency streaks
Demo & Resources
- Try the app: leet2git.ashwithrai.me
- Tutorial video: Watch on YouTube
- Sample output repo: github.com/Rai-shwith/LeetSolutions
Final Words
No subscriptions. No hidden fees. Just a few ads to keep the servers alive.
Whether you're preparing for FAANG, brushing up on fundamentals, or just love solving problems, I hope this tool helps you showcase your journey.
Would love your feedback, ideas, and maybe even a GitHub ⭐ if you find it helpful!
Let’s keep grinding — and let our GitHub show it!
Top comments (1)
Do check out my Portfolio.