Guides

How to Get Images Indexed in Google Images (2026)

How to get your images indexed in Google Images in 2026: crawlable image elements, alt text, file names, image sitemaps, page context, formats and common blockers.

10 min read

How to get images indexed in Google Images: an image with descriptive alt text

Quick answer

Images get indexed when they are in standard img elements on indexable pages, are not blocked by robots.txt, have descriptive file names and alt text, sit near relevant text, and are listed in your sitemap or an image sitemap. Use supported formats, keep image URLs stable and make sure lazy-loaded images still appear in the rendered HTML. CSS background images are generally not indexed.

Key takeaways

  • Use standard img or picture elements; CSS backgrounds are generally not indexed.
  • Images must not be blocked by robots.txt for Googlebot-Image.
  • Descriptive file names and alt text help Google understand images.
  • Surrounding text and captions give important context.
  • Image sitemaps help Google find images it might otherwise miss.

How does Google find and index images?

Google discovers images mainly through the pages that contain them. When it crawls and renders a page, it finds the images in img and picture elements, fetches them with Googlebot-Image, and uses the image itself plus the page context, such as alt text, captions, nearby text and the page title, to understand what each image shows. Images listed in sitemaps can also be discovered that way.

An image is therefore only as discoverable as the page it sits on and the signals around it. A beautiful photo on a noindexed page, behind a robots.txt block or loaded in a way Google cannot see will not appear in Google Images, however good it is.

Checklist of signals that help images get indexed in Google Images. View full size
Images are understood through their context. The more consistent the signals, the better.

Why are CSS background images a problem?

Google indexes images referenced in img elements and the picture element's sources. Images set as CSS backgrounds are generally not indexed, because Google does not treat them as content images. Decorative backgrounds are fine as CSS; product photos, diagrams and other images you want people to find should use img elements with alt text.

How should you write alt text?

Alt text describes the image for people who cannot see it and helps Google understand it. Write a short, specific description of what the image shows, in natural language. If the image illustrates a specific product or concept, name it. Avoid stuffing keywords or repeating the same text on every image. Decorative images that add no information can have empty alt attributes.

Alt text examples
ImageWeak alt textBetter alt text
Product photoshoeRed trail running shoe with a grippy rubber sole, side view
DiagramdiagramFlowchart of how Google crawls, renders and indexes a page
Team phototeam team team best teamOur support team at the London office
Decorative dividerdivider imageEmpty alt attribute, as it adds no information

Do file names and URLs matter?

Yes, a little. A descriptive file name such as blue-ceramic-coffee-mug.jpg gives Google a small extra signal about the image, while IMG_00231.jpg gives none. More important is URL stability: if image URLs change every time a page is updated or a cache is cleared, Google has to rediscover them and may lose track of the old ones. Keep image URLs stable, and if you must change them, redirect the old URLs.

Should you use an image sitemap?

Google can find most images by crawling pages, but an image sitemap helps for images it might miss, such as those loaded by JavaScript, or when you want to make sure all important images are known. You can add image entries to your existing page sitemap, listing the images that appear on each page. Google's image sitemap extension supports listing image locations; images can be hosted on other domains such as a CDN, as long as they are allowed to be crawled.

A sitemap helps discovery, not ranking. Images still need good context on their pages to perform well in Google Images.

Comparison of factors that help and block image indexing in Google Images. View full size
Blocked image folders and hotlink protection are the most common hidden causes.

What commonly blocks images from being indexed?

  1. robots.txt rules that disallow an image folder, a CDN path or image file types.
  2. Hotlink protection or bot rules that refuse Googlebot-Image.
  3. Images on pages that carry noindex or are blocked from crawling.
  4. Lazy loading based on scroll events that Google's rendering never triggers.
  5. Images served only through JavaScript galleries without img elements in the rendered HTML.
  6. Unsupported or unusual formats.

Check your robots.txt, including the robots.txt of any CDN hostname that serves your images, since each hostname has its own. Our guide on Blocked by robots.txt explains the rules. URL Inspection on the page shows whether images loaded during rendering.

Which image formats does Google support?

Google Images supports common formats including JPEG, PNG, GIF, WebP, BMP, SVG and AVIF. Modern formats such as WebP and AVIF reduce file size without losing quality, which helps page speed. Use the picture element if you want to serve modern formats with fallbacks. Whatever the format, make sure the image is reasonably sized and not so compressed that it looks poor.

Google uses the page to understand the image: the title, headings, captions and text near the image. An image of a hiking boot on a page about hiking boots, with a caption naming the model, is far clearer than the same image on a generic gallery page with no text. Place important images near relevant text, use captions where they help readers, and make the page itself useful.

Structured data can help too. Product, recipe and article markup that includes image properties helps Google associate images with rich results, which can make your images more visible in search features.

A worked example: a recipe site

A recipe site finds its photos rarely appear in Google Images. An audit shows that the hero photo on each recipe is a CSS background, step photos are loaded by a JavaScript slider only when the user swipes, and the image CDN's hostname has a robots.txt that disallows everything.

The team changes the hero to an img element with descriptive alt text, renders all step photos as img elements with captions, fixes the CDN robots.txt to allow crawling, and adds images to the recipe sitemap entries. Within two months, recipe photos begin appearing in Google Images and in recipe rich results, bringing a steady new stream of visitors.

How do responsive images affect indexing?

Responsive images use srcset or the picture element to serve different sizes to different screens. Google can understand these and typically indexes an appropriate version. Make sure every candidate URL is crawlable, that the img element has a src fallback and alt text, and that the images are visible in the rendered page on mobile, since Google uses mobile-first indexing. Our guide on mobile-first indexing explains why the mobile version matters.

How should galleries and carousels be built?

Image galleries and carousels are often built with JavaScript that loads images only when a user clicks or swipes. Google does not click or swipe, so images beyond the first slide may never appear in the rendered HTML. Render all gallery images as img elements in the page, even if they are visually hidden until selected, or provide a crawlable fallback such as thumbnails linking to full images. Check URL Inspection's rendered HTML to confirm every important image is present.

Lightbox scripts that open full-size images on click are fine if the full-size image URL is in a link or in the img element, so Google can find it. Avoid galleries that build image URLs entirely in JavaScript from data that never appears in the HTML.

You may also read

Does page speed matter for images?

Large, unoptimised images slow pages down, which hurts user experience and can affect how efficiently Google crawls your site. Compress images, serve modern formats where supported, set width and height attributes to avoid layout shifts, and use native lazy loading for images below the fold. Do not lazy load the main image at the top of the page, which is often the largest element and should load immediately.

Can images hosted on a CDN be indexed?

Yes. Many sites serve images from a CDN or a separate image domain, and Google indexes them as long as they are crawlable. The key detail is that the CDN hostname has its own robots.txt, which must allow Googlebot-Image. CDN security features such as hotlink protection must also allow Google. Listing CDN-hosted images in your page sitemap's image entries is supported and helps Google connect each image to its page.

How do you check whether images are indexed?

Search Google Images for site:yourdomain.com, or for a distinctive term from the page, and see whether your images appear. In Search Console, the Performance report can be filtered by search type Image to show impressions and clicks from Google Images. If a page is indexed but its images never appear in image search, check robots.txt, embedding and context first.

Do image licensing and metadata matter?

Google supports image license metadata, either through structured data or IPTC photo metadata embedded in the file, which can show a 'Licensable' badge and licensing details in Google Images. This does not affect whether an image is indexed, but it helps photographers and publishers whose images are reused. Embedded metadata such as creator and copyright can also be shown in image search details.

If you license images from stock libraries, the same photos appear on many sites. Google tends to show the version it considers most relevant for the query, which is often the page with the best context. Original photos give you a much better chance of appearing in image results than widely used stock images.

How do you get product images into shopping features?

Product images can appear in shopping-related results through Product structured data and, for retailers, product data submitted to Google Merchant Center. Use high-quality images of the actual product on a clean background where appropriate, include them in Product markup and keep them consistent with your feed. Our guide on indexing ecommerce product pages covers the wider picture for shops.

What about images in PDFs and documents?

Images embedded inside PDFs are not indexed as separate images in Google Images in the way images on web pages are. If a document contains important diagrams or photos you want people to find, publish them on a web page as well, with alt text and context. This also makes them more accessible and easier to share.

How long does it take for images to appear?

Images are usually discovered when Google crawls and renders the page that contains them, then fetched separately by Googlebot-Image. For well-crawled pages, new images can appear in Google Images within days to a few weeks. Images on new or rarely crawled pages take longer. Changing an image's URL resets that process, which is another reason to keep image URLs stable when you update pages.

If you replace an image but keep the same URL, Google eventually recrawls it and updates its copy. If the new image is substantially different, consider giving it a new URL and updating the page, so Google notices the change sooner.

Should you watermark images?

Watermarks do not stop images being indexed, but large, distracting watermarks can make images less appealing in search results and less useful to visitors. If you need to protect images, a small, subtle mark is a reasonable compromise. Combine it with license metadata so people who want to reuse the image know how to do so properly, and who they should contact about permission, payment or credit for the original work they want to use.

What are the myths about image SEO?

  • Myth: alt text should contain as many keywords as possible. It should describe the image naturally.
  • Myth: image sitemaps are required. They help discovery but most images are found through pages.
  • Myth: CSS background images are indexed like any other. Generally they are not.
  • Myth: blocking images in robots.txt protects them. It only keeps them out of Google Images.

Image indexing depends on how images are embedded and on the pages around them, all managed on your site. Blink Index's free link checker helps confirm that the pages your images sit on are indexable. For external pages that feature your images and link to you, submissions can help those pages be discovered.

Blink Index workflow for image indexing, with the check step highlighted for the pages holding images. View full size
If the page is blocked or noindexed, its images will not be indexed either.
  1. Check image-holding pages with the free link checker.
  2. Fix embedding, alt text, robots.txt and sitemaps on your site.
  3. For external pages featuring your images, submissions cost 1 credit per URL; see the pricing page.

The FAQ explains what submissions can and cannot do.

Summary: crawlable images on useful pages

Images get indexed when they are standard img elements on indexable pages, crawlable by Googlebot-Image, described with natural alt text and meaningful file names, surrounded by relevant context and listed in sitemaps. Fix robots.txt and hotlink blocks, avoid CSS backgrounds for important images and make lazy loading work with rendering. For video, see our guide on getting videos indexed.

Frequently asked questions

Why are my images not showing in Google Images?

Common causes are robots.txt rules blocking image folders or CDN hostnames, hotlink protection refusing Googlebot-Image, images set as CSS backgrounds, lazy loading that never triggers, and images on noindexed or blocked pages.

Does alt text help images get indexed?

Alt text helps Google understand what an image shows and is essential for accessibility. Write a short, natural description of the image. It supports indexing and relevance but does not replace crawlability.

Do I need an image sitemap?

Not always. Google finds most images by crawling pages. An image sitemap helps with images Google might miss, such as those loaded by JavaScript, and can list images hosted on a CDN.

Are CSS background images indexed?

Generally not. Google indexes images in img elements and picture sources. Use img elements with alt text for images you want people to find in search, and keep CSS backgrounds for decoration.

Which image formats can Google index?

Google Images supports common formats including JPEG, PNG, GIF, WebP, BMP, SVG and AVIF. Modern formats like WebP and AVIF help page speed while remaining indexable.

Keep reading

Sources and further reading

Facts about how Google crawls and indexes pages come from Google's own documentation: