Step-by-step guide to embedding ChangeCrab badges on your website using HTML, Markdown, or JavaScript.
Embed ChangeCrab badges on your website, README files, or documentation using simple HTML, Markdown, or JavaScript embed codes.
The script embed is the simplest and most flexible option. It automatically updates when your badge changes, without requiring you to re-embed the code.
The script tag dynamically loads your badge HTML (including CSS) and inserts it right after the script tag. This means:
<script src="https://changecrab.com/badge.js?id=YOUR_CHANGELOG_ID&type=frequency&style=flat"></script>
Place the script tag where you want the badge to appear. The badge will be inserted right after the script tag.
Perfect for README files on GitHub, GitLab, or other platforms that support Markdown.
[](https://your-changelog-url.com)
Simple HTML image tag that works everywhere. Good for platforms that strip style tags.
<a href="https://your-changelog-url.com">
<img src="https://changecrab.com/badge?id=YOUR_CHANGELOG_ID&type=frequency&format=svg" alt="ChangeCrab" />
</a>
Full HTML badge code with inline CSS. Use this when you need complete control or when embedding in HTML that supports style tags.
<style>
/* Badge CSS included automatically */
</style>
<a href="https://your-changelog-url.com" class="cc-badge flat" data-color="gold">
<span class="cc-badge-left">
<img src="..." alt="ChangeCrab" class="cc-badge-logo" />
<span class="cc-badge-label">ChangeCrab</span>
</span>
<span class="cc-badge-right">Updated Weekly</span>
</a>
You can customize badges using URL parameters:
| Parameter | Options | Description |
|---|---|---|
id |
Your changelog ID | Required. Your changelog access ID or subdomain |
type |
frequency, tier, activity | Badge type (default: frequency) |
style |
flat, plastic, flat-square, flat-dark, plastic-dark, flat-square-dark | Badge style (default: flat) |
format |
html, svg | Output format (default: html) |
minimal |
true, false | Hide attribution (paid users only, default: false) |
Add your badge to your GitHub README.md file:
For documentation sites like Docusaurus, MkDocs, or GitBook:
For WordPress sites:
For static sites (HTML, Jekyll, Hugo, etc.):
By default, badges link to your changelog URL. You can customize the link destination in your badge settings: