Image Optimization for SEO
Images affect SEO in two ways most sites ignore: alt text signals topical relevance to Google, and uncompressed files tank Core Web Vitals scores. Optimizing both is straightforward — and the ranking impact is often faster than any other on-page fix.
Get a Free SEO AuditTwo Ways Images Affect SEO
Image optimization splits into two separate problems with separate fixes. The first is relevance: Google can't see images the way a human does — it reads alt text, file names, and surrounding content to understand what an image depicts. An image without alt text is invisible to Google from an SEO perspective. An image with a descriptive, keyword-informed alt tag contributes to the page's topical relevance signal and can rank independently in Google Image Search.
The second is performance. Images are typically the largest assets on any page. Uncompressed images are the single most common cause of poor Largest Contentful Paint (LCP) scores — the Core Web Vitals metric that measures how quickly the main content of a page loads. Google uses Core Web Vitals as a ranking signal. A page with excellent content and title tags can still underperform if slow image loading suppresses its Core Web Vitals score.
The fix for both is mechanical and fast. Convert images to WebP, compress them to under 150KB, write descriptive alt text, rename files before upload, and set explicit dimensions. None of this requires a developer for most CMS platforms — but the performance gains show up in Google's ranking signals within the next crawl cycle.
Image Optimization Checklist
- Every non-decorative image has alt text
- Alt text includes a relevant keyword naturally
- No generic alt text like 'image' or 'photo'
- Images are in WebP format where possible
- File sizes under 150KB for standard images
- File names are descriptive and hyphenated
- Width and height attributes set on all images
- Below-the-fold images use lazy loading
- Validated via Google PageSpeed Insights
Image SEO Factors — Full Reference
Every image optimization variable, what to do, its SEO impact level, and the tool to use. Work through these in order of impact.
| Factor | What to Do | Impact | Tool |
|---|---|---|---|
| Alt Text | Write descriptive alt text with the target keyword where natural. E.g. alt='Kansas City SEO consultant reviewing a site audit' | High | Manual / CMS field |
| File Format | Use WebP for photos, SVG for logos/icons. Avoid PNG for photographs. | High | Squoosh, ImageOptim |
| File Size | Compress all images. Target under 150KB for standard images, under 50KB for thumbnails. | High | Squoosh, ShortPixel |
| File Name | Use descriptive, hyphenated, keyword-inclusive names. 'seo-audit-kansas-city.jpg' not 'IMG_001.jpg'. | Medium | Manual before upload |
| Width & Height Attributes | Always set explicit dimensions in HTML. Prevents Cumulative Layout Shift (CLS). | Medium | HTML/CMS settings |
| Lazy Loading | Add loading='lazy' to images below the fold. Improves initial page load speed. | Medium | HTML attribute |
| Image Sitemap | Include images in your XML sitemap so Google can discover and index them for image search. | Low | Yoast SEO, custom sitemap |
Find Out If Your Images Are Hurting Your Rankings
A free SEO audit checks alt text coverage, image file sizes, Core Web Vitals scores, and format compliance across your entire site.
Request Your Free AuditMore On-Page SEO Topics
Image optimization affects both relevance and performance. See Core Web Vitals for the full performance picture, and content optimization for the broader on-page SEO context.
Frequently Asked Questions
How do you optimize images for SEO?
Optimizing images for SEO involves five things: writing descriptive alt text that includes the target keyword naturally, compressing images to reduce file size without sacrificing quality, using the correct file format (WebP for photos, SVG for logos), giving image files descriptive keyword-rich names instead of defaults like 'IMG_4821.jpg', and setting explicit width and height attributes to prevent layout shift.
What is image optimization in SEO?
Image optimization in SEO is the process of making images as useful as possible for both search engines and page performance. For search engines, it means writing accurate alt text and descriptive file names so Google can understand what the image depicts. For performance, it means compressing images and using modern formats so pages load faster — which directly affects Core Web Vitals and rankings.
What is the best image format for SEO?
WebP is the best format for photographs and complex images — it produces files 25–35% smaller than JPEG at equivalent quality, which improves page load speed and Core Web Vitals. SVG is best for logos, icons, and illustrations because it scales without quality loss. Avoid PNG for photographs and avoid GIF for anything other than simple animations.
Does image alt text help SEO?
Yes. Alt text is the primary way Google understands what an image depicts. It's a direct on-page SEO signal, contributes to image search ranking, and is required for web accessibility. Every non-decorative image on your site should have descriptive alt text that includes a relevant keyword where it fits naturally.
How does image file size affect SEO?
Large image files are one of the most common causes of slow page load times, which directly hurts Core Web Vitals scores — specifically Largest Contentful Paint (LCP). Google uses Core Web Vitals as a ranking signal, so uncompressed images can suppress rankings even on pages with excellent content. Images should be compressed to the smallest file size that maintains acceptable visual quality.
What should image file names be for SEO?
Image file names should be descriptive and include relevant keywords, separated by hyphens. 'kansas-city-seo-consultant.jpg' is correct. 'IMG_4821.jpg' tells Google nothing about the image. File names are a minor but real SEO signal — they contribute to image search ranking and reinforce the page's topical relevance.
Ready to Optimize Your Images?
Griffin Mott Consulting audits and optimizes image SEO for small businesses across Kansas City. Start with a free SEO audit.