Image SEO: How to Optimize Images for Search

Image SEO - magnifying glass illustration

Images make a page more engaging, but they can also slow it down or be invisible to search engines if they are not handled well. Image SEO is the practice of optimizing images so they load quickly, are understood by search engines and can appear in image search.

This guide covers the essentials, step by step. Image work is part of the on-page signals in our on-page SEO checklist.

Key Takeaways

  • Image SEO makes images load fast, be understood by search engines and be usable by everyone.
  • Use descriptive file names and honest alt text, compress files and choose suitable formats.
  • Resize images to the size they display and lazy load those below the fold.
  • Better images also improve page speed and accessibility.

Why Image SEO Matters

  • Faster pages. Large images are a common cause of slow loading.
  • Accessibility. Alt text helps people who use screen readers understand your images.
  • Search visibility. Well-optimized images can bring traffic from image search.
  • Better context. Images and their descriptions help search engines understand the page.

How to Optimize Images for SEO

  1. Choose the right image. Use original, relevant images that add value, not generic filler.
  2. Use descriptive file names. Name the file after what it shows, such as seo-audit-checklist.webp, not IMG_2045.jpg.
  3. Write useful alt text. Describe the image in a short, natural sentence, and include your keyword only when it genuinely fits.
  4. Compress your images. Reduce file size without visibly hurting quality.
  5. Use modern formats. Formats such as WebP are often smaller than JPEG or PNG at similar quality.
  6. Set the right dimensions. Do not upload a huge image to display it small. Serve sizes that suit the layout.
  7. Use lazy loading. Load images that are below the fold only when needed.
  8. Add captions where helpful. Captions are often read, so use them when they add context.

File Name and Alt Text Examples

WeakBetter
IMG_2045.jpgseo-audit-report-on-laptop.webp
Alt: imageAlt: Marketer reviewing an SEO audit report on a laptop
Alt: SEO SEO best SEOAlt: Local shop owner checking Google Business Profile on a phone
photo1.pngred-leather-office-chair-front-view.webp

Choosing Between Image Formats

FormatBest forNotes
JPEGPhotographsWidely supported, good compression
PNGGraphics needing transparencyLarger files for photos
WebPMost web imagesUsually smaller at similar quality
AVIFPhotos where support suits youVery small files, check compatibility
SVGLogos and simple iconsScales without losing quality

Responsive Images and Lazy Loading

  • Serve different image sizes for different screens
  • Set width and height so the layout does not jump
  • Lazy load images below the fold
  • Do not lazy load the main image at the top of the page
  • Use a CDN for large image libraries

Image Search and Image Sitemaps

Images can bring visitors from image search, especially for products, recipes, places and visual topics. Make sure images are crawlable, placed near relevant text and not blocked. An image sitemap can help for large image libraries, though standard sitemaps and good page markup are enough for most sites.

A Quick Image Optimization Workflow

  1. Choose a relevant, original image
  2. Name the file with a short, descriptive phrase
  3. Resize it to the largest size it will be displayed at
  4. Compress it and save it in a suitable modern format
  5. Upload it and add accurate alt text
  6. Set dimensions and lazy loading where appropriate
  7. Check the page on mobile to confirm it loads quickly

Image SEO Mistakes to Avoid

  • Uploading full-size photos straight from a camera or phone
  • Using the same alt text on every image
  • Stuffing keywords into alt text or file names
  • Putting important text only inside an image
  • Using stock images that add nothing for the reader
  • Lazy loading the main image at the top of the page

Why Images Matter Beyond SEO

Good images explain ideas faster than text, build trust and make pages easier to scan. When they are also light, labelled and accessible, they support speed, usability and visibility at once. Treat each image as part of the content, not decoration.

Are heavy images slowing your website down?

Get a free SEO audit and we will check your page speed, images and other on-page issues.

Alt Text: Good and Bad Examples

ExampleWhy
Weakimage1Says nothing about the image
Keyword stuffedSEO SEO services best SEO company cheap SEOUnnatural and unhelpful
GoodMarketer reviewing an SEO report on a laptopClear, natural and descriptive

Common Image SEO Mistakes

  • Uploading full-size camera photos
  • Leaving alt text empty on meaningful images
  • Putting important text only inside an image
  • Using the same alt text for every image
  • Ignoring mobile display

Fast, well-labelled images support the page experience covered in our guide to Google ranking factors. If you want an expert to handle this across your whole website, see our SEO services.

Frequently Asked Questions

What is image SEO?

Image SEO is optimizing images with good file names, alt text, compression and formats so they load quickly and are understood by search engines.

Does alt text help SEO?

Yes. Alt text helps search engines and screen readers understand an image, and it supports accessibility.

What is the best image format for SEO?

Modern formats such as WebP are often a good choice because they are small, but the best format depends on the image and your site.

How big should website images be?

Use dimensions that suit your layout and compress the file so it is as small as possible without visible quality loss.

Why are my images not showing in Google Images?

They may be blocked, not crawlable, loaded in a way search engines cannot see, or on pages that are not indexed. Check the page is indexed and the image is in normal HTML.

How big should an image file be?

As small as possible without visible quality loss. For typical content images this is often a few hundred kilobytes or less, depending on the design.

Should I add alt text to decorative images?

Purely decorative images can use empty alt text so screen readers skip them. Meaningful images should have a short, accurate description.

Want a faster, better-optimized website?

Our SEO team can fix image, speed and on-page issues across your site.

Need Help?