Sustainability 13 min read

Sustainable Web Design 2026:
How to Build a Climate-Friendly Website

Senorit

Summary

Every page view draws electricity in data centers, networks and devices. Sustainable web design cuts that energy use through green hosting, optimized images, lean code and intentional design. You also get faster load times, lower hosting bills and better Core Web Vitals.

  • The Website Carbon Calculator puts the average web page at about 0.36 g CO2e per page view
  • WebP images are 25-34% smaller than comparable JPEGs, according to Google
  • Hosting on renewable energy is the biggest single lever for server-side emissions
  • Lean code improves load times and saves energy at the same time
  • Free tools like Website Carbon Calculator measure your site's emissions

About the author

Ebrahim Seyfi

Ebrahim Seyfi

Founder & Developer at Senorit, Full-Stack Developer since 2020

Published: March 14, 2026 Updated: October 12, 2026

Ebrahim Seyfi founded Senorit in Hamburg. He designs and builds websites and other digital projects for businesses in the DACH region. As a full-stack developer, he works with React, Next.js, Astro and TypeScript.

Expertise in

  • Sustainability
  • Green Web
  • Performance
  • Web Design
  • CO2
  • Full-stack web development
  • Core Web Vitals
  • WCAG 2.2 accessibility
  • React, Astro & TypeScript

Every page view uses electricity. Page views, image uploads and API calls all draw power in data centers, networks and devices. A lean, efficient website cuts CO2, saves money and improves your Core Web Vitals.

0.36 g
CO2e per average page view (Website Carbon Calculator)
25-34%
smaller files with WebP than with JPEG (Google)

The internet has a carbon problem

While you read this article, your device, the server delivering the page and the network infrastructure in between all draw electricity. Most of that electricity still comes from fossil fuels.

Estimates of the internet's share of global emissions vary with what they count (data centers, networks, end devices). The total keeps rising as users, devices and data traffic grow.

How much CO2 does a website produce?

The Website Carbon Calculator, which uses version 4 of the Sustainable Web Design Model, puts the average web page at about 0.36 g of CO2e per page view. With 10,000 monthly visitors averaging 3 page views each, one website adds up to about 130 kg of CO2e per year.

Pages stuffed with uncompressed images, unnecessary JavaScript and heavy fonts sit well above that average, because the model scales emissions with the data each page transfers.

Each step that makes your website lighter pays off twice: you cut CO2 and improve the user experience at the same time. Pages load faster, mobile visitors use less data and your Core Web Vitals get better. Sustainability and performance pull in the same direction.

What is sustainable web design?

Sustainable web design (or green web design) means planning, designing, and operating websites so they consume as little energy as possible. It covers four layers:

Hosting

Servers powered by renewable energy, efficient infrastructure, CDN usage

Content

Optimized images, efficient video, reduced file sizes

Code

Lean JavaScript, efficient CSS, minimal dependencies

Design

Intentional color choices, system fonts, dark mode, reduced animations

The aim is efficiency. A sustainable website does not have to look bare-bones; it uses resources with more care. That saves money, helps your rankings and gives visitors a better experience.

The EU's CSRD (Corporate Sustainability Reporting Directive) obliges large companies to report on their environmental footprint. Under the Omnibus I amendments (Directive (EU) 2026/470), it covers companies with more than 1,000 employees and more than EUR 450 million in net turnover. Most small and mid-sized businesses fall outside that scope, but large clients that do report may still ask their suppliers for footprint data.

Green hosting: the biggest lever

Your hosting provider has the largest effect on your website's carbon footprint. Moving to a data center that runs on renewable energy cuts server-side emissions more than any other single step. Compared with that, the other measures are fine-tuning.

What to look for in green hosting

  • The data center should run on renewable power itself. Buying carbon offsets counts for less.
  • Power Usage Effectiveness (PUE) measures how efficiently a data center uses energy. Below 1.2 is good, below 1.1 is excellent.
  • Data centers in Scandinavia or Switzerland benefit from cleaner energy grids and natural cooling.
  • A Content Delivery Network (CDN) shortens data transfer distances and so reduces energy consumption.
  • The Green Web Foundation maintains a directory of verified green hosts.

The major cloud providers buy renewable energy at scale and publish yearly sustainability reports, so check the current figures for your provider. Platforms such as Vercel and Netlify build on these big clouds, while Cloudflare runs its own global network. A modern hosting platform already solves part of the problem.

Our approach at Senorit: We host client sites on Cloudflare Workers. Cloudflare's global network serves content from locations close to your users, which shortens transfer distances and saves energy. More about our technology.

Image optimization: the quickest win

Images account for more bytes than any other resource type. The HTTP Archive Web Almanac 2025 counts 911 KB of images on the median mobile home page, out of about 2.6 MB in total. You get the fastest and largest savings here, often without any visible loss in quality.

Format Savings vs. JPEG Browser support Recommendation
WebP 25-34% (Google) All current major browsers Default for all images
AVIF Often 50%+ (web.dev, varies by image) All current major browsers Best when supported
SVG Not comparable (vector format) All browsers For icons and logos

Practical steps

  • Use responsive images: srcset and sizes serve the right resolution for each screen size, and a phone does not need a 2400px-wide image.
  • Lazy-load images below the fold so they only load when the user scrolls to them. Browsers support this natively with loading="lazy".
  • Crop images to the size they are displayed at. A 400px card slot does not need a 4000x3000 photo.
  • Compress your images. WebP at quality 75-80 looks identical to the eye at a fraction of the file size.
  • Question decorative images. If a stock photo adds little, a CSS gradient or a simple illustration may work better.

Smaller images also load sooner, which helps your LCP score: on many pages the largest element is a hero image.

Clean code: less JavaScript, less energy

Each kilobyte of JavaScript the browser has to download, parse and execute costs energy on the server, across the network and on the end device. On an older smartphone, 200 KB of JavaScript runs smoothly, while 2 MB can make the page unusable.

Avoid

  • Heavy JS frameworks for static pages
  • jQuery or Lodash for single functions
  • Uncompressed CSS with thousands of unused rules
  • Tracking scripts with no clear purpose
  • Auto-play background videos

Prefer

  • Static-first frameworks (Astro, 11ty) with minimal hydration
  • Vanilla JS or lightweight alternatives
  • Tree-shaking and route-based code splitting
  • Lean analytics tools only where needed
  • Videos on-demand, loaded on click

Framework choice and sustainability

Your framework choice sets the baseline. A website built with Astro ships 0 KB of JavaScript by default, unless you add interactive islands. A comparable Next.js project ships the React runtime to every page. For a business website with mostly static content, that is unnecessary base load.

React and Next.js remain the right tool for web applications with heavy interactivity. A company website, a blog or a landing page usually does better with less, and your website speed benefits just as much.

Practical tip: audit third-party scripts

Open Chrome DevTools, switch to the Coverage tab and reload your website. It shows how much CSS and JavaScript the browser downloads but never uses, often a large share of the total. Each line of unused code you remove saves energy on every page view from then on.

Intentional design: less data, same visual quality

Sustainable design does not have to be boring. You make deliberate choices that save resources without giving up visual quality. Some of the most effective measures cost nothing and look better as well.

Dark mode

On OLED displays (now standard on smartphones and spreading to laptops), dark pixels consume less power than bright ones. On an OLED panel a black pixel is switched off and draws almost no power, so a dark design uses less display energy than a white background, especially at high brightness.

System fonts

Each embedded web font typically costs 20-100 KB. With three weights (Regular, Bold, Italic), that is 60-300 KB before a single word is visible. System fonts like the native system-ui family are already on the device and add zero bytes. If you need a specific typeface, use a variable font: it loads a single file instead of one file per weight.

Animations and motion

CSS animations use less processing power (and therefore less energy) than JavaScript animations. GPU-accelerated properties like transform and opacity are more efficient than layout-based properties like width or top. Also respect prefers-reduced-motion: users who turn animations down spare their eyes and their battery.

Measuring CO2 with free tools

Before you optimize, you need a baseline. Several free tools estimate your website's carbon footprint.

Website Carbon Calculator

A quick check that shows estimated CO2 per page view and compares it against the average.

websitecarbon.com

Ecograder

Rates CO2 alongside UX, performance and green hosting, and suggests specific improvements.

ecograder.com

Lighthouse / PageSpeed Insights

Measures performance and page weight. It shows no CO2 value, but performance data correlates strongly with energy consumption.

pagespeed.web.dev

Green Web Check

Verifies whether your hosting provider uses renewable energy. Based on the Green Web Foundation database.

thegreenwebfoundation.org

Tip: Do not test only your homepage. Check image-heavy and script-heavy subpages too. The homepage is usually optimized, while blog posts or product pages are often much heavier. Want to talk through your results? Book a free first consultation.

The business case: why sustainability pays off

Sustainable web design is also sound economics. Measures that reduce data volume and server load bring direct financial benefits:

+8.4%
Retail conversions after a 0.1-second faster mobile site (Deloitte and 55 for Google, 2020)
53%
of mobile visits are abandoned when a page takes longer than 3 seconds to load (Google/DoubleClick, 2016)

Less data and better caching also cut bandwidth and hosting costs. Google counts Core Web Vitals among its page experience signals, though it treats page experience as one signal among many.

CSRD and reporting obligations

Under Omnibus I, the CSRD applies only to companies with more than 1,000 employees and more than EUR 450 million in net turnover. For them, electricity used by their own servers falls under Scope 2 and purchased hosting and digital services under Scope 3. If you supply such a company, it may ask you for data on your digital footprint, and a measured, optimized website gives you an answer.

Sustainability can also help your marketing. A website that is measurably lighter and runs on green hosting gives you a concrete claim: show your CO2 result in the footer and mention your green hosting on the about page.

How do I make my website sustainable? The checklist

Hosting and infrastructure

  • Choose a hosting provider with 100% renewable energy
  • Enable CDN to shorten transfer distances
  • Implement caching strategy (browser cache, edge cache)
  • Enable HTTP/3 and Brotli compression

Images and media

  • Convert all images to WebP or AVIF
  • Set up responsive images with srcset and sizes
  • Lazy load images below the fold
  • Do not auto-play videos
  • Replace decorative stock photos with CSS or SVGs

Code and performance

  • Remove unused CSS and JavaScript (coverage check)
  • Code-split: only load what the current page needs
  • Audit third-party scripts for necessity
  • Static-first approach: server-side rendering over client-side rendering
  • Keep initial bundle under 200 KB

Design and UX

  • Offer dark mode (OLED energy savings)
  • System fonts or variable fonts instead of multiple web fonts
  • Limit animations to GPU-accelerated properties
  • Respect prefers-reduced-motion
  • Keep page weight under 1 MB per page

Frequently asked questions

How much CO2 does my website produce?

The Website Carbon Calculator puts the average web page at about 0.36 g CO2e per page view. Heavy pages with large images and lots of JavaScript land well above that, lean pages below it. Check yours for free at websitecarbon.com.

Does sustainable web design cost more?

No. Most measures (image optimization, code cleanup, green hosting) cost nothing extra, and some cost less. A lean website needs fewer hosting resources and is cheaper to run. For a new build the effort is the same, because good performance is standard practice anyway.

Does my company need to report under CSRD?

Only if it is large. Under the Omnibus I amendments (Directive (EU) 2026/470), the CSRD covers companies with more than 1,000 employees and more than EUR 450 million in net turnover. Smaller businesses are affected indirectly when they supply firms that have to report, because those firms may ask their value chain for footprint data.

Does sustainability compromise design quality?

No. Efficient design often looks better because it concentrates on the essentials: less visual clutter, faster load times and a clearer focus on the content.

Does sustainable web design help with SEO?

It helps. Google uses Core Web Vitals as part of its page experience signals, and whatever makes your site faster and lighter improves LCP, INP and CLS. Less data also means fewer bounces from mobile users on slow connections.

Further reading

Sources & references

We checked and used these sources for this article:

  1. 01
  2. 02
    Sustainable Web Design External source

    Sustainable Web Design Community · 2026

Research

  1. 01
  2. 02
  3. 03
    Milliseconds make millions External source

    web.dev (study by Deloitte and 55 for Google) · 2020

  1. 01
    The Green Web Foundation External source

    Green Web Foundation · 2026