Google can show an image in three places: in the Images tab, as a thumbnail next to a regular text result, and in Discover. Getting there takes the same work in each case: put the image in markup Google reads, describe what it shows, keep it quick to load, and make the page around it worth a click.
That work also helps people. Clear alt text and fast-loading images serve readers who use screen readers or slow connections as much as they serve search engines.
How Google finds and understands an image
Google finds images in the src of <img> elements, including an <img> inside a picture element. It doesn't index images set as CSS backgrounds. So if an image matters, put it in an <img>:
<img src="dalmatian-puppy-fetch.jpg" alt="Dalmatian puppy playing fetch">
To understand what an image shows, Google combines its alt text, computer vision and the content of the page: the title, captions, nearby text and what the page is about. The filename gives a light extra clue. An image of a dog on a page about dog training is easier to place than the same image on a page about something else.
Describe each image well
Alt text is the most important description you give. Say what the image shows, in context, in a short phrase. Google's own example: "Dalmatian puppy playing fetch" beats "puppy", and a string of keywords is worse than either: Google calls that keyword stuffing and says it may make your site look like spam. Purely decorative images get an empty alt="" so screen readers skip them. More in alt attribute.
Filenames should be short and descriptive: my-new-black-kitten.jpg, not IMG00023.JPG. If you translate a page, translate the filenames too.
Placement matters as well. Put images near the text they illustrate, and add a caption where it helps the reader.
Make images quick to load
Images are often the heaviest part of a page, so they decide much of how fast it loads. The basics:
- Compress images and use modern formats. Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF. Image compression explains which to choose.
- Serve several sizes with
srcset, and always keep a plainsrcas the fallback, since some browsers and crawlers ignoresrcset. See responsive images. - Use the same URL for the same image across your site, so Google can reuse it instead of fetching copies.
- Lazy-load images lower on the page with the browser's built-in
loading="lazy", which Google can handle. Avoid scripts that load images only after a click or scroll, because Google doesn't click or scroll. Google Search Central
Help Google find images it might miss
If some images are added by JavaScript or sit on a separate image server, list them in an image sitemap. Unlike a regular sitemap, it may list image URLs on other domains, such as a CDN. Check that your robots.txt doesn't block the folders or the domain your images come from.
Choose the image Google shows for a page
When a page appears in results with a thumbnail, or in Discover, Google picks the image automatically. You can suggest one with the primaryImageOfPage property in structured data or with the Open Graph og:image tag. Pick an image that represents the page, in high resolution. Avoid your logo, images full of text, and very narrow or very wide shapes.
Some kinds of structured data can earn your images a badge in Google Images. To show who made an image and how it can be licensed, add image license structured data or IPTC photo metadata; that can make the image eligible for the "Licensable" badge. Google Search Central
Keep images out of search when you need to
Some images shouldn't appear in search, such as private documents or licensed photos you may only show on your page. Block them with a robots.txt rule for Googlebot-Image, or send a noindex X-Robots-Tag header with the image file. Both work; you don't need both. For an urgent case, the Removals tool in Google Search Console hides an image quickly while the permanent block takes effect.
Measure what images bring you
In Search Console's Performance report, set the search type to Image to see clicks and impressions from the Google Images tab. Searches made with a camera or an uploaded image, as in Google Lens, appear under Web: multimodal. Check these before and after changes, and compare the pages that gain with those that don't.