Image SEO checklist: 9 things Google uses to understand your photos

Google's image guidelines boil down to nine checks, from img tags and page context to file names, alt text, formats, speed and sitemaps.

By
Picture Optimizer team
Published
Type
How-to

Image SEO is mostly about making each photo easy for Google to find and understand. Google's image documentation comes down to nine checks: use real img elements, put images near relevant text, use descriptive file names and alt text, mark up responsive images with a fallback, use a supported format, keep images fast and sharp, and optionally add an image sitemap and structured data.

Key takeaways

  • If an image is only a CSS background, Google won't index it.
  • Alt text matters most among the image's own attributes; file names help only slightly.
  • Context counts: the page title, nearby text and captions tell Google what the image is about.
  • Speed and quality are part of image SEO, not a separate project.

1. Use HTML img elements

Google's documentation says standard HTML image elements help crawlers find and process images, and that Google doesn't index CSS images. If a hero photo matters for search, put it in an img element (inside a picture element if you serve several formats), not in a background-image rule.

2. Put images on relevant pages, near relevant text

Google's guidance is that, wherever possible, images should sit near relevant text and on pages relevant to the image's subject. A photo of a kitchen renovation belongs on the renovation service page, close to the paragraph describing the work, not only in a generic gallery.

3. Give the page a clear title and description

Google automatically generates a title link and snippet for each image result to explain how it relates to the search, and it builds them from your page. A clear page title, a good meta description and on-topic content give it better material, so your normal on-page SEO work feeds image search too.

4. Use descriptive file names

Google says a file name can give "very light clues" about an image's subject, and contrasts my-new-black-kitten.jpg with IMG00023.JPG. It's a small signal, so keep names short and accurate rather than stuffing keywords into them.

  • Weak: DSC_0091.jpg
  • Better: kitchen-renovation-white-shaker-cabinets.avif

If you rename images that are already published, redirect the old URLs so existing links and indexed images don't break.

5. Write useful alt text

Google calls alt text the most important attribute for providing image metadata, and says it uses alt text together with computer vision and the page's content to understand an image. Its example: "Dalmatian puppy playing fetch" is better than "puppy", and a list of keywords is worse than both.

Write alt text for people first. The W3C alt decision tree covers when to describe, when to name a link's destination and when to leave alt empty for decoration.

6. Mark up responsive images with a fallback

Google supports the picture element and the srcset attribute, and recommends always including a fallback src on the img element so every browser and crawler has a URL to use.

```html
<picture>
<source type="image/avif" srcset="renovation-1024.avif 1024w, renovation-2048.avif 2048w">
<img src="renovation-1024.jpg" alt="Renovated kitchen with white shaker cabinets" width="1024" height="683">
</picture>
```

7. Use a supported format

Google Images supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF in the img src attribute. Modern formats like AVIF and WebP make files smaller without hurting indexing.

8. Keep images fast and sharp

Google asks for both: optimize for speed, and use high-quality images, because sharp images appeal more to users than blurry ones. In practice that means resizing to the displayed width and compressing at a quality you've checked, not compressing until the photo looks soft.

Speed also connects to Core Web Vitals. Google says they align with what its ranking systems seek to reward, while noting good page experience doesn't guarantee rankings. If your largest above-the-fold element is an image, web.dev's LCP guidance (right size, modern format, not lazy-loaded, high priority) applies.

9. Add an image sitemap and structured data where useful

Image sitemaps give Google the URLs of images it might not otherwise discover, and they can list images hosted on a CDN. Most WordPress SEO plugins can generate one.

Structured data for products, recipes, articles and similar content can include images; Google says this lets it show your images in certain rich results, including a badge in Google Images.

License metadata is separate: Google can read creator, credit line and copyright notice from IPTC metadata embedded in the image file, or from structured data. Google notes that stripping metadata reduces file size but recommends keeping these attribution fields.

What not to do

  • Don't hide important images in CSS. A background image can look identical to a visitor and still be invisible to Google Images.
  • Don't stuff keywords into alt text or file names. Google's documentation names keyword stuffing in alt attributes as a poor experience that can be treated as spam.
  • Don't compress until photos look soft. Google explicitly prefers sharp, high-quality images; find the setting where size drops and quality holds.
  • Don't break URLs. Renaming or converting images without redirects can drop images that were already indexed.
  • Don't rely on a tooltip title to describe an image. It is not a substitute for alt text.

A quick audit for one page

  1. Open the page and check that every meaningful image is an img element.
  2. Read the file names. Any IMG_, DSC_ or Screenshot names?
  3. Check alt text on each image, and alt="" on decorative ones.
  4. Check that srcset or picture has a fallback src.
  5. Run PageSpeed Insights and note whether the LCP element is an image.
  6. Confirm the images appear in your sitemap if you use one.

Doing the per-image work in one pass

Checks 4, 5 and 7 and much of 8 happen per image, which is where time goes. Our image SEO workflow resizes and converts each photo and, from Starter up, writes a descriptive file name, alt text, title and caption that you review before export. It doesn't generate sitemaps; your SEO plugin does that from the metadata. More detail on the file name generator and SEO metadata pages.

Keep reading

Sources

Questions

Short answers to what people ask about this.

Making images easy for search engines to find and understand: crawlable HTML, relevant page context, descriptive file names and alt text, supported formats, fast loading, and optionally image sitemaps and structured data.