For static README badges, Badge Generator is a browser-based alternative to manually escaping and assembling Shields.io URLs, with ready-to-copy URL, Markdown, and HTML outputs.
That is a narrower promise than replacing Shields.io itself. The generated image URL still points to Shields.io, and the live preview is loaded from that service. The alternative is the authoring workflow: you build and compare a badge in a form, then copy the appropriate output without editing the path yourself.
Here, a badge is a compact README or status image rather than a printable event badge, credential, or award. Static versions suit stable labels such as build, docs, version, or license in a README, documentation page, release note, or project dashboard.

What this alternative covers
Badge Generator focuses on static presentation. You control the short label and message, badge color, optional label color, supported style, and optional Simple Icons logo. The underlying URL, Markdown snippet, and HTML image tag are derived from the same canonical badge URL. This provides a convenient form-based workflow without changing the standard Shields.io output format.
Generation happens in your browser. The tool requires no account and does not save a badge history. The live preview is the exception to local processing: Shields.io receives the preview image request built from the URL you created, while the form data is not posted to Lizely. A published badge also depends on the destination being able to load the remote Shields.io image.
Match the requirement to the most appropriate output before you start:
| Requirement | Best fit | Output or reason |
|---|---|---|
| Stable label, version, license, or maintained statement | Static Shields.io badge | Custom text, colors, style, and an optional logo |
| Repository README, issue template, or documentation file | Markdown output | Paste the generated snippet into the document |
| Web page that accepts image markup | HTML output | Image tag with an escaped alt attribute and image source |
| System that accepts a remote badge image | Direct image URL | Reuse the canonical Shields.io URL |
| Value tied to a changing external source | CI-, registry-, or endpoint-backed badge | The static generator does not fetch or refresh the value |
Generate and install a static badge
Create the badge in four concrete steps:
- Enter the text. Add a short label for the left side and the message for the right side. Both fields must contain visible text, stay within the practical length limit, and contain no control characters.
- Choose the appearance. Select a named or hexadecimal badge color, add an optional label color if needed, and choose one of the supported styles.
- Add a logo when useful. Optionally enter a Simple Icons slug, then confirm that the live Shields.io preview displays the intended label, message, colors, style, and logo.
- Copy and test the result. Choose the direct image URL, Markdown, or HTML output, copy it, and test the rendered result in the destination document.
Preview several supported styles at the size where the badge will actually appear. Then select the format accepted by the destination: Markdown for repository documentation, HTML for a web page, or the direct image URL for a system that supports remote badge images.
How escaping and validation work
Shields.io uses dashes to separate badge parts and underscores to represent spaces in a badge path. The generator doubles literal dashes and underscores so those characters remain visible in the final badge rather than changing the badge’s structure. Other special characters in the label or message are URL encoded. This is the main formatting problem the form handles for you.
Optional style, label color, and logo values are added as query parameters rather than mixed into the path. Copy the generated URL or snippet as provided. Hand-editing separators or replacing the encoded characters can change the visible text or break the relationship between the path parts.
The input rules are intentionally strict. Labels and messages must contain visible text, remain within a practical length limit, and exclude control characters. Colors accept a compact named form or three- and six-digit hexadecimal values; an optional leading hash is removed before the URL is built. Logo values must look like Simple Icons slugs. These checks catch common typing mistakes, but they do not verify that every possible named color or logo currently exists on the external service.
Match the output to the destination
All three formats come from the same canonical badge URL, so the decision depends on where the badge will appear:
| Format | Use it for | What to copy |
|---|---|---|
| Direct image URL | A system that accepts a remote badge image | The canonical Shields.io image URL |
| Markdown | A GitHub or GitLab README, issue template, or documentation file | The generated Markdown image snippet |
| HTML | A site that accepts markup | An image tag containing escaped alt text and an image source |
The direct URL keeps the badge separate from the page markup. Markdown is convenient for repository documentation, while the HTML version provides an escaped alt attribute and image source for sites that accept an image tag. Choose one format for the destination rather than mixing several versions of the same badge.
For the underlying path and query rules, consult the Shields.io static badge reference. For GitLab-specific placement and behavior, GitLab’s project badge documentation provides the relevant platform context.
Keep the badge’s claim accurate
A generated badge is presentation, not proof. A manually entered message such as “passing,” “secure,” or “100%” does not verify a build, audit, or coverage report. Use static badges for stable labels, links, versions, or statements that you are prepared to keep current.
When the displayed value must track changing external data, use a badge backed by the relevant CI system, package registry, or verified endpoint instead. Also add surrounding prose or a meaningful alt description where context matters. Color should not carry the full meaning on its own, particularly when the badge communicates a status or accessibility-relevant distinction.
Check the rendered destination
Always test the badge in the final document rather than relying only on the preview. The preview confirms the current generated request, but a destination platform may transform the markup or proxy the remote image. If the target platform proxies remote images, changes can be cached outside the generator.
If a logo does not appear, verify its slug against the current Simple Icons catalog. The form checks that the value resembles a Simple Icons slug, but it does not guarantee that the external catalog contains it. If the badge looks stale, check the destination’s image caching. If the text or separators look wrong, return to the copied output rather than changing the encoded path by hand.
When this alternative is the right fit
This workflow is strongest when the goal is a stable developer badge and the main obstacle is remembering Shields.io path escapes, separators, or query parameters. It removes that construction work while preserving the three useful distribution formats. It does not add an account, saved badge history, source verification, or automatic refresh behavior.
It is also not a different badge-hosting backend. The dependency on Shields.io remains part of the result. If you need an automatically changing value or evidence of a passing build or audit, select the relevant CI, registry, or verified endpoint as the source of truth and treat any badge as a presentation layer over that source.
If you're weighing options, BOM Remover Alternative: Remove One Leading U+FEFF covers this in detail.