Home / Glossary / Technical SEO

Technical SEO

Image optimization

Also searched as: image SEO optimization, optimizing images

In shortImage optimization is the work of making images load fast and be understood by search engines without losing needed quality. It covers choosing the right format and size, compressing files, setting dimensions, writing useful alt text and file names, and serving the right version to each device.

By Aditya Aman, working in SEO for almost a decade and hands-on with AEO and GEO as those fields have developed. Updated 25 November 2026.

  • What it coversFormat, size, compression, dimensions, alt text and delivery.
  • Why it mattersHeavy images slow pages, and slow pages lose visitors.
  • How to check itPageSpeed Insights, DevTools Network panel and a crawler.
  • Common mistakeUploading full-size camera files and scaling them with CSS.
  • Related workCore Web Vitals, accessibility and image search.

What is image optimization?

Images are often the heaviest part of a page. Optimizing them means sending the smallest file that still looks right at the size it is shown, and describing it so people and search engines understand it.

There are two goals. The first is speed, which affects metrics such as Largest Contentful Paint. The second is meaning, through alt text, file names and surrounding copy, which supports accessibility and image search.

What should you optimize on each image?

Treat each image as a small checklist. Not every item applies to every image, but a decorative banner and a product photo share most of the same decisions.

ItemWhat to doWhy
FormatUse modern formats where supported, with a fallback if neededSmaller files at similar quality
DimensionsResize to the largest size actually displayedAvoids sending unused pixels
CompressionCompress with a quality setting you have reviewed by eyeCuts weight
Width and heightSet them in the markupPrevents layout shift
Alt textDescribe the image's purpose in plain wordsAccessibility and context
File nameUse a short, descriptive nameMinor extra context

How do you audit images on a site?

Start with the pages that matter for leads, such as service pages and the homepage, then widen out. A crawler can list every image with its file size and missing alt text.

  1. Run a performance testNote the image-related warnings on key pages.
  2. Find the largest filesSort images by size and start at the top.
  3. Check the displayed sizeCompare the file's pixel size with the space it fills.
  4. Fix alt text gapsAdd alt text to meaningful images, and leave decorative ones empty.
  5. Check the main imageDo not lazy load the first large image visible on load.

What are common image optimization mistakes?

Over-compression is as real as under-compression. A blurred product or team photo costs trust. Review output at the displayed size before applying a setting to a whole library.

Another is stuffing alt text with keywords. Alt text should say what the image shows, in a sentence a screen reader user would find useful. Also avoid putting important text only inside an image, since it cannot be read as page copy.

Need help with Image optimization on your site?

Tell us what is not working. We will check where this affects your search results and what to fix first.

Book a meetingTechnical SEO

Questions people ask

Which image format is best for SEO?

No format is an SEO ranking factor by itself. Pick the one that gives a small file at good quality and works in your audience's browsers. Modern formats usually save weight, but check browser support and keep a fallback where needed.

Does alt text help rankings?

Alt text helps accessibility and gives search engines context about the image, which can matter for image search. It is not a shortcut for page rankings. Write it for people first, accurately and briefly.

Should every image be lazy loaded?

No. Lazy load images below the fold. The main image visible when the page first opens should load normally, because delaying it can slow Largest Contentful Paint and make the page feel slower.

Inspect the original evidence