Leet2Git is an open-source tool that allows LeetCode users to upload their submissions to GitHub in any programming language, either manually or automatically.
Manual Mode: Users log in via GitHub, paste their solution, and submit it to be committed to their GitHub repo with proper filenames and formatting. Great for selective problems, all languages, and is super flexible.
Automatic Mode: Users can upload all their previous LeetCode submissions in one step by pasting a JavaScript snippet in their browser console, which fetches and pushes their solutions to GitHub instantly. No Chrome extension needed.
Leet2Git was created because existing tools only synced new submissions, not all past solutions. The tool helps users showcase their hard work on GitHub, useful for portfolio building, interview prep tracking, and daily DSA consistency streaks.