How to Optimize Images for SEO: 8 Techniques to Improve Rankings

by | Jul 23, 2026 | 0 comments

If your pages load slowly or your visuals never appear in Google Images, you are leaving traffic on the table. The good news: image SEO is one of the few areas where non-technical marketers can move the needle without opening a single line of code. In this guide, we walk through 8 practical techniques you can apply today using your CMS, a free compression tool, and a bit of common sense.

What is image SEO (and why it still matters in 2026)

Image SEO is the process of optimizing the visuals on your website so they load fast, are understood by search engines, and rank in both web results and Google Images. With AI Overviews and visual search now driving a significant share of discovery, well-optimized images are no longer optional. They influence three things at once:

  • Rankings in Google Images and Google Lens results
  • Core Web Vitals, especially Largest Contentful Paint (LCP)
  • Accessibility, which Google increasingly rewards

Unlike most SEO topics, image optimization gives you fast, measurable wins. Let’s get into the 8 techniques.

website images optimization

1. Use descriptive, keyword-friendly file names

Before you even upload an image, rename it. Search engines read file names as a ranking signal, and a name like IMG_4823.jpg tells Google absolutely nothing.

Do this instead:

  • Use lowercase letters only
  • Separate words with hyphens, not underscores
  • Describe what the image actually shows
  • Include your target keyword when it’s natural

Examples:

Bad file name Good file name
DSC_0021.png image-seo-checklist-2026.png
Screenshot 2026-06-22.jpg google-search-console-image-report.jpg
final_v2_FINAL.webp webp-compression-comparison.webp

2. Write alt text that describes, not stuffs

Alt text serves two audiences: screen readers and search engines. The trick is to describe the image as if you were explaining it to someone who can’t see it.

Rules for great alt text

  1. Keep it under 125 characters
  2. Be specific (“golden retriever puppy chewing a blue rope toy” beats “dog”)
  3. Include your keyword only if it fits naturally
  4. Skip phrases like “image of” or “picture of”
  5. Leave decorative images with empty alt (alt="")

Most CMS platforms (WordPress, Webflow, Shopify) let you edit alt text directly in the media library. No developer needed.

website images optimization

3. Switch to modern formats: WebP and AVIF

JPEG and PNG had a great run, but in 2026 they are no longer the right default. WebP typically delivers 25 to 35% smaller file sizes than JPEG at the same quality, and AVIF goes even further.

Format Best for Average size vs JPEG
JPEG Legacy support Baseline
PNG Transparency, logos Often larger
WebP Most use cases 25-35% smaller
AVIF Photography, hero images 40-50% smaller

How to convert without code: tools like Squoosh, ShortPixel, or Cloudinary can batch convert your existing library. Most WordPress hosts now serve WebP automatically when you install a plugin like ShortPixel or Smush.

4. Compress every image before uploading

Even in WebP, an unoptimized 4MB hero image will tank your LCP. Aim for these targets:

  • Hero images: under 200 KB
  • In-content images: under 100 KB
  • Thumbnails: under 30 KB

Free tools that get the job done: TinyPNG, Squoosh, Compressor.io. For bulk libraries, ShortPixel and Imagify run in the background and compress automatically.

5. Resize images to their actual display size

Uploading a 4000px wide photo to display in a 600px column is one of the most common (and wasteful) mistakes. Check the maximum display width in your theme, then resize before uploading.

Modern CMSs can also serve responsive images using srcset automatically. WordPress does this out of the box. Make sure your theme is up to date so it takes advantage of it.

website images optimization

6. Enable lazy loading

Lazy loading tells the browser to load images only when they’re about to enter the viewport. The result: faster initial page loads and better Core Web Vitals.

Good news: native lazy loading is now standard. WordPress, Shopify, and most modern CMSs apply it automatically. To verify, right-click an image, choose “Inspect”, and look for loading="lazy".

Important exception: never lazy load your above-the-fold hero image. It should load eagerly to protect your LCP score.

7. Add context with captions, surrounding text, and structured data

Google reads the area around an image to understand its topic. To strengthen relevance:

  • Place images near related text, not in random spots
  • Use captions when they add value (people read them more than body copy)
  • Add an ImageObject schema or use Product, Recipe, or Article schema where appropriate
  • Make sure the image is referenced in your XML sitemap (most SEO plugins do this automatically)

8. Use a CDN and check your results

A Content Delivery Network serves your images from the server closest to your visitor, slashing load times. Cloudflare offers a generous free tier, and Bunny CDN or KeyCDN are affordable options.

How to measure your image SEO progress

  1. Run a PageSpeed Insights test before and after
  2. Check the Performance report in Google Search Console, filtered by “Image” search type
  3. Monitor impressions and clicks from Google Images monthly
  4. Use a free tool like Screaming Frog (500 URL free version) to spot missing alt text in bulk
website images optimization

Quick image SEO checklist

Task Tool Time needed
Rename files Your file explorer 1 min per image
Write alt text CMS media library 30 sec per image
Convert to WebP Squoosh / ShortPixel Bulk: minutes
Compress TinyPNG / Imagify Bulk: minutes
Resize Squoosh or your CMS 1 min per image
Lazy load CMS default 0 (verify only)
CDN Cloudflare free plan 30 min setup

Final thoughts

Image SEO is one of the highest-leverage tasks a marketer can own in 2026. You don’t need a developer, you don’t need a big budget, and the impact on speed, accessibility, and image search visibility is real. Start with the checklist above, pick three actions for this week, and watch your Search Console image impressions climb.

FAQ

How long does it take to see results from image SEO?

Speed improvements appear immediately. Ranking gains in Google Images usually show up within 2 to 8 weeks after Google recrawls your pages.

Is WebP supported by all browsers in 2026?

Yes. WebP is supported by every major browser, including Safari. AVIF support is also nearly universal now.

Do I need a plugin to do image SEO on WordPress?

Not strictly, but a plugin like ShortPixel, Smush, or Imagify saves hours by automating compression, WebP conversion, and resizing.

Should I add my target keyword to every alt text?

No. Only when it genuinely describes the image. Keyword stuffing in alt text can hurt accessibility and trigger spam signals.

What’s more important: image size or image format?

Both matter, but file size has the bigger impact on Core Web Vitals. A compressed JPEG can outperform a bloated WebP. Optimize both.

Search

Recent Posts

Subscribe now