Skip to content

Badgen

Fast badge generating service.

ref-reporef-online-toolref-official-doc

Tip

Due to the large number of badge types supported by this project and its powerful features, here is a brief introduction to static badges only. For other badge types, please refer to the official documentation.

Parameters

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-params
badgestringtrueBadge typeSupported: /static /github /gitlab /https, etc. More types please refer to the official documentation.
subjectstringtrueBadge subjectFor example, when using /static badge, subject represents the label on the left side of the badge.
statusstringtrueBadge statusFor example, /static/Swift/4.2/orange status=4.2.
colorstringtrueBadge colorSupported formats: RGB CSS color.
ref-querys
colorstringOverride default badge color
iconstringBadge iconSupport external icon URL.
labelstringBadge label
labelColorstringBadge label color
scalenumber1Badge scale
cachenumber86400Cache timeUnit: seconds.
txt
https://badgen.net/{badge}/{subject}/{status}/{color}{?color,icon,label,labelColor,scale,cache}

Examples

markdown
<!-- badgen/badgen.net -->
![Swift Version](https://badgen.net/static/Swift/4.2/orange)
Swift Version
markdown
![Color Badge](https://badgen.net/badge/color/F94144/F94144?label=)
Color Badge F94144Color Badge F3722CColor Badge F8961EColor Badge F9844AColor Badge F9C74FColor Badge 90BE6DColor Badge 43AA8BColor Badge 4D908EColor Badge 577590Color Badge 555555Color Badge 277DA1

Badge Collection (v3.0.5) MIT Licensed