Show how sustainable your website really is.
The “Carbon Badge” is a digital emblem that signifies a website’s CO₂ footprint, directly sourced from websitecarbon.com. This badge allows website owners to publicly display their site’s environmental performance, promoting transparency and awareness around the digital carbon emissions topic.
It’s really easy to install it on your site, just add the following web component to your code wherever you’d like the badge to appear:
‹carbon-badge background="#000" foreground="#fff"></carbon-badge>
‹script src="carbon-badge.js"></script>
To make it look good on your site you can adjust fore- and background color.
“Carbon Badge” is created by Eric Wätke (@cire901@det.social) and Simon Lou (@simonlou@typo.social).
This project wouldn’t be possible without the Website Carbon Calculator which provides the CO₂ score and an API to use it in our badge.
Our “Website Carbon Badge” source code is released under the MIT License. Please view the LICENSE file for details.