DevTools Logo

README Badge Builder

README Badge Builder

Compose shields.io badges with exact Markdown.

Runs in your browser
Try an example

Input

1 line · 5 chars

Result

1 line · 73 chars

README Badge Builder composes shields.io badges from a form: GitHub Actions, GitLab CI, npm, PyPI, crates, Docker, license, coverage, Discord, socials and static badges. It handles endpoint paths and shields escaping rules for dashes, underscores and spaces, applies a style across every badge, and emits Markdown, HTML or reStructuredText with link targets. The live preview loads the real badge images so you can see the final row before copying.

Examples

Input
GitHub Actions: acme/widgets/ci.yml
Output
[![CI](https://img.shields.io/github/actions/workflow/status/acme/widgets/ci.yml)](...)

The workflow path is encoded and the image is linked to the Actions page.

Input
static: built-with-love
Output
badge/built--with--love-brightgreen

Each dash is doubled so shields renders the literal wording.

Input
style=for-the-badge
Output
?style=for-the-badge

Global style is appended to every badge URL in the row.

About this tool

Badges are usually the first thing added to a README, and shields.io URL parameters are the fiddly part. This builder hides the endpoint patterns and escaping rules behind fields while still showing the exact URL and Markdown it produces.

Each badge type knows its provider-correct path: GitHub Actions workflow status, npm version and downloads, license, coverage services, Discord, socials, package registries and a fully custom static badge. Global style, logo and cache settings apply to the whole row.

The preview loads real badge images from shields.io — the only network request the tool makes. Output is plain Markdown, HTML or reStructuredText, so you can paste the row anywhere without depending on this page later.

What this tool does not do

  • Badge image rendering depends on shields.io being reachable; the generated markup does not.
  • Only badges with public, token-less endpoints are supported; private CI badges need tokens and are out of scope.
  • shields.io may change endpoints; built-in presets reflect the documented paths at implementation time.

How to use this tool

  1. Add badges

    Start from the OSS starter or community template, or add individual badges from the type picker.

  2. Fill in fields

    Each type shows only the fields it needs: owner, repo, workflow, package name, invite ID or static label and message.

  3. Style the row

    Choose a global style, logo, colors and cache duration. The preview and all output formats update together.

  4. Copy the row

    Switch between Markdown, HTML and reStructuredText output and copy the exact snippet for your README.

Use cases

Polish a new README

Add a standard CI, version, license and coverage row without looking up every shields endpoint.

Add community links

Compose Discord and social badges with the right invite ID and link targets.

Bulk-style badges

Apply one style and logo across a whole badge set, then paste a single Markdown row.

Escaping rules

Input characterEscaped as
---
___
space%20
/ in workflow path%2F

Escaping is applied only where shields requires it; query parameters use standard URL encoding.

Common mistakes

Mistake:Forgetting dash escaping on static badges.

Fix:A single dash is a separator in shields paths, so a label like built-with-love needs doubled dashes. The builder applies this for you and shows the final URL.

Mistake:Using a badge where a license document belongs.

Fix:Badges are README chrome that link elsewhere; a license generator produces the actual legal text.

Mistake:Assuming offline preview means broken output.

Fix:If the network blocks shields.io the preview shows the URL instead, but the generated Markdown is still correct and will render wherever the README is viewed.

Frequently asked questions

How do I add a GitHub Actions badge?

Choose the GitHub Actions badge type, enter the repository owner and name, the workflow file path and optionally the branch. The builder emits a workflow-status image linked to that workflow's Actions page, with the path encoded exactly as shields expects.

Why do dashes break my badge label?

In shields.io path segments a single dash separates the label, message and color. Literal dashes inside a label or message must be doubled, and underscores doubled as well. This tool applies the escaping so built-with-love renders with its words intact.

Can I use custom logos?

Yes. Enter a Simple Icons slug or a logo URL in the global style panel, and set logoColor if needed. Query parameters are appended in a stable order to every badge in the row.

Do badges leak information?

Public badge endpoints reveal the status or count they display, such as a passing build or download number. If that is sensitive, use shields' static badges or a private badge service. Nothing is uploaded by this tool; only your browser requests the preview images.

How do I batch-style all my badges?

Use the global style, logo, label color and cache controls. They apply to every badge in the set at once, and the preview and all three output formats update together so you can copy one consistent row.

References & standards