bookmarklet.one

Check Image Optimization Bookmarklet

Free image optimization checker: lists every image with file size, format and real vs displayed size, and flags oversized, heavy or non-lazy images.

Check Image Optimization
← Drag this button to your bookmarks bar.Click it here to try it on this page first.

On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.

SEO PerformanceUpdated 2026-11-27Free · No extension · Runs locally

Images are usually the heaviest part of a page and a common cause of a slow Largest Contentful Paint. This bookmarklet audits every <img> on the current page and shows, for each one, its format, file size, natural resolution and the size it is actually displayed at. You can spot a 3000-pixel hero squeezed into a 600-pixel slot at a glance.

Each image gets specific notes: oversized for its slot (accounting for your screen's pixel density), upscaled and probably blurry, heavier than 200 KB, a JPEG/PNG/GIF that would be smaller as WebP or AVIF, missing width/height attributes (a layout-shift risk), lazy-loaded above the fold (hurts LCP) or eager-loaded far below it.

Front-end developers and SEOs use it to build a quick fix list before running a full Lighthouse audit. Click any row to scroll to the image, or copy the whole report.

What it does

  • Summary: image count, total bytes (where the browser reports sizes) and counts per issue type
  • Per image: thumbnail, file name, format, file size, natural vs displayed pixels
  • Flags oversized, upscaled, heavy (over 200 KB) and legacy-format images over 50 KB
  • Flags missing width/height attributes, lazy loading above the fold and missing lazy loading below the fold
  • Click a row to scroll to the image; Copy report exports everything as tab-separated text

How to install the Check Image Optimization bookmarklet

  1. Show your bookmarks bar. Press Ctrl+Shift+B on Windows/Linux or Cmd+Shift+B on a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar.
  2. Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
  3. Open any website and click the bookmark to run it on that page. Click it again to close it.

Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.

How to use it

  1. Load the page and scroll to the bottom once so lazy images load, then scroll back up.
  2. Click the bookmarklet. Images with problems are listed first.
  3. Click a row to highlight that image on the page.
  4. Copy the report and hand it to whoever manages the images or the CMS.

Reading sizes and limits

File sizes come from the browser's Resource Timing data. Images from other domains show a dash unless that server sends a Timing-Allow-Origin header, so CDN images may have no size. The oversized check compares natural width to displayed width times your device pixel ratio, so a 2x screen expects images twice as wide as the slot. Test at the viewport you care about: a hero that is fine on desktop may be oversized on mobile.

CSS background images are not included. Images inside <picture> report the source the browser actually picked (currentSrc).

Bookmarklet code

This is the exact code inside the button above (9,428 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.

Frequently asked questions

Why do some images show no file size?

The browser only exposes the size of cross-origin images when the server allows it with a Timing-Allow-Origin header. Same-site images always show a size.

What counts as above the fold?

Any image whose top edge is within the first screen height of the page when the bookmarklet runs.

Does it compress images for me?

No. It tells you which images to fix. Use a tool like Squoosh, your CDN's image service or your CMS's image settings to resize and convert them.

Related bookmarklets

Free alt text checker bookmarklet: outlines images with missing, empty or weak alt text right on the page and lists them…

Free page speed checker bookmarklet: shows TTFB, FCP, LCP, CLS and page weight from your own browser, then opens…

Free mobile viewport checker bookmarklet: validates the meta viewport tag, finds elements causing horizontal scroll and…

Free SEO meta tag checker bookmarklet: title, meta description, H1, canonical, robots, hreflang, viewport and Open Graph…