Your Website Is Polluting. Here's What to Do About It.

Your Website Is Polluting. Here's What to Do About It.

February 25, 2026

Why bloated code and unoptimised images aren't just slow. They're environmentally irresponsible.

Why bloated code and unoptimised images aren't just slow. They're environmentally irresponsible.

a plane flying in the sky with the word co2 written in it
a plane flying in the sky with the word co2 written in it

Every time someone loads your website, a data centre somewhere burns electricity.

Servers process the request. Data travels through physical cables. Your visitor's device renders the page. All of it consumes energy. All of it produces carbon.

A single website visit is a tiny environmental event.

Multiply by thousands of visits daily. Multiply by millions of websites. Multiply by every page load, every image, every autoplaying video nobody asked for.

The internet consumes approximately 4% of global electricity. More than the entire aviation industry. And growing faster.

Your website is part of that number. The question is whether it needs to be.

What Makes Websites Heavy

Let's be precise about the problem.

Unoptimised images:

A photographer uploads their portfolio. Raw files exported directly from Lightroom. Each image: 8-12MB. Portfolio page: 15 images. Total page weight: 150MB+.

Properly optimised: Same images at WebP format, correctly sized, lazy-loaded: 3-4MB total. 97% reduction. Zero visible quality difference to the viewer.

Unnecessary scripts:

Most websites load dozens of JavaScript files. Analytics scripts. Marketing pixels. Chat widgets. Cookie consent tools. A/B testing frameworks. Social sharing buttons.

Each one: Extra HTTP request. Extra processing. Extra electricity. Extra carbon.

Many serve no measurable business purpose. They're installed, forgotten, never removed.

Video autoplay:

That ambient background video on your homepage that nobody watches?

Streaming one minute of video: approximately 0.036g CO2.

Doesn't sound much. If 10,000 people visit your homepage monthly and video autoplays for 30 seconds each: 18g CO2 monthly. 216g annually. Just for decoration.

Unclean code:

Redundant CSS files. Unused fonts loaded in six weights. Legacy code from three redesigns ago still running in the background.

Dead weight. Consuming energy. Serving nothing.

The Business Case (Beyond Ethics)

If environmental impact alone doesn't motivate action, the performance data should.

Google's Core Web Vitals research (2024):

  • Every 100ms reduction in load time increases conversion by 1%

  • Pages loading under 2 seconds have 15% lower bounce rate

  • Mobile users abandon pages taking over 3 seconds to load

The Ecograder benchmark (2024):

  • Average website loads 2.3MB of data

  • Optimised equivalent: 400-600KB

  • Performance improvement from optimisation: 40-60% faster load times

Faster website means:

  • Better search rankings (Google uses performance as ranking factor)

  • Lower bounce rates

  • Higher conversion

  • Reduced hosting costs (less data transferred)

Sustainability and performance are the same goal.

What Actually Needs Doing

1. Audit your current weight

Use WebsiteCarbon.com. Free tool. Shows your site's carbon per page view, annual estimate, comparison to average.

Also use: Lighthouse (built into Chrome DevTools). Shows exactly what's slowing your site and why.

2. Optimise every image

No JPEG or PNG should go live unoptimised.

Convert everything to WebP format. Compress using Squoosh (free, browser-based). Implement lazy loading (images only load when user scrolls to them). Serve correctly sized images (don't load 2000px image to display at 400px).

Time required: 2-3 hours for average site. Carbon reduction: 40-60% immediately.

3. Audit and remove scripts

Open your tag manager. List every script running. For each one ask:

  • What does this do?

  • Is it actively being used?

  • Does the business benefit justify the load cost?

Most teams find 30-40% of scripts are orphaned or redundant.

4. Clean your CSS and JavaScript

Use PurgeCSS to remove unused styles. Minify all CSS and JS files. Remove legacy code from previous site versions.

5. Choose green hosting

Not all data centres are equal. Green hosting providers run on renewable energy.

Options: Krystal (UK, 100% renewable), Kualo, Eco Web Hosting. Often same price as conventional hosting.

Green Web Foundation directory lists verified green hosts.

6. Question every video

Does that background video need to exist? If yes, does it need to autoplay? Could a high-quality image achieve the same effect?

Usually: Yes. No. Yes.

The Numbers That Matter

Website Carbon Calculator industry data (2024):

Average website: 0.5g CO2 per page view.

Optimised website: 0.1g CO2 per page view.

For a site with 10,000 monthly visitors:

Unoptimised: 60kg CO2 annually. Optimised: 12kg CO2 annually.

48kg saved. Per website. Per year.

Across the millions of brand websites that haven't been optimised since 2019, the aggregate impact is enormous.

The Uncomfortable Truth

Most websites are heavy because nobody prioritised making them light.

Not because it's difficult. Not because it's expensive.

Because "it loads fine on my computer" became the acceptance criteria.

Your office has fibre broadband. Your laptop is powerful. Of course it loads fine for you.

For someone on 4G in a rural area, your 8MB homepage is a 12-second wait.

For the data centre serving it, it's unnecessary energy consumption.

For your brand, it's a conversion you lost.

Clean code and optimised images aren't technical details. They're a statement about how much you respect your audience's time, their data allowance, and the energy grid your website runs on.

Sustainability isn't only about your packaging or your supply chain.

It's every pixel of every page you put on the internet.

Every time someone loads your website, a data centre somewhere burns electricity.

Servers process the request. Data travels through physical cables. Your visitor's device renders the page. All of it consumes energy. All of it produces carbon.

A single website visit is a tiny environmental event.

Multiply by thousands of visits daily. Multiply by millions of websites. Multiply by every page load, every image, every autoplaying video nobody asked for.

The internet consumes approximately 4% of global electricity. More than the entire aviation industry. And growing faster.

Your website is part of that number. The question is whether it needs to be.

What Makes Websites Heavy

Let's be precise about the problem.

Unoptimised images:

A photographer uploads their portfolio. Raw files exported directly from Lightroom. Each image: 8-12MB. Portfolio page: 15 images. Total page weight: 150MB+.

Properly optimised: Same images at WebP format, correctly sized, lazy-loaded: 3-4MB total. 97% reduction. Zero visible quality difference to the viewer.

Unnecessary scripts:

Most websites load dozens of JavaScript files. Analytics scripts. Marketing pixels. Chat widgets. Cookie consent tools. A/B testing frameworks. Social sharing buttons.

Each one: Extra HTTP request. Extra processing. Extra electricity. Extra carbon.

Many serve no measurable business purpose. They're installed, forgotten, never removed.

Video autoplay:

That ambient background video on your homepage that nobody watches?

Streaming one minute of video: approximately 0.036g CO2.

Doesn't sound much. If 10,000 people visit your homepage monthly and video autoplays for 30 seconds each: 18g CO2 monthly. 216g annually. Just for decoration.

Unclean code:

Redundant CSS files. Unused fonts loaded in six weights. Legacy code from three redesigns ago still running in the background.

Dead weight. Consuming energy. Serving nothing.

The Business Case (Beyond Ethics)

If environmental impact alone doesn't motivate action, the performance data should.

Google's Core Web Vitals research (2024):

  • Every 100ms reduction in load time increases conversion by 1%

  • Pages loading under 2 seconds have 15% lower bounce rate

  • Mobile users abandon pages taking over 3 seconds to load

The Ecograder benchmark (2024):

  • Average website loads 2.3MB of data

  • Optimised equivalent: 400-600KB

  • Performance improvement from optimisation: 40-60% faster load times

Faster website means:

  • Better search rankings (Google uses performance as ranking factor)

  • Lower bounce rates

  • Higher conversion

  • Reduced hosting costs (less data transferred)

Sustainability and performance are the same goal.

What Actually Needs Doing

1. Audit your current weight

Use WebsiteCarbon.com. Free tool. Shows your site's carbon per page view, annual estimate, comparison to average.

Also use: Lighthouse (built into Chrome DevTools). Shows exactly what's slowing your site and why.

2. Optimise every image

No JPEG or PNG should go live unoptimised.

Convert everything to WebP format. Compress using Squoosh (free, browser-based). Implement lazy loading (images only load when user scrolls to them). Serve correctly sized images (don't load 2000px image to display at 400px).

Time required: 2-3 hours for average site. Carbon reduction: 40-60% immediately.

3. Audit and remove scripts

Open your tag manager. List every script running. For each one ask:

  • What does this do?

  • Is it actively being used?

  • Does the business benefit justify the load cost?

Most teams find 30-40% of scripts are orphaned or redundant.

4. Clean your CSS and JavaScript

Use PurgeCSS to remove unused styles. Minify all CSS and JS files. Remove legacy code from previous site versions.

5. Choose green hosting

Not all data centres are equal. Green hosting providers run on renewable energy.

Options: Krystal (UK, 100% renewable), Kualo, Eco Web Hosting. Often same price as conventional hosting.

Green Web Foundation directory lists verified green hosts.

6. Question every video

Does that background video need to exist? If yes, does it need to autoplay? Could a high-quality image achieve the same effect?

Usually: Yes. No. Yes.

The Numbers That Matter

Website Carbon Calculator industry data (2024):

Average website: 0.5g CO2 per page view.

Optimised website: 0.1g CO2 per page view.

For a site with 10,000 monthly visitors:

Unoptimised: 60kg CO2 annually. Optimised: 12kg CO2 annually.

48kg saved. Per website. Per year.

Across the millions of brand websites that haven't been optimised since 2019, the aggregate impact is enormous.

The Uncomfortable Truth

Most websites are heavy because nobody prioritised making them light.

Not because it's difficult. Not because it's expensive.

Because "it loads fine on my computer" became the acceptance criteria.

Your office has fibre broadband. Your laptop is powerful. Of course it loads fine for you.

For someone on 4G in a rural area, your 8MB homepage is a 12-second wait.

For the data centre serving it, it's unnecessary energy consumption.

For your brand, it's a conversion you lost.

Clean code and optimised images aren't technical details. They're a statement about how much you respect your audience's time, their data allowance, and the energy grid your website runs on.

Sustainability isn't only about your packaging or your supply chain.

It's every pixel of every page you put on the internet.