Skip to content
SeoWiki

The SEO encyclopedia

On-Page SEO

Image SEO

Image SEO is the practice of optimizing images so search engines can discover, understand, and rank them, improving visibility in Google Images and page performance.

Updated 2026-07-25Reviewed by Lucía Marín

Key takeaways

  • Descriptive file names and alt text improve image understanding and accessibility.
  • Compression and modern formats boost page speed.
  • Responsive images with width/height attributes prevent layout shifts.
  • Image sitemaps and structured data aid discovery.
  • Avoid oversized images, CSS backgrounds, and keyword-stuffed alt text.

Image SEO is the practice of optimizing images so search engines can discover, understand, and rank them. It also improves page speed and accessibility, which are important for user experience and Core Web Vitals.

What Is Image SEO?

Image SEO refers to techniques that help search engines find, interpret, and display images. This includes using descriptive file names, writing relevant alt text, compressing images, serving responsive versions, and submitting image sitemaps. Proper image SEO can increase visibility in Google Images and support the hosting page's relevance.

Why Image SEO Matters for Search Rankings

Optimized images improve page speed, which is a ranking factor and part of Core Web Vitals. They also provide additional entry points via Google Images, which can drive traffic. Google uses page context, filenames, alt text, structured data, and crawlable image delivery to understand images. Original images tend to offer stronger topical relevance than stock photos.

Image File Names and Alt Text Best Practices

Use descriptive, hyphenated file names that reflect the image content, such as 'red-apple-on-table.jpg' instead of 'IMG_1234.jpg'. Alt text should accurately describe the image for accessibility and relevance; avoid keyword stuffing. Alt text helps screen readers and search engines understand the image when it cannot be displayed.

Image Compression and Modern Formats

Compress images to reduce file size without sacrificing quality. Use modern formats like WebP for better compression, JPEG for photos, PNG for graphics with transparency, and SVG for logos and icons. Tools like Squoosh or image optimization plugins can automate this process.

Responsive Images and Core Web Vitals

Serve responsive images using srcset and the <picture> element so the browser loads the appropriate size for the device. Always include width and height attributes to prevent layout shifts, which affect Cumulative Layout Shift (CLS), a Core Web Vital. Lazy loading can defer off-screen images but should be used carefully to avoid harming Largest Contentful Paint (LCP).

Image Sitemaps and Structured Data

Submit an image sitemap to help Google discover images that might otherwise be missed. Use structured data, such as ImageObject schema, to provide additional context when the image is important to the page. This can enhance how images appear in search results.

Common Image SEO Mistakes to Avoid

Avoid generic file names like 'IMG_1234.jpg', keyword-stuffed alt text, and uploading oversized images that are only resized via CSS. Do not hide important images in CSS backgrounds or block image paths with robots.txt. Ensure images are crawlable by using standard <img> elements.

Image SEO Checklist for WordPress and Other CMS

When uploading images: rename the file descriptively, write accurate alt text, resize to the maximum display size, compress the file, and choose the best format. Use a plugin for automatic compression and lazy loading. Submit an image sitemap and consider adding structured data for key images.

FAQ

What is image SEO?

Image SEO is the practice of optimizing images so search engines can discover, understand, and rank them, improving visibility in Google Images and page performance.

How do I optimize image file names?

Use descriptive, hyphenated names that reflect the image content, e.g., 'red-apple-on-table.jpg' instead of 'IMG_1234.jpg'.

What is the best image format for SEO?

WebP offers good compression and quality. JPEG is suitable for photos, PNG for graphics with transparency, and SVG for logos and icons.

Does image alt text help SEO?

Yes, alt text helps search engines understand the image content and improves accessibility. It should be descriptive and relevant, not keyword-stuffed.

Should I use lazy loading for images?

Lazy loading can improve initial page load speed by deferring off-screen images. However, it should be used carefully to avoid harming LCP. Google recommends native lazy loading.

Related topics

Sources

Reviewed by Lucía Marín, Founding editor.