Shield Badge

本地生成扁平风格 SVG 徽章,可预览并下载,无需请求外部服务。

What Is an SVG Badge Generator?

An SVG badge generator is an online tool that creates small rectangular badges in SVG format, commonly used in README files to display build status, versions and other metadata. The tool renders the SVG entirely in the browser, so no external badge service is required.

Main Features

  • Customize the left label and the right message text
  • Built-in preset colors such as brightgreen, green and blue, plus custom #RGB / #RRGGBB colors
  • Measure text width and generate the SVG locally without external requests
  • Live preview, download as an SVG file, or copy the SVG source code

Use Cases & Notes

Great for embedding project status badges in GitHub README files and technical documentation. Text width is estimated using the Verdana font, so results may differ slightly for non-proportional characters.

How to Use

  1. Enter the label and message text
  2. Choose a preset color or enter a custom hex color
  3. Click Preview, then download the SVG or copy its source code