Free to explore: filter winning sites by DR, traffic and niche  ·  Try the live explorer →

Google Images SEO: best practices

A photographer sorting images on a laptop

Google publishes its image guidance in one place, and it is more useful than most summaries of it. The google image seo best practices it sets out are mostly about helping Google find an image and understand its context, not about tricks for ranking in an image grid. That ordering matters, because the most common problems on real sites sit at the first step.

This post works through what Google’s image SEO best practices page actually says, in the order a crawler meets an image: can it find it, what does the page around it say, and how is the file itself named and delivered.

The google image seo best practices that matter most

Here is the guide condensed into what it asks of you, quoted where the wording counts.

PracticeWhat Google saysWhy it matters
Use HTML image elementsGoogle “can find images in src attribute of <img> element” but “doesn’t index CSS images”Discovery
Image sitemapsHelp Google find images it might not otherwise discoverDiscovery
PlacementPut images “near relevant text and on pages that are relevant to the image subject matter”Context
Page title and metaGoogle uses “information in the title and meta tags for each page” for result contextContext
Filenames“my-new-black-kitten.jpg is better than IMG00023.JPG”Understanding
Responsive images<picture> or srcset, with a fallback srcDelivery
Formats“BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF”Delivery

Notice what is absent. There is no keyword density for alt text, no ideal image dimension and no magic number of images per page. The guide is about clarity, not volume.

Discovery: use img tags, not CSS backgrounds

This is the rule most often broken by modern designs. Google “can find images in src attribute of <img> element” but “doesn’t index CSS images”. A hero photo set as a background-image in a stylesheet may look identical to a visitor, but to Google Images it does not exist.

A list of descriptive file names

That is fine for decoration. It is a problem when the image is the content: a product shot, a diagram, a recipe photo. If you want an image to appear in Google Images, it needs to be an element in the HTML:

<img src="https://example.com/images/black-kitten.jpg"
     alt="A black kitten asleep on a grey blanket">

Images loaded by script after interaction carry a related risk. If the src is only filled in when a user scrolls or clicks, check that Google can still see it. Our guide to lazy loading and SEO covers the patterns that hide images from crawlers.

Image sitemaps close the remaining gaps. Google says they help it find images it might not otherwise discover, which is most useful for large catalogues and images loaded in ways a crawler might miss. Our guide to XML sitemaps explains how to structure them.

An image placed beside relevant text

Context: placement, page titles and alt text

Google reads an image through the page it sits on. The guide asks you to place images “near relevant text and on pages that are relevant to the image subject matter”. An image of a specific boot model on that boot’s product page, next to its description, tells Google far more than the same photo dropped into a generic gallery.

The page’s own metadata counts too. Google uses “information in the title and meta tags for each page” for result context, so a vague page title weakens every image on it. This is one reason image SEO is hard to separate from ordinary page SEO.

An image tag in code

Alt text is the other half of context, and the one people over-optimise. It should describe the image for someone who cannot see it, not repeat a keyword list. Our guide to image alt text for SEO covers how to write it well and where it goes wrong.

Do image file names matter for SEO?

Yes, modestly, and Google gives the example itself: “my-new-black-kitten.jpg is better than IMG00023.JPG”. A descriptive filename is a small, cheap signal about what the image shows. It is not going to carry a page, but there is no reason to throw it away.

An image search results grid

The practical problem is workflow, not theory. Cameras, phones and design tools all produce meaningless default names, and content management systems upload whatever they are given. If you publish at volume, rename at the point of upload, or build the renaming into whatever pipeline generates your images. Retroactively renaming files on a large site means changing URLs, and that is rarely worth the disruption for the gain involved.

Keep names short, use hyphens between words, and describe the image rather than the page. A filename like best-running-shoes-2026-cheap-deals.jpg describes a search query; trail-shoe-side-view.jpg describes a picture.

Delivery: responsive images and formats

For responsive images, Google points to the <picture> element or the srcset attribute, with a fallback src so that any client that does not understand them still gets an image:

<img src="https://example.com/images/kitten-800.jpg"
     srcset="https://example.com/images/kitten-400.jpg 400w,
             https://example.com/images/kitten-800.jpg 800w"
     alt="A black kitten asleep on a grey blanket">
Responsive images on several devices

On formats, Google lists the ones it supports: “BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF”. That settles a common worry. Moving to a modern format does not cost you image search eligibility, and lighter files help page speed. Our post on WebP for SEO covers the conversion trade-offs.

A product photo on a plain background

What image SEO cannot promise

It is tempting to treat this list as a ranking formula. It is not. Google’s guide describes how to make images findable and understandable; it does not say how Google weighs these signals against each other, or how much image search traffic any of them will bring. That is the limitation worth keeping in mind: you can verify that an image is indexable, but you cannot measure from the guide how much a better filename or a tighter caption moved its position.

It also helps to be realistic about where image traffic is worth chasing. For products, recipes, design and anything visual, Google Images can be a genuine discovery channel. For many informational pages, the images support the text and will never be what someone searched for. Spend the effort where a searcher would plausibly want the picture itself.

Start with an audit rather than a rewrite. List the images that carry content, confirm each one is an <img> element with a real src, check it sits next to relevant text on a relevant page, and confirm it appears in a sitemap. Those checks fix the discovery problems that no amount of alt text can.

Frequently asked questions

Does Google index CSS background images?

No. Google says it “can find images in src attribute of <img> element” but “doesn’t index CSS images”.

Do image file names matter for SEO?

They help a little. Google’s own example: “my-new-black-kitten.jpg is better than IMG00023.JPG”.

Which image formats does Google Images support?

Google lists “BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF”.

Do I need an image sitemap?

Not always. Google says image sitemaps help it find images it might not otherwise discover, so they matter most on large sites or where images load in ways crawlers may miss.

The takeaway Image SEO is discovery first. Use real <img> elements, place images beside relevant text, name files descriptively and list important images in a sitemap. The rest is refinement on top of an image Google can actually find.