The internet now accounts for approximately 3.7% of global greenhouse gas emissions — comparable to the aviation industry — with web pages, images, and video streaming representing a significant and largely addressable portion of that footprint. For development teams and digital product managers, low-carbon web design is both a sustainability imperative and increasingly a commercial differentiator, with enterprise procurement and ESG frameworks beginning to include digital carbon footprint metrics. This guide covers the practical techniques that deliver the largest impact.
Understanding Web Carbon Footprint
Every web page load has a carbon cost driven by three factors: the energy consumed by data transfer (the heavier the page, the more data moves between servers, networks, and devices); the energy consumed by server-side processing (compute, storage, CDN operations); and the energy consumed by the end-user device rendering the page. Of these, data transfer weight is the most directly controllable and has the highest leverage — reducing page weight reduces energy at every layer of the stack.
The average web page in 2026 weighs approximately 2.4MB, up from 400KB in 2012. This growth is driven primarily by images, JavaScript bundles, and video. The carbon cost per page view on the average page served from a typical CDN is approximately 0.5–2g CO₂e — small per visit, but at scale (millions of monthly page views) accumulating to meaningful tonnes annually.
Image Optimisation for Carbon Reduction
Image optimisation is the highest-return investment in low-carbon web design. The interventions are well-established and require minimal design compromise:
Format modernisation: Replace JPEG and PNG with WebP (30% smaller than JPEG at equivalent quality) or AVIF (50–80% smaller than JPEG). Use the HTML picture element with format fallbacks for browser compatibility. For most web images in 2026, AVIF for modern browsers with WebP fallback provides optimal compression without visual quality loss.
Responsive images: Serve images sized appropriately for the display resolution — a hero image displayed at 800px wide should not be served at 2400px width. The srcset attribute enables the browser to request the appropriately-sized image. This single intervention can reduce image payload by 50–70% for sites currently serving oversized images.
Lazy loading: Load below-the-fold images only when the user scrolls near them using the native loading="lazy" attribute. For pages with many images, lazy loading typically reduces initial page weight by 30–60%.
Aggressive compression: Use lossless compression for graphics with transparency (PNG → optimised PNG or WebP with alpha). Use quality-calibrated lossy compression for photographs — most web photographs can be compressed to 75–85% quality without perceptible quality loss, reducing file size by 40–60%.
JavaScript Reduction and Efficiency
JavaScript is the second-largest contributor to page weight and has an additional energy cost beyond data transfer: parsing, compiling, and executing JavaScript consumes significant CPU cycles on end-user devices, draining battery and extending page processing time on lower-powered devices.
CDN, Dark Mode, and Hosting
Green CDN selection: Choose CDN providers powered by renewable energy. Cloudflare, Fastly, and Amazon CloudFront have published renewable energy commitments for their network infrastructure — verify against the Green Web Foundation's hosted infrastructure database for your specific CDN's carbon intensity. Hosting on renewable-powered infrastructure reduces the carbon intensity of every served request regardless of page weight optimisation.
Dark mode implementation: OLED screens consume significantly less energy displaying dark colours than light colours — a black pixel on an OLED display uses approximately 0% of the power of a white pixel, with mid-tones proportional. Dark mode implementation using CSS prefers-color-scheme media queries with a CSS custom property theme system adds minimal development complexity and provides measurable energy savings for OLED users. For high-traffic sites with large OLED user populations, dark mode energy savings can be substantial.
System fonts: Web fonts add HTTP requests and data transfer. Using system fonts (system-ui, -apple-system, sans-serif) eliminates web font loading entirely. When custom fonts are required, self-host optimised subsets rather than loading full font files from Google Fonts — subsetting to only required characters (latin subset for English sites) typically reduces font file size by 70–80%.