Image SEO: How to Optimize Images for Google Search Image SEO: How to Optimize Images for Google Search — SEO article on Sentinel SERP SEO Image SEO: How to Optimize Images for Google Search Sentinel SERP 19 min read
Image SEO: How to Optimize Images for Google Search — SEO guide on Sentinel SERP

Image SEO: How to Optimize Images for Google Search

EW
By Emily Watson | Monetization Strategist at Sentinel
Published March 5, 2026 · Updated April 1, 2026 · 19 min read

Key Takeaways

  • Google Images drives approximately 22% of all web searches, making image optimization a significant traffic opportunity that most sites underutilize.
  • Descriptive file names and alt text are the two strongest on-page signals for image search rankings and should include relevant keywords naturally.
  • Serving images in WebP or AVIF format with proper compression can reduce file sizes by 25-50% compared to JPEG without visible quality loss, directly improving Core Web Vitals.
  • Responsive images using the srcset attribute ensure users on every device receive appropriately sized images, preventing mobile users from downloading oversized desktop images.
  • Lazy loading below-the-fold images reduces initial page load time and improves LCP scores, but above-the-fold hero images should always load eagerly.

Why Image SEO Matters

Image SEO is the practice of optimizing images on your website so they rank in Google Images, contribute positively to page speed and Core Web Vitals, and enhance the overall search visibility of the pages they appear on.

According to SparkToro research, Google Images accounts for approximately 22% of all web searches, making it the second-largest search engine after Google's main web search. Yet many websites give image optimization minimal attention, treating images as purely decorative elements rather than discoverable assets.

Image optimization also has a direct impact on page speed. HTTP Archive data shows that images account for roughly 45% of the total weight of an average web page. Poorly optimized images are the number one cause of slow Largest Contentful Paint (LCP) scores, which directly affect rankings.

The three benefits of image SEO are:

Fast-loading, properly optimized images also improve engagement metrics. When pages load quickly with smooth visual rendering, users are more likely to stay and interact with content. Monitoring the relationship between image performance and user engagement through tools like the Sentinel Dwell Time Bot can reveal which pages benefit most from image optimization efforts.

File Names and Image Formats

Image file names are a direct ranking signal for Google Images. Google uses the file name to understand the image's content, especially when other signals are limited.

File Naming Best Practices

Image Format Comparison for 2026

FormatBest ForCompressionBrowser SupportTransparency
WebPPhotos and graphics (general purpose)25-34% smaller than JPEG97%+ global supportYes
AVIFPhotos (highest compression)50%+ smaller than JPEG92%+ global supportYes
JPEGFallback for older browsersBaseline standardUniversalNo
PNGScreenshots, graphics with textLarger than JPEG for photosUniversalYes
SVGIcons, logos, simple illustrationsScalable (no pixel size)UniversalYes

In 2026, WebP should be your default format for photographs and complex graphics. According to Google's WebP documentation, WebP images are 25-34% smaller than comparable JPEG images at equivalent quality. AVIF offers even better compression but has slightly lower browser support. Use the <picture> element to serve AVIF with WebP and JPEG fallbacks.

Alt Text Optimization

Alt text (alternative text) serves two purposes: it provides accessibility for screen reader users and it gives Google textual context about the image. According to Google's image best practices, alt text is one of the primary signals used to understand what an image is about.

Alt Text Rules

Alt Text Examples by Context

ContextImage ContentGood Alt TextPoor Alt Text
Product pageProduct photoNike Air Max 90 in university red, side profile viewshoe
Blog postData chartLine chart showing organic traffic growth from 50K to 180K monthly sessions between January and December 2025traffic chart
TutorialScreenshotGoogle Search Console performance report showing the Queries tab filtered by pagescreenshot
About pageTeam photoThe Smith Plumbing team of six technicians standing in front of their service vehiclesour team
DecorativeBackground pattern(empty: alt="")blue-abstract-background-image-seo-keywords

For more on integrating alt text into your overall page optimization, see the image section in our on-page SEO guide.

Image Compression and Performance

Image compression is the single biggest lever for improving page load times on image-heavy pages. The goal is to reduce file size as much as possible without visible quality degradation.

Compression Guidelines

Image TypeFormatQuality SettingTarget File Size
Hero/banner imageWebP or AVIF80-85%Under 200 KB
Blog content imageWebP75-80%Under 100 KB
Product thumbnailWebP75-80%Under 50 KB
Background imageWebP70-75%Under 150 KB
Icon or logoSVGN/A (vector)Under 10 KB

Compression Tools

Impact on Core Web Vitals

Unoptimized images are the most common cause of poor LCP scores. The LCP element (the largest visible content in the viewport) is frequently a hero image. According to Google's LCP documentation, a good LCP score is under 2.5 seconds. Compressing your LCP image alone can often bring a failing page into the "good" threshold.

Image optimization is a core component of the speed audit in our technical SEO audit checklist. Poorly optimized images not only hurt page speed but also degrade engagement metrics. The Sentinel Bounce Rate Bot can help you identify pages where slow image loading correlates with high bounce rates.

Responsive Images and Srcset

Responsive images ensure that every user receives an appropriately sized image for their device and viewport. Without responsive images, mobile users download full-resolution desktop images, wasting bandwidth and increasing load times.

The Srcset Attribute

The srcset attribute tells the browser which image sizes are available, allowing it to choose the best option:

<img
  src="product-800.webp"
  srcset="product-400.webp 400w, product-800.webp 800w, product-1200.webp 1200w"
  sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1200px"
  alt="Blue ceramic coffee mug on a wooden table"
  width="800"
  height="600"
  loading="lazy"
>

Image Size Recommendations

Use CaseSmall (Mobile)Medium (Tablet)Large (Desktop)
Hero/banner640px wide1024px wide1920px wide
Content image400px wide700px wide1000px wide
Thumbnail150px wide200px wide300px wide
Product image400px wide600px wide800px wide

Always include explicit width and height attributes on image elements. This allows the browser to reserve the correct space before the image loads, preventing Cumulative Layout Shift (CLS), which is a Core Web Vital metric. For more on mobile-specific considerations, see our mobile SEO guide.

See how Sentinel can help your SEO strategy

Try all 4 tools with a 7-day free trial. Cancel any time before day 7 and you won't be charged.

Start Free Trial

Lazy Loading Implementation

Lazy loading defers the loading of offscreen images until the user scrolls near them. This reduces initial page load time and improves LCP scores by allowing the browser to prioritize above-the-fold content.

Native Lazy Loading

Modern browsers support native lazy loading via the loading attribute. This is the simplest implementation and requires no JavaScript:

Critical Rule: Never Lazy Load the LCP Image

The most common lazy loading mistake is applying it to the hero image or the largest content element in the viewport. This delays the LCP measurement and directly hurts your Core Web Vitals score. According to Google's lazy loading guide, always load the first one to two images (above the fold) eagerly and only lazy load images further down the page.

Fetchpriority for LCP Images

For the LCP image specifically, add fetchpriority="high" to tell the browser to download it as a high-priority resource:

<img src="hero.webp" alt="description" width="1200" height="600" fetchpriority="high">

This is especially important for images loaded from a CDN or a different origin, where browser prioritization heuristics may not automatically assign high priority.

Image Sitemaps

An image sitemap helps Google discover images on your site, particularly those loaded dynamically via JavaScript or CSS that crawlers might miss during standard HTML parsing.

When Image Sitemaps Matter

Image sitemaps are most valuable for:

According to Google's image sitemap documentation, you can add image information to your existing XML sitemap or create a separate image-specific sitemap. Include the image URL, title, caption, and geographic location if relevant.

Image Sitemap Structure

Add <image:image> tags within each <url> entry in your sitemap. Each page can declare up to 1,000 images. For most sites, including the primary images per page is sufficient. Do not include decorative background images or UI elements.

For e-commerce sites specifically, image sitemaps are crucial for ensuring that product images are indexed in Google Images, which can drive significant additional traffic. See our e-commerce SEO guide for more on product image strategies.

Structured Data for Images

Structured data can enhance how your images appear in Google search results. Several schema types include image properties that Google uses for rich results.

Image-Related Schema Types

Schema TypeImage PropertyRich Result
Productimage (required)Product images in shopping results
Recipeimage (required)Recipe carousel with photos
Articleimage (recommended)Top Stories and article carousels
HowToimage per stepStep-by-step visual instructions
ImageObjectcontentUrl, caption, creatorEnhanced image search results

When implementing schema that includes images, use high-quality images that meet Google's minimum requirements: at least 1200 pixels wide for Article schema and at least 600x600 pixels for Product schema. These requirements are documented in Google's structured data guidelines.

For a comprehensive overview of all schema types and their implementation, see the structured data section in our technical SEO audit checklist.

Image CDN and Delivery Optimization

An image CDN (Content Delivery Network) serves images from servers geographically close to the user, reducing latency and improving load times. Modern image CDNs also provide automatic format conversion, responsive resizing, and compression on the fly.

Image CDN Features

FeatureBenefitProviders
Automatic format conversionServes WebP/AVIF to supported browsers, JPEG to othersCloudinary, Imgix, Cloudflare Images
Responsive resizingGenerates multiple sizes via URL parametersCloudinary, Imgix, Bunny CDN
Smart compressionApplies optimal compression per image typeCloudflare Polish, Cloudinary
Edge cachingServes images from the nearest data centerAll major CDNs
Image analyticsTracks bandwidth, format adoption, and performanceCloudinary, Imgix

Implementation Considerations

When using an image CDN, ensure that Google can still crawl and associate images with your domain. Use a CDN subdomain (e.g., images.yourdomain.com) rather than the CDN's default domain to maintain brand association. Include images served from CDN subdomains in your image sitemap to ensure discovery.

For sites that rely on advertising revenue, image optimization has a dual benefit: faster-loading pages improve both ad viewability and user engagement. The Sentinel AdSense Clicker Bot can help you understand how image load performance affects ad revenue per page view.

Combine image CDN delivery with the responsive image and lazy loading techniques discussed earlier for the best possible image performance. Together, these techniques can reduce total image payload by 60-80% compared to unoptimized images, dramatically improving both Core Web Vitals and user experience.

FAQ

Does Google index images loaded via JavaScript?

Google can index JavaScript-loaded images, but it requires a second rendering pass which introduces delays. Images in the initial HTML are discovered and indexed faster. For critical images, include them in the HTML source. For dynamically loaded images (e.g., in carousels or galleries), ensure they are included in your image sitemap to aid discovery.

Should I use WebP or AVIF for my images?

WebP is the safer default choice due to broader browser support (97%+). AVIF offers better compression but has slightly lower support (92%+). The ideal approach is to serve AVIF as the primary format with WebP as a fallback using the HTML picture element, and JPEG as a final fallback for the oldest browsers.

How much does image optimization affect page speed scores?

Image optimization is typically the single largest factor in page speed scores. Properly optimizing images can improve PageSpeed Insights scores by 20-40 points. For image-heavy pages (portfolios, e-commerce, galleries), the impact can be even greater. Focus on the LCP image first, as it has the most direct impact on Core Web Vitals.

Do images with text in them get indexed by Google?

Google can use OCR (optical character recognition) to read some text within images, but it is far less reliable than HTML text. Never use images of text when HTML text would serve the same purpose. If you must use text in images (infographics, diagrams), ensure the same information is also available as HTML text on the page and describe the content in the alt text.

How many images should I include per page?

There is no maximum, but each image should serve a purpose, whether illustrating a concept, showing a product, or breaking up text for readability. For blog content, one image per 300-500 words is a common guideline. For product pages, four to eight images showing different angles and details is typical. What matters most is that every image is properly optimized so additional images do not significantly increase page load time.

Frequently Asked Questions

Yes, but it requires a second rendering pass which introduces delays. Images in initial HTML are indexed faster. Include dynamically loaded images in your image sitemap.

WebP is the safer default due to 97%+ browser support. AVIF offers better compression but has slightly lower support. Ideally serve AVIF with WebP and JPEG fallbacks using the picture element.

Image optimization typically improves PageSpeed Insights scores by 20-40 points and is the single largest factor in page speed. Focus on the LCP image first for maximum Core Web Vitals impact.

Google can use OCR to read some text in images, but it is unreliable. Never use images of text when HTML text would work. Describe image text content in alt attributes.

There is no maximum, but each image should serve a purpose. For blog content, one per 300-500 words is common. For product pages, 4-8 images showing different angles. Optimize every image properly.

Ready to optimize your search performance?

Join thousands of SEO professionals using Sentinel. Start your 7-day free trial today.

Start Free Trial
Tags: image seo alt text image optimization webp lazy loading google images

Related tools, articles & authoritative sources

Hand-picked internal pages and external references from sources Google itself considers authoritative on this topic.

Related free tools

Related premium tools

  • Dwell Time Bot Increase time on page, session duration, and engagement signals with realistic multi-source browsing sessions
  • Bounce Rate Bot Drop competitor rankings with sustained pogo-stick sessions from multi-source SERP research