README badge generator
Pick the badges your README needs and a style. You get Markdown or HTML ready to paste, each badge linked to the right GitHub page.
Add a custom badge
Preview
Badge images are served live by shields.io and update on their own; nothing is stored here.
How to use it
- Type your repository as
owner/repoand tick the badges you want: stars, license, latest release and so on. - Choose a style. For anything GitHub does not know, such as a platform or a minimum version, add a custom badge with your own text and colour.
- Copy as Markdown for a README, HTML for a website, or plain URLs.
How the badges work
Each badge is an image served by shields.io, a free service that reads your repository’s data and draws the badge when someone views it. The numbers stay current without you changing the README.
Repository badges link to the page they describe: stars to the stargazers, release to the latest release, Actions status to the workflow runs. Custom badges are plain images.
Custom badge text
Shields.io reads the left text, right text and colour from the address, separated by dashes. The tool handles the escaping for you.
| You type | In the badge address |
|---|---|
| A space | _ or %20 |
| A dash | -- |
| An underscore | __ |
| A colour | A name such as blue or brightgreen, or a hex code without # |
| A logo | A Simple Icons name such as swift, python or docker |
Keep the row short
Three to five badges answer what a visitor checks first: is it maintained, how is it licensed, which version is current, does the build pass. A wall of badges pushes the description down. Put them right under the title, then preview the result in the README preview.
Related tools
Questions people ask
How do I add a badge to my GitHub README?
Generate it above, copy the Markdown, and paste it under the title in README.md. GitHub shows the image as soon as you commit.
Why does my badge show “repo not found”?
Shields.io can only read public repositories, and the owner and name must be spelled as on GitHub. Private repositories need a different approach.
How do I make a GitHub Actions status badge?
Tick GitHub Actions status and type the workflow file name from .github/workflows, such as ci.yml. The badge shows the result of the latest run.
Are the badges free?
Yes. Shields.io is a free, open source service; this page only builds the addresses.