Markdown Badge Generator
Make custom shields.io badges for your README or docs. Choose the label, message and color, add a style or logo, and copy ready-to-paste Markdown or HTML. Spaces, dashes and underscores are escaped for you so the badge URL is always valid.
How to make a Markdown badge
- Type the label and message, then pick a color, style and optional logo.
- Check the live badge preview to confirm it looks right.
- Copy the Markdown or HTML and paste it into your README or page.
Examples
Build passing badge
{ "label": "build", "message": "passing", "color": "brightgreen" }
Linked license badge
{ "label": "license", "message": "MIT", "color": "blue", "link": "https://opensource.org/licenses/MIT" }[](https://opensource.org/licenses/MIT)
Frequently asked questions
What is a shields.io badge?
shields.io is a free service that renders small status badges as images, like the build, version and license badges you see at the top of many READMEs. This tool builds the static badge URL for you and wraps it in Markdown or HTML.
How are spaces and dashes handled in the badge text?
shields.io uses dashes to separate the label, message and color, so the text has to be escaped. A literal dash becomes --, a literal underscore becomes __, and a space becomes _. This tool applies those rules and URL-encodes the rest, so characters like % or / still work.
Can I add a logo or change the style?
Yes. Pick a style such as flat, flat-square or for-the-badge, and add a logo by its simpleicons.org slug (for example github or typescript). They are added to the badge URL as style and logo query parameters.
How do I make the badge clickable?
Add a link and the Markdown output becomes [](your-link), and the HTML wraps the image in an anchor. This is how badges link to your CI dashboard, releases page or license.
What colors can I use?
Use a named shields.io color like brightgreen, blue, orange or red, a semantic name like success or critical, or any hex code such as ff69b4. Hex codes do not need a leading hash.
Is anything sent to a server?
No. The badge URL and snippets are built entirely in your browser. Your browser only contacts shields.io when it loads the badge image itself, exactly as it would when the README is viewed.
Related tools
Markdown to HTML
Convert Markdown to clean HTML in your browser. Headings, bold, italic, links, images, lists, blockquotes and fenced code blocks, with text safely escaped.
GitHub Actions Generator
Build a ready-to-use GitHub Actions CI workflow. Pick triggers, language, version matrix and steps, then copy or download the .github/workflows YAML.
Gitignore Generator
Build a .gitignore from Node, Python, Java, Go, Rust, macOS, Windows and more. Pick your stacks, copy or download the file. Runs in your browser.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.