Live Image Optimization Audit

How heavy are that page’s images — and how much of that weight is waste?

An image optimization audit lists every image a page ships — its real bytes, its format and its intrinsic size — and estimates what modern formats and right-sizing would save. Paste a page URL here and the checker fetches the page, measures each image it declares (up to 30), and scores the result 0–100 with per-image flags. The companion article Image optimization in 2026: formats, right-sizing and honest savings estimates explains how to read the numbers. For the whole page — scripts, stylesheets, timings — see the Page Performance Audit; this tool looks at images only.

Last updated:

1. Audit a page’s images

🔒 The audit runs on the SysOSX checker server: only the URL you enter leaves your browser — the page and its images are fetched and measured server-side, nothing is uploaded from your machine, and no report is stored.

Formats, oversizing and the cheap wins

Format is the first lever. JPEG and PNG were designed in the 1990s; WebP (2010) encodes the same photo about 30% smaller than JPEG at similar quality — Google’s compression study measured 25–34% — and AVIF (2019) usually beats WebP again on photos, at the cost of slower encoding. PNG still wins for crisp screenshots and line art with few colours, and SVG beats everything for logos and icons because it is resolution-independent text. This audit flags JPEG and PNG images as legacy format and estimates the WebP saving; it never claims AVIF numbers it cannot cite.

Oversizing is the second lever, and usually the bigger one. A 2,000-pixel photo displayed in a 400-pixel slot downloads five times the pixels per side — many times the data the slot can show. The fix is responsive images: srcset with several widths lets each browser pick the smallest sufficient file. This audit reads intrinsic dimensions straight from each file header, so it can flag any image served at more than twice its display width (2× leaves headroom for retina screens).

Width and height attributes are the third lever — they cost nothing. When the browser knows an image’s aspect ratio before the file arrives, it reserves the box and the page does not jump as images load; without them, every late image shoves the text below it — layout shift, measured as CLS. This audit flags images whose img tag carries no width or height. The attributes do not need to be the file’s true size — the ratio is what the browser uses.

Lazy loading is the fourth lever: images below the fold should carry loading="lazy" so the browser fetches them only when the visitor scrolls near. The first image — usually the hero — must never be lazy: on most pages it is the largest contentful paint, and lazy-loading it delays the one thing the visitor is waiting for. This audit applies a heuristic, labelled as one: any image after the first with no loading attribute is flagged as probably eager, because the checker cannot see the fold.

What this audit does — and what it does not

It fetches the page from the SysOSX checker server, extracts the images the HTML declares — img src, img srcset and source srcset inside picture — then fetches each unique image (up to 30, up to 3 MB each) and parses its format and intrinsic dimensions from the file header itself (PNG, JPEG, GIF, WebP, AVIF, SVG). For every image it reports the real transferred bytes, the format, the intrinsic size, the display size from the HTML attributes, and whether it is in a srcset, lazy-loaded and carrying an alt attribute. The score and the savings estimates are computed in your browser from those rows.

It looks at images only. There is no waterfall and no timing: scripts, stylesheets, fonts and the document itself are the Page Performance Audit’s job, and the two tools deliberately do not overlap. CSS background images are out of scope — the audit reads HTML, not stylesheets — and images loaded by JavaScript after the page loads are not seen, because the page is fetched, not rendered.

The demo runs the live audit on https://commons.wikimedia.org/wiki/Main_Page — a stable, image-heavy public page. At build time (2026-11-29) the recorded run measured 30 images (the cap; 39 declared) totalling 617.6 KB, with an estimated 257.1 KB (41.6%) savable and a score of 65 — including a 1,280-pixel photo displayed in a 500-pixel slot. It is a live run through the checker, not a canned result: the numbers are whatever the checker measures right now.

Be honest about what these numbers are

The savings are estimates, not measurements. The format figures come from Google’s WebP compression study (WebP 25–34% smaller than JPEG; 26% smaller than PNG, lossless) and the resize figure from pixel-count arithmetic — neither re-encodes YOUR images. Your real saving depends on your encoder, your quality setting and your images; treat the estimate as the size of the opportunity, then verify by actually converting one image.

The checker sees the images a server sends IT — no cookies, a desktop user agent, from the checker’s network and location. Logged-in pages, A/B variants, geo-targeted CDNs and bot-specific responses can all serve different images to your visitors. The audit describes the page as served to the checker, which for public pages is normally the same page everyone gets.

srcset cuts both ways. The audit lists every srcset candidate, including the largest — but a real browser picks ONE candidate per slot, usually far smaller than the largest on a phone. The total here is therefore the weight of everything declared, an upper bound on what a browser downloads, not a prediction of a single visit.

The caps are real: at most 30 images (first-seen order), at most 3 MB read per image, at most 512 KB of HTML. A page declaring 200 images is audited on its first 30, and the report says so. Alt is checked for presence only — an alt attribute that says "image" passes; judging whether alt text is good is a human’s job, not this tool’s.

Key facts

WebP / AVIFModern image formats. WebP (Google, 2010) encodes photos about 30% smaller than JPEG at similar quality; AVIF (2019) usually compresses further. Both work in all modern browsers — the audit flags JPEG/PNG images that have a modern alternative.
Intrinsic sizeThe pixel dimensions stored in the image file itself, read here from the file header (PNG IHDR, JPEG SOF, WebP VP8X/VP8L/VP8, AVIF ispe, SVG width/height or viewBox). Compare it with the display size: intrinsic far above display is wasted bytes.
srcsetThe attribute that offers the browser several widths of the same image so it can download the smallest sufficient one. Images in a srcset are marked in the table; the largest candidate is an upper bound, not what every visitor gets.
Lazy loadingloading="lazy" tells the browser to fetch an image only when it nears the viewport. Right for below-the-fold images; wrong for the hero image, which should load as early as possible.
Layout shift (CLS)The page jumping as late-loading images push content around. Declaring width and height on every img lets the browser reserve the right box before the file arrives — the cheapest CLS fix there is.
Official referenceweb.dev — Choose the right image format

Frequently asked questions

How is this different from the Page Performance Audit?

Scope. The Page Performance Audit times every resource a page declares — document, scripts, stylesheets, fonts, images — and scores the waterfall. This audit looks at images only, but in depth: real bytes, format, intrinsic versus display size, srcset, lazy loading and alt presence, with a savings estimate per image. Run the performance audit to find WHAT is slow; run this one to fix the images.

Why is the estimated saving not exact?

Because estimating is not measuring. The audit never re-encodes your images — it applies published factors (Google’s WebP study: 25–34% smaller than JPEG) and pixel arithmetic for oversized images. Your encoder, quality setting and image content move the real number both ways. Use the estimate to rank the work; convert the biggest image and compare real bytes before rolling the change out.

Why does the audit list an image my phone never downloads?

Because it lists what the page DECLARES, including every srcset candidate. A phone picks a small candidate; a retina desktop picks a bigger one; the checker lists them all so oversized top-end candidates are visible. The total is an upper bound on image weight, and the report says so — the per-image rows show which candidate each URL is.