How to Optimize Images for SEO: A Practical Checklist

To optimize images for SEO, you need images that load fast, describe themselves clearly and fit the page. This checklist covers file names, alt text, size, format and loading.

  • Nov 10, 2026
  • 3 min read
  • Image Optimization
  • By Admin AllWebP
LargeFast
Quick Tip

Use our free Compress Image tool to do this in just a few clicks. It runs in your browser, so your files stay private.

Key takeaways

  • Use short descriptive file names and clear alt text.
  • Resize and compress images so pages load quickly.
  • Set width and height, and lazy-load images below the fold.
  • Make sure each image belongs on the page it appears on.

Why image optimization matters for SEO

Images affect three things search engines care about. They affect speed, because heavy images slow a page down. They affect understanding, because file names and alt text tell search engines what a picture shows. And they affect accessibility, because screen readers depend on alt text. Good image habits help all three.

Use descriptive file names

WeakBetter
IMG_4021.jpgred-running-shoes.jpg
image1.pngwordpress-media-library-upload.png
Screenshot 2026-11-10.pngcompress-image-tool-screenshot.png

Use lowercase words separated by hyphens, and keep names short and honest. Rename the file before you upload it.

Write useful alt text

Alt text should describe what the image shows, in plain words, the way you would describe it to someone who cannot see it. Include a keyword only when it fits naturally. For purely decorative images, use an empty alt so screen readers skip them.

WeakBetter
shoesRed running shoes on a wooden floor
image of a chart showing seo best seo tipsBar chart comparing page load time before and after image compression

Size and format

Resize each image to the size it is displayed at with Resize Image, then compress it with Compress Image. For photos on websites, JPG to WebP usually gives a smaller file. Read the best image format for websites for help choosing.

Set width and height

Give each image width and height attributes so the browser can reserve space before the picture loads. This stops the page from jumping around while it loads, which is better for visitors and for layout stability scores.

Lazy loading, with one exception

Lazy loading delays images until the visitor scrolls near them, which saves data. Use it for images further down the page, but do not lazy-load the main image at the top, because that delays the part visitors see first. WordPress adds lazy loading by default and tries to avoid it for the first image, but check your theme.

Responsive images

WordPress creates several sizes of each upload and lets the browser choose one that fits the screen. Starting with a well-sized image gives better results than relying on WordPress to shrink a huge original.

Context matters

A picture works best when it fits the text around it. Place images near the paragraph they illustrate, add a caption when it helps, and do not add pictures that say nothing. A relevant image helps readers and gives search engines context.

Sitemaps and plugins

Many SEO plugins, including Yoast SEO, can include post images in the XML sitemap. Check your plugin settings, then submit the sitemap in Google Search Console.

Quick checklist

  • Descriptive file name in lowercase with hyphens.
  • Alt text that describes the image.
  • Resized to the displayed size, then compressed.
  • WebP or JPG for photos, PNG for exact pixels.
  • Width and height set.
  • Lazy loading for images below the fold.

People also find your pages through image search. Clear file names, helpful alt text and a relevant surrounding paragraph make it easier for search engines to understand what a picture shows and which page it belongs to.

Measure the effect

Check your page speed before and after optimizing images, and watch Google Search Console for changes in impressions and clicks. Images are only one part of SEO, so judge the result over weeks, not days.

Common mistakes

  • Uploading camera originals at several thousand pixels wide.
  • Leaving default names such as IMG_1234.
  • Writing alt text that only repeats a keyword.
  • Lazy-loading the main image at the top of the page.

Frequently Asked Questions

Does alt text help SEO?

It helps search engines and screen readers understand an image. It is not a ranking trick, so write it for people first.

Do file names matter for SEO?

Descriptive names give extra context and keep your library tidy, so they are a good habit.

Is WebP better for SEO?

Not directly. It helps indirectly by making images smaller and pages faster.

How big should my images be?

As big as they are displayed, or about twice that for sharp screens, and no larger.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top