Guide · Images and SEO

Images and SEO: how to make Google understand what it sees

ImagenesXIA original illustration: a constellation of colorful stars joined by thin lines against a violet sky

Google doesn’t look at an image the way you do. To understand it, it relies above all on what surrounds it: the alt text, the file name, the title, and the nearby text on the page. If those signals are poor, the image won’t appear in Google Images or help the page. If they are good, the image works for you.

The five signals that carry the most weight

  1. The alt text (alt). It describes what you see and why it is there, in one sentence. It serves people who use a screen reader, and Google. It is not a place to repeat keywords.
  2. The file name. “specialty-coffee-in-white-cup.webp” says much more than “IMG_4021.jpg.” Use words separated by hyphens and in the language of the page.
  3. The text around the image. An image next to the paragraph that talks about the same thing is understood better than a stray image at the bottom of the page.
  4. The <img> tag. Google doesn’t index images that are set as CSS backgrounds. If an image matters, it should go in an <img> or a <picture>.
  5. That it can be crawled. If the file is blocked in robots.txt or only appears after the user does something, Google won’t see it.

Image sitemaps and structured data

If your images are loaded with JavaScript or live on another domain, such as a content delivery network (CDN), declare them in the sitemap with the image extension. And if the image has a license, say so: with the license and acquireLicensePage properties of schema.org structured data, or with the IPTC metadata in the file itself, Google can show the “Licensable” badge in Google Images and link to the page where it is explained.

The mistakes we see most often

MistakeWhat it causesFix
Page with no image at allLess appeal and nothing to show in ImagesOne original, relevant image per page
Empty alt on images with contentGoogle and screen readers don’t know what is thereA sentence that describes the image
Alt stuffed with keywordsPoor experience and a spam signalDescribe, don’t repeat
Main image as a CSS backgroundIt doesn’t get indexedMove it to an <img> with its alt
Same stock photo as the competitionNothing to set it apartOriginal images

In our crawl of our own house’s websites on November 18, 2026, the most common problem was not poorly written alt text but the lack of an image: 907 of 1,131 indexable pages had none in their content. Before fine-tuning the alt text, make sure every page has its image.

Practical case: a service page

A remodeling company has a page about bathroom remodels with a single image, named IMG_20240312.jpg, with no alternative text, weighing 3.8 MB and placed at the bottom of the page. Google can hardly tell what it shows, and the page is slow to load on a phone.

Fixing it takes fifteen minutes: rename the file to bathroom-remodel-walk-in-shower.webp, reduce it to 1,200 pixels wide and compress it, write alternative text that describes what can be seen (“remodeled bathroom with a tiled walk-in shower and a glass screen”), place it next to the paragraph about that job, and write a caption underneath with the neighborhood and the year. None of these steps is technical, and they all help the image and the page be understood.

Step by step to review a page

  1. Open the page and find each image in the content, not the ones in the menu or the footer.
  2. Check that the file name describes the image with words separated by hyphens.
  3. Check that it has alternative text and that it describes what can be seen, not a list of keywords.
  4. See whether the image is close to the text that talks about it.
  5. Check its file size: if it exceeds a few hundred kilobytes, compress it.
  6. If the image is yours and you want Google to show its license, add the IPTC metadata or the license structured data.

Frequently asked questions about image SEO

Does it help to put keywords in the alternative text?

Only if they describe what can be seen. Alternative text stuffed with keywords helps no one: Google sees it as filler, and it is useless to a blind person.

Is WebP better than JPEG for SEO?

Google doesn’t reward a format, but speed. WebP usually weighs less at the same quality, and that is why it helps indirectly.

Do background images count?

Google indexes images that are in image tags. An image set as a background with CSS usually doesn’t appear in Google Images. If an image is important, add it as an image.

Do I need an image sitemap?

It helps on large websites or when images are loaded in ways Google doesn’t see well. On a small, well-built website, it is enough for the images to be in the HTML.

What you can do today: pick the page on your website that gets the most visits and apply the six steps to it. That is where it will show the most.

One last idea: Google Images is also a way into your website. Someone who searches for “bathroom with a tiled walk-in shower” and sees your image may end up on your services page. That is why it is worth taking care of the images on the pages that sell, not just those on the blog.