How to add badges to a GitHub README
Updated 25 November 2026
Short answer
A README badge is a small image, usually served by a badge service such as shields.io, added with Markdown image syntax. Wrap it in a link so clicking it goes somewhere useful, for example [](LICENSE). Keep it to three or four badges near the title.Step by step
- Choose what to show. Build status, latest version, license and downloads are the most useful. Skip badges that do not help a visitor decide.
- Get the badge URL. GitHub Actions gives each workflow a status badge URL; shields.io builds badges for versions, licenses and custom text.
- Add it with Markdown. Use , and wrap it in [ ](link) to make it clickable.
- Put them in one line. Place all badges on a single line under the title so they read as one strip.
Examples
[](https://github.com/OWNER/REPO/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/PACKAGE)
[](LICENSE)Replace OWNER, REPO, PACKAGE and the workflow file name with your own.
Badges that match your README
Default badges are grey and blue, which can clash with a styled README. PrettyGit repository skins draw the build status from your real workflow and style it to match the skin, with light and dark versions.
FAQ
- Where do GitHub Actions badges come from?
- Every workflow has a badge at github.com/OWNER/REPO/actions/workflows/FILE.yml/badge.svg, and the Actions page has a "Create status badge" menu that writes the Markdown for you.
- Do badges slow down a README?
- Slightly, since each is a separate image request. A handful is fine; dozens are not.