
Image SEO: Alt Text & File Names
Images can drive significant traffic to your website—or they can tank your search rankings and slow your site to a crawl. The difference is image SEO.
With visual search growing rapidly (Google Lens processes billions of searches monthly) and images appearing in 36% of mobile search results, optimizing your images is no longer optional. This guide covers everything you need to know about image SEO.
Why Image SEO Matters
Traffic Impact
- Images appear in over a third of Google search results
- 90% of consumers say product photos influence their purchasing decisions
- Well-optimized images can rank in Google Images, driving additional organic traffic
- Visual search users often have high purchase intent
Site Performance
- Images typically account for 50% or more of total page weight
- Slow-loading images increase bounce rates
- Google uses page speed as a ranking factor (Core Web Vitals)
- Mobile users are especially sensitive to load times
Accessibility
- Alt text makes your content accessible to visually impaired users
- Screen readers rely on alt text to describe images
- Accessibility improvements benefit all users and SEO
File Names: Your First Optimization
File names tell search engines what your image depicts before they even analyze the image itself.
Bad File Names
IMG_4829.jpgphoto1.pngscreenshot.pngfinal-final-v2.jpg
Good File Names
blue-running-shoes-nike-side-view.jpghomemade-chocolate-chip-cookies.jpgbulk-image-compressor-screenshot.png
File Name Best Practices
- Be descriptive — Describe what’s in the image
- Use keywords — Include relevant search terms naturally
- Use hyphens — Separate words with hyphens (not underscores or spaces)
- Keep it concise — 3-5 words is ideal
- Be specific — “red-leather-handbag” beats “handbag”
Rename files before uploading. Changing names after upload doesn’t always update URLs.
Alt Text: Critical for SEO and Accessibility
Alt text (alternative text) describes an image’s content and purpose. It’s displayed when images fail to load and read aloud by screen readers.
Writing Effective Alt Text
Formula: [Adjective] + [Noun] + [Context/Action]
Examples:
| Image | Poor Alt Text | Good Alt Text |
|---|---|---|
| Product photo | ”shoes" | "Women’s red Nike running shoes, side view” |
| Tutorial screenshot | ”screenshot" | "BulkImagePro compression settings panel” |
| Blog header | ”banner" | "Person working on laptop in coffee shop” |
| Infographic | ”infographic" | "Comparison chart of image formats: JPEG vs PNG vs WebP” |
Alt Text Best Practices
- Be specific and descriptive — Clearly describe what’s shown
- Include keywords naturally — Don’t stuff keywords
- Keep it under 125 characters — Screen readers may truncate longer text
- Skip “image of” or “photo of” — Screen readers already announce it’s an image
- Describe function for buttons/links — “Search” not “magnifying glass icon”
When to Use Empty Alt Text
Use alt="" for purely decorative images that add no information:
- Background patterns
- Decorative dividers
- Spacer images (if any still exist)
Image Compression: Speed and Rankings
Large image files slow your site, hurting both user experience and search rankings. Proper compression reduces file sizes without visible quality loss. For an in-depth look at how images affect Core Web Vitals, see our guide on image compression for page speed. Our complete image compression guide covers all compression techniques and tools.
Target File Sizes
| Image Type | Target Size | Format |
|---|---|---|
| Hero/banner | 100-300 KB | JPEG/WebP |
| Blog images | 50-150 KB | JPEG/WebP |
| Product photos | 80-200 KB | JPEG/WebP |
| Thumbnails | 10-30 KB | JPEG/WebP |
| Logos/icons | 5-50 KB | PNG/SVG |
How to Compress Images
BulkImagePro’s compressor reduces image file sizes by 50-80% while maintaining visual quality. Process up to 50 images at once—perfect for optimizing an entire blog or product catalog.
For ongoing optimization, consider:
- Compressing before upload (gives you control over quality)
- Using WebP format (25-35% smaller than JPEG)
- Resizing to actual display dimensions
Choosing the Right Image Format
Different formats serve different purposes:
| Format | Best For | Compression | Transparency |
|---|---|---|---|
| JPEG | Photos | Lossy | No |
| PNG | Graphics, logos | Lossless | Yes |
| WebP | All web images | Both | Yes |
| SVG | Icons, logos | Vector | Yes |
| GIF | Simple animations | Lossless (256 colors) | Yes |
WebP: The Modern Choice
WebP offers:
- 25-35% smaller files than JPEG at equivalent quality
- Transparency support (like PNG)
- Animation support (like GIF)
- 95%+ browser support
Convert your images to WebP using our PNG to WebP or JPEG to WebP converters.
Image Dimensions and Responsive Images
Size Images Appropriately
Don’t upload a 4000×3000 pixel image if it displays at 800×600. The extra pixels waste bandwidth and slow your page.
Before uploading:
- Determine the largest display size needed
- Account for retina displays (2x the display size)
- Resize images to match
Use our bulk image resizer to resize multiple images to consistent dimensions.
Implement Responsive Images
Use srcset to serve different image sizes based on device:
<img
src="product-800.jpg"
srcset="product-400.jpg 400w,
product-800.jpg 800w,
product-1200.jpg 1200w"
sizes="(max-width: 600px) 400px,
(max-width: 1200px) 800px,
1200px"
alt="Blue running shoes"
>
This lets browsers download only the size they need.
Technical Image SEO
Image Sitemaps
Help search engines discover your images by including them in your sitemap:
<url>
<loc>https://example.com/product-page</loc>
<image:image>
<image:loc>https://example.com/images/product.jpg</image:loc>
<image:title>Blue Running Shoes</image:title>
</image:image>
</url>
Lazy Loading
Defer loading of off-screen images until users scroll near them:
<img src="product.jpg" loading="lazy" alt="Product image">
Benefits:
- Faster initial page load
- Reduced bandwidth for users who don’t scroll
- Better Core Web Vitals scores
Structured Data
For e-commerce sites specifically, our product image SEO guide covers Google Shopping requirements, product schema, and visual search optimization in detail.
Add product schema to help your images appear in rich results:
{
"@type": "Product",
"name": "Running Shoes",
"image": ["https://example.com/shoes-front.jpg",
"https://example.com/shoes-side.jpg"]
}
Image SEO Checklist
Before publishing any image:
- Descriptive file name with keywords
- Compressed to appropriate file size
- Correct format (JPEG/WebP for photos, PNG for graphics)
- Sized to actual display dimensions
- Alt text that describes content
- Responsive images for different devices
- Lazy loading for below-fold images
Common Image SEO Mistakes
1. Generic File Names
Problem: IMG_4829.jpg tells search engines nothing
Fix: Rename to descriptive, keyword-rich names before uploading
2. Missing Alt Text
Problem: Missed SEO opportunity and accessibility failure Fix: Add descriptive alt text to every meaningful image
3. Oversized Images
Problem: Slow page loads hurt rankings and conversions Fix: Resize and compress images before uploading
4. Wrong Format
Problem: Using PNG for photos creates huge files Fix: Use JPEG/WebP for photos, PNG for graphics
5. Keyword Stuffing
Problem: “blue shoes running shoes athletic shoes sneakers” hurts rankings Fix: Write natural, descriptive alt text with one focus keyword
If you’re managing product images for an online store, these same SEO principles apply at scale. Our e-commerce image optimization guide walks through the full pipeline from product photography to optimized listings across every major marketplace.
Tools for Image SEO
Compression and Resizing
BulkImagePro — Batch compress, resize, and convert images for optimal web performance.
Format Conversion
BulkImagePro Converter — Convert between formats including WebP for maximum compression.
Cropping
BulkImagePro Cropper — Batch crop images to consistent aspect ratios.
Analysis
- Google PageSpeed Insights — Identifies image optimization opportunities
- Google Search Console — Shows image search performance
FAQ
Does image SEO really affect rankings?
Yes. Optimized images improve page speed (a ranking factor), can rank in image search (additional traffic), and enhance user experience (reduces bounce rate).
How long should alt text be?
Aim for 125 characters or less. Be descriptive but concise. If you need more than 125 characters, the image might be too complex or you might be over-explaining.
Should I include keywords in alt text?
Yes, but naturally. Describe the image accurately, and include relevant keywords where they fit naturally. Don’t force keywords or stuff multiple variations.
Does image format affect SEO?
Indirectly. Smaller file formats (WebP, properly compressed JPEG) improve page speed, which is a ranking factor. The format itself isn’t a direct ranking signal.
How do I optimize images for Google Images?
Use descriptive file names, comprehensive alt text, surrounding context text, and proper technical implementation (sitemaps, structured data). Image quality and relevance matter most.
Ready to optimize your images? Start with BulkImagePro — compress, resize, and convert your images for better SEO and faster load times. Free, no signup required.
Ready to optimize your images?
Try our free bulk image tools - compress, resize, crop, and convert images in seconds.