LeetCode Stats Card Generator – Beautiful SVG LeetCode Profile Cards
Create your LeetCode Stats Card SVG for GitHub, websites, and more. API, themes, and live preview included.Add beautiful fonts, themes, tempelates
LeetCode Stats Card Generator: The Ultimate Guide
Namaste! 👋 Welcome to the easiest and most complete guide for using the LeetCode Stats Card Generator. Whether you’re a student from a small town, a coding lover, or a pro developer, this tool is here to help you proudly show your LeetCode stats card to the world!
You can easily add your LeetCode progress to your GitHub README, your personal website, or anywhere that allows images or Markdown code. No tension, no coding needed—just a few clicks and you’re done!
If you’re wondering, “How can I make a LeetCode stats card?” or want to display your LeetCode profile card in your GitHub profile, this guide is for you. Our simple tool helps you make a live, real-time LeetCode stats card for your profile. If you ever get stuck with things like “LeetCode stats card not working” or need the GitHub LeetCode stats markdown code, don’t worry—everything is explained step by step.
What is the LeetCode Stats Card Generator?
Think of it as a magic tool (and API) that takes your LeetCode profile stats and turns them into a colorful, stylish SVG card. You can design it your way—change colors, font, layout—and show it off in your GitHub or website. Best part? It updates on its own, so you don’t have to do anything to keep it fresh!
Key Benefits
- Show off your LeetCode progress on your GitHub profile or portfolio—let the world see your hard work!
- Make recruiters and friends go “wow!” with your up-to-date stats.
- Change the card’s look to match your own style or project colors.
- Super easy to use—just copy, paste, and you’re done. Works everywhere SVGs are supported.
- Want to build something custom? Use our API and connect it to your own tools or automations.
Features Overview
- Make your own SVG card—change theme, font, template, and more.
- See a live preview as you set things up—no surprises!
- Choose from two looks: Default (portrait) or Minimal (landscape).
- Pick light or dark theme—whatever suits your eyes.
- Lots of fonts to choose from: Inter, Roboto, Fira Code, and more.
- Show or hide acceptance rate, reputation, and hard problems—your card, your rules.
- Use our API with REST or query—easy for everyone.
- Copy Markdown or HTML and embed anywhere.
- Stats update every hour—always fresh!
Getting Started
Accessing the Generator
Just head over to the LeetCode Stats Card Generator page. No sign-up, no headache—just type your LeetCode username and start playing with the options!
Quick Start Guide
- Type your LeetCode username in the box.
- Pick your favorite theme, font, and card style.
- Switch on or off whatever you want—acceptance rate, reputation, hard problems.
- Click Generate and see your card come alive!
- Copy the Markdown or HTML code and paste it in your GitHub README or website. Done!
UI Walkthrough
Configuration Panel
The left side is your control room! Here you can:
- LeetCode Username: Type your real LeetCode handle (no mistakes!).
- Theme: Light or dark—pick what looks best to you.
- Font Style: Try different fonts until you find your vibe.
- Template: Choose Default (portrait) or Minimal (landscape)—both look great.
- Display Options: Show or hide acceptance rate, reputation, and hard problems. Your card, your choice.
Live Preview
As you change things, the preview updates instantly. No need to guess—see exactly how your card will look before you copy it!
Usage Instructions
The How to Use section gives you ready-to-copy code. Here’s what to do:
- Add to GitHub README:
Copy the Markdown code and paste it into your
README.md
file. That’s it!Tip: Want to control the size? Use HTML like this:
- Customize Options:
Want to get fancy? Add query parameters to the URL to change theme, font, and more:
- Auto-refresh:
Your card updates by itself every hour. No need to do anything—just relax!
Customization Options
Theme
Choose Light or Dark—whatever makes your card pop! The theme changes the background, text, and progress bars.
Font Style
Try out all the supported fonts: Inter, Roboto, Fira Code, JetBrains Mono, Source Code Pro, Open Sans, Montserrat, and Lato. Only these work in the card. The font changes everywhere in the SVG for a cool, consistent look.
Template
Default: Tall card with round progress circles and lots of details.
Minimal: Wide card with a modern, clean look and full-width bars.
Display Options
- Show Acceptance Rate: Show or hide your LeetCode acceptance rate.
- Show Reputation: Show or hide your LeetCode reputation score.
- Show Hard: Show or hide hard problem stats. Your call!
API Reference
Endpoints
/api/leetcode-stats?username=your-username
(query param)/api/leetcode-stats/your-username
(RESTful path param)
Query Parameters
theme
:light
|dark
font
: Inter, Roboto, Fira Code, JetBrains Mono, Source Code Pro, Open Sans, Montserrat, Latotemplate
:default
|minimal
acceptance
:true
|false
reputation
:true
|false
hard
:true
|false
Example API Request
Example SVG Response
Embedding the Card
You can put your LeetCode stats card anywhere that supports images or Markdown:
- GitHub README.md (most popular!)
- Your own website or blog
- Portfolio pages
- Online resumes
- Docs sites
For best results, use the Markdown or HTML code from the generator. Want to make it bigger or smaller? Just change the width
in the HTML.
Advanced Usage
Customizing via URL Parameters
You can set all options using the URL. This is great for automation, sharing, or just being fancy!
Using with Other Platforms
The SVG card works anywhere images are allowed. If a site doesn’t support SVG, you can convert it to PNG using online tools or a screenshot.
Troubleshooting
Common Errors
- “Failed to fetch LeetCode stats. Please check the username.”
Double-check your LeetCode username—spelling matters! The API is case-sensitive. - Card not updating:
The card updates every hour. If it’s not showing new stats, try refreshing or clearing your browser cache. - Font not displaying correctly:
Some fonts need to be loaded globally. Make sure your site includes the right Google Fonts link in the<head>
.
Contributing & Extending
Want to add new templates, features, or integrations? You’re most welcome! Check out the project’s GitHub repo for how to contribute.
- Fork the repo and make a new branch for your changes.
- Follow the code style and keep things neat.
- Test your changes before making a pull request.
SEO Tips for Your LeetCode Card
Want your GitHub or website to rank higher on Google? Try these tips:
- Use a good alt text in your image tag (e.g.,
alt="LeetCode Stats for sonukumar12"
). - Add a short description of your LeetCode journey near the card.
- Share your card on social media and dev communities.
- Keep your stats fresh—update regularly!
Conclusion
The LeetCode Stats Card Generator is the easiest, most flexible way to show your coding journey. With beautiful, customizable SVG cards, easy embedding, and a powerful API, you can make your achievements shine anywhere on the web. Try it now and let your LeetCode stats do the talking!
Click the button to find related documentation using AI.