Shields.io
Service and NPM library for generating concise, consistent badges in SVG and raster format for readmes and web pages.
At a Glance
Shields.io core (badge server, frontend and badge-maker library) is dual licensed under MIT and Apache 2.0 and can be self-hosted.
Engagement
Available On
Listed Nov 2026
About Shields.io
Shields.io is an open-source service from the badges organization that generates concise, consistent, and legible badges in SVG and raster formats. The badges can be embedded in GitHub readmes or any other web page. The repository hosts the frontend and server code, the badge-maker NPM library, and the badge design specification.
What It Is
Shields.io renders status badges through URLs. Dynamic badges show metrics for services such as continuous integration, package registries, distributions, app stores, social networks, code coverage, and code analysis. Static badges let users create a badge with any text, for example https://img.shields.io/badge/left-right-f39f37. According to the README, the service serves over 1.6 billion images every month.
How It Works
Users browse the badge catalog, search or pick a category, fill in the required data such as a username or repository, and optionally customize the label and colors. They then copy the badge URL or snippet into a readme or web page. Developers can also run npm run badge -- /npm/v/nock to debug a badge from the command line.
Self-Hosting and Library Use
The badge-maker NPM library renders badges inside your own application. A Docker image allows running a Shields instance behind a firewall, and the server can be configured with Sentry and Prometheus. Local development requires Node 24 and is started with npm ci and npm start.
Project Background
The project grew out of the b.adge.me service and the gh-badges library, and merged with shields.io. It is dual licensed under MIT and Apache 2.0, and is maintained as a community project.
Community Discussions
Be the first to start a conversation about Shields.io
Share your experience with Shields.io, ask questions, or help others learn from your insights.
Pricing
Open Source
Shields.io core (badge server, frontend and badge-maker library) is dual licensed under MIT and Apache 2.0 and can be self-hosted.
- Dual licensed under MIT and Apache License 2.0
- Self-hosting via docker image
- badge-maker NPM library
- Donations accepted to sustain the project
Capabilities
Key Features
- Dynamic badges for hundreds of services
- Static badges with custom text
- SVG and raster output
- Badge-maker NPM library
- Self-hosting via Docker image
- Badge customization of labels and colors
- Badge design specification
- Optional Sentry and Prometheus configuration
- Snapshot tests for badge output
