// SEO plans from €35/hour or €395/month// from €35/hr · €395/mo Free SEO checker[email protected]+31 6 4555 9353
Free SEO audit
images

Image SEO: How to Optimise Images for Google Search

Images help readers understand a page, and they can bring visitors from image search. Google needs to find, understand and load them. This guide covers alt text, file names, formats, speed and placement, with a step-by-step method for WordPress.

  • Alt text examples
  • Supported formats
  • Speed tips
  • Based on Google’s docs
one image, done right5 checks
CheckGood example
File namered-running-shoes.webp
Alt textRed running shoes on a wooden floor
FormatWebP, AVIF, JPEG or PNG
SizeCompressed, not oversized
PlacementNext to the text it illustrates
why it matters

What image SEO is and why it matters

Image SEO means making your images easy for Google to find and understand, and quick for visitors to load. It has three jobs: help your page rank for its topic, make your site accessible to people who use screen readers, and make your images eligible to appear in Google Images.

Google says it uses the content around an image, including captions and image titles, to understand what the image is about. It also says images are often the biggest part of page weight, so optimising them helps speed.

Image SEO is rarely the main reason a page ranks. It supports the page, so do it alongside your on-page SEO checklist.

what to get right
  • Use real image elements Google can index
  • Describe the image in alt text
  • Name files with short words
  • Keep files light
  • Place images near related text
markup

How Google finds your images

Use a real image element

<img src=“/uploads/red-running-shoes.webp” alt=“Red running shoes on a wooden floor” />

Google indexes standard <img> tags with a src attribute. It does not index CSS background images.

Responsive images need a fallback

<img src=“shoes-800.webp” srcset=”shoes-400.webp 400w, shoes-800.webp 800w” alt=”Red running shoes” />

If you use srcset or <picture>, always include an <img> with a src fallback.

alt text

How to write alt text

Google calls alt text the most important image metadata. It describes the image for people who cannot see it and gives Google context.

ImageWeak alt textBetter alt text
Product photoshoesRed running shoes, side view
ChartchartLine chart showing organic visits rising over six months
Stuffedcheap shoes buy shoes best shoes onlinePair of red running shoes on a wooden floor
Decorativedecorative swirl imageEmpty alt text (alt=””) so screen readers skip it

Rules: describe what is in the image, keep it useful and in context, and do not stuff keywords. If an image is also a link, the alt text works as the link’s anchor text. Empty alt for purely decorative images is an accessibility convention rather than a Google ranking rule.

files

File names, formats and speed

file names

Short and descriptive

Use red-running-shoes.webp rather than IMG_4021.jpg. Google recommends short, descriptive names.

formats

Supported types

Google supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF. Keep the file extension matching the real file type.

speed

Keep files light

Compress images and test with PageSpeed Insights. Large images slow pages. See Core Web Vitals for WordPress.

Which format to pick for each image is a practical choice. As a general rule of thumb, photos suit JPEG, WebP or AVIF, simple graphics suit PNG, WebP or SVG. This is not a Google rule.

step by step

How to optimise an image before and after upload

1
Before upload

Pick a relevant image

Choose a sharp image that adds meaning to the page. Google says sharp, high-quality images appeal more to users and look better in search thumbnails.

2
Before upload

Resize and compress

Resize to the largest size your layout needs, then compress. Uploading a very large photo and letting the browser shrink it wastes bandwidth.

3
Before upload

Rename the file

Use lowercase words separated by hyphens, such as red-running-shoes.webp.

4
In WordPress

Upload to the Media Library

Go to Media, Add New. After upload, click the image to open its details.

5
In WordPress

Fill in Alt Text and Caption

Write alt text that describes the image. Add a caption when it helps readers, because Google uses captions as context.

Alt TextCaptionTitle
6
In the post

Place it near related text

Put the image close to the paragraph it supports, on a page about that topic.

7
Last

Check it loads

View the page on mobile, run PageSpeed Insights, and use URL Inspection in Search Console to see the rendered page. See the Search Console setup guide.

more

Other things Google mentions

Image sitemaps

Help Google find images it might miss. You can list images hosted on another domain, such as a CDN, and Google suggests verifying that domain in Search Console. See robots.txt and sitemaps.

Preferred image for a page

You can signal the main image with og:image or structured data. Avoid logos, images dominated by text, and extreme aspect ratios.

Same URL everywhere

Use the same image URL when you reuse an image across pages, so Google can cache it.

Data URIs

Google says images can be embedded as data URIs, but they can noticeably increase page size, so use them sparingly.

mistakes

Mistakes to avoid

mistake 01

Text baked into images

Google cannot rely on text in a picture the way it reads page text.

Put important words in real HTML text.
mistake 02

CSS background images for content

Google does not index them.

Use img elements for meaningful images.
mistake 03

Missing or stuffed alt text

Both lose the benefit.

Write one clear, natural description.
mistake 04

Huge unoptimised files

They slow the page.

Resize and compress before upload.
mistake 05

Generic file names

Names like image1.jpg add no context.

Rename before uploading.
faq

Image SEO questions

Is alt text a ranking factor?

Google calls it the most important image metadata attribute and uses it to understand images. Google does not state a precise ranking weight, so write it for users first.

How long should alt text be?

Google gives no length. Keep it as short as it can be while still describing the image usefully.

Which image format is best for SEO?

Google supports several formats and does not name one as best. Choose the format that keeps quality good at a small file size.

Do I need alt text on every image?

Add descriptive alt text to every meaningful image. Purely decorative images can have empty alt text.

Do image file names matter?

Google recommends short, descriptive names over generic ones, so it is an easy habit to adopt.

sources

Format choice by image type and decorative-image alt text are general practice, not Google rules. Examples use fictional files.

Scroll to Top