Carbon-Aware Computing

CO2.js

JavaScript library for estimating the carbon emissions of digital services and website visits.

Verified 2026-10-22

Overview

CO2.js is a JavaScript library from The Green Web Foundation for estimating the carbon emissions of digital services. The repository describes it as an npm module for accessing the green web API and for estimating the carbon emissions from using digital services, and the documentation explains that every byte uploaded or downloaded carries a CO2 cost that developers can calculate to build more efficient, lower-carbon websites, apps and software.

Use cases

  • Estimate the carbon emissions of a website or web app
  • Check whether a site is hosted on green energy
  • Embed carbon estimates in digital products
  • Report emissions from bytes transferred

Sources

More in Carbon-Aware Computing

Category page →

Regional forecast API for Great Britain's grid carbon intensity and generation mix.

Pricing
Free
Category
Carbon-Aware Computing
Compliance
Not stated
Verified 2026-10-22Website

Estimate and monitor the carbon footprint of web application user scenarios, including in CI.

Pricing
Freemium
Category
Carbon-Aware Computing
Compliance
Not stated
Verified 2026-10-22Website

Prometheus exporter that measures Kubernetes pod and node energy consumption.

Pricing
Free
Category
Carbon-Aware Computing
Compliance
Not stated
Verified 2026-10-22Website