How Google finds, understands and ranks images, the exact markup that helps, and how to track your Google Images rankings in Search Console.
To rank in Google Images, the image has to be discoverable (a real img element Google can crawl), understandable (descriptive filename, alt text, and relevant text around it on the page), and worth showing (a good-quality, fast-loading picture on a page that itself ranks well). Then track results in Search Console by switching the Performance report's search type to Image.
Most image SEO guides stop at "add alt text." That is one of about six signals. Here is the full picture, in the order Google processes an image.
How Google handles an image
Discovery. Googlebot finds the image URL in your HTML or your sitemap.
Crawling. It fetches the image file, unless robots.txt blocks it.
Understanding. It reads the filename, alt text, caption, nearby text, page title and structured data, and runs its own image recognition.
Indexing. The image is stored along with the page it appears on, because Google Images always links back to a landing page.
Ranking. For a query, Google weighs how relevant the image and its page are, plus quality signals such as page experience and the image's size and sharpness.
A failure at any step means the later ones never happen. Work through them in order.
Step 1: Make images discoverable
Use the img element. Google's documentation states that images loaded as CSS backgrounds are not indexed. Hero banners built as background images are a common blind spot.
Lazy loading is fine, done right. Native loading="lazy" works. Custom JavaScript that swaps a data-src attribute only on scroll may never load for the crawler. Test with the URL Inspection tool in Search Console and check the rendered HTML.
Do not block image folders. Check robots.txt for rules like Disallow: /images/ or /wp-content/uploads/.
Add images to your sitemap. Either a dedicated image sitemap or image entries inside your normal sitemap, using the image:image and image:loc tags. This matters most for images loaded by JavaScript or hosted on a CDN domain.
Keep stable URLs. Changing an image's URL resets what Google knows about it. If you must move images, redirect the old URLs.
Step 2: Tell Google what the image shows
Filenames
Rename before uploading. IMG_4821.jpg says nothing. walnut-dining-table-6-seater.jpg says a lot. Use hyphens between words, lowercase, and keep it short.
Alt text
Describe the image in plain language, as if you were reading the page aloud to someone who cannot see it.
Image
Weak alt
Good alt
Product photo
"table"
"Six-seater walnut dining table with tapered legs"
Team photo
"team photo seo company best team"
"Our four-person support team at the Toronto office"
Chart
"chart"
"Bar chart of monthly orders, rising from 120 in January to 310 in June"
Decorative divider
anything
Empty alt (alt="") so screen readers skip it
Avoid stuffing keywords. It reads badly for screen reader users and Google's guidelines treat it as spam.
Context around the image
Google uses the text near an image to understand it. A product photo placed next to the product name, price and description will rank better than the same photo dropped into a gallery with no text. Captions are read by users more than almost any other text on a page, so use them where they add information.
Structured data
On product, recipe and video pages, structured data (Product, Recipe, VideoObject in schema.org, as JSON-LD) can make your image eligible for rich results and badges in Google Images. Include the image property with a crawlable URL. Validate it with Google's Rich Results Test.
Step 3: Make the image worth ranking
Quality and size. Google prefers sharp, relevant images. For images you want to appear large in Discover and image results, Google recommends images at least 1200 pixels wide and allowing large previews with the max-image-preview:large robots setting.
Originality. Your own product shots and diagrams have a better chance than a stock photo that appears on thousands of other sites.
Placement. Put the most important image near the top of the page, not buried at the bottom.
Page speed. Compress images, serve modern formats (WebP or AVIF), and use srcset so phones get a smaller file. Always set width and height attributes so the layout does not jump while images load, which hurts the Cumulative Layout Shift score.
The page must rank too. An image on a thin, low-quality page rarely wins. Google Images is still ranking pages.
Step 4: Track Google Images rankings
Google Images rank tracking is simpler than most people think, because the best data is free.
Open Google Search Console and go to Performance.
Click Search type and choose Image.
Look at the Queries tab for the searches your images appear for, and the Pages tab for which pages earn them.
Compare date ranges to see whether changes you made (renaming files, rewriting alt text) moved impressions.
Keep in mind that position in image results is a grid, so "average position" is a rough guide, not an exact slot. Impressions and clicks are the numbers to watch.
Some paid rank trackers also report image pack positions in regular web results. Check current features and pricing if you need that level of detail.
Common mistakes that keep images out of Google
Same image, many URLs. Resizing plugins and CDNs can create a dozen versions of one photo. Use srcset for sizes, but keep one canonical file per image so signals are not split.
Text baked into images. Headlines and prices inside a JPEG cannot be read reliably by search engines or screen readers. Keep text in HTML.
Galleries with no page context. A lightbox gallery of 60 photos with no captions gives Google almost nothing to work with. Add a short caption or group images under descriptive headings.
Noindex on attachment pages done wrong. On WordPress, attachment pages are thin and usually best redirected to the file or parent post, which recent versions do by default. Check yours rather than assuming.
Hotlinked images. If your images are served from a domain you do not control, you lose them the day that domain changes.
A 15-minute image SEO audit
Pick your five most important pages and check:
[ ] Key images are img elements, not CSS backgrounds
[ ] Filenames are descriptive words, not camera names
[ ] Every meaningful image has specific alt text; decorative ones have empty alt
[ ] Images sit near text that describes them
[ ] Files are compressed and under a few hundred KB where possible
[ ] Width and height attributes are set
[ ] Image folders are not blocked in robots.txt
[ ] Product or recipe pages have structured data with an image property
[ ] Search Console Image performance shows impressions for these pages
For the rest of the page, the same logic applies to titles, headings and internal links. Our on-page SEO checklist covers those.
Handling this on a site builder
Many builders get the basics wrong by using background images for hero sections or renaming uploads to random strings. Check what yours does in the page source. With We.Inc, sites are built from a chat description and you can open the code to confirm images are real img elements with alt text, or ask in chat for alt text and file names to be updated, with hosting and SSL handled for you.
How do I get my images to show up on Google Images?
Use a standard HTML img element with a crawlable src URL, put the image on an indexable page near text that describes it, give it a descriptive filename and alt text, and do not block the image folder in robots.txt. Listing images in your sitemap helps Google find them faster.
Does alt text help SEO?
Yes. Google's own documentation says it uses alt text, along with computer vision and the surrounding page content, to understand what an image shows. Alt text is also required for accessibility, so write it for a person who cannot see the image.
How can I track my Google Images rankings?
In Google Search Console, open the Performance report and change Search type from Web to Image. You will see the queries, pages, clicks, impressions and average position for image results specifically.
What image format is best for SEO?
Google can index JPEG, PNG, WebP, GIF, SVG, BMP and AVIF. For photos on a website, WebP or AVIF usually give the smallest files at good quality, which helps page speed. The format itself is not a ranking factor, but load time and image quality affect how well the page performs.
Do CSS background images get indexed?
Google says it does not index images loaded through CSS. If an image matters for search, put it in the HTML with an img element.
How we research, test and update this page: our editorial policy. We.Inc is our own product.
We.Inc is an AI-powered website builder you can resell under your own brand. Launch a branded client dashboard, bill on Stripe Connect, and deliver AI-generated websites in minutes. White-label plans start at $99 a month for 25 client sites, with a 7-day free trial and no per-site fees.
Product
AI Website Builder: Describe a site in plain English; it's live in minutes