Images can bring visitors from Google Images and make a page more useful. They also slow pages down when they are handled badly. This guide follows Google’s documentation on image best practices and turns it into a short checklist for a WordPress site.
Quick facts
- Alt text: the most important metadata attribute for an image, according to Google
- File names: short and descriptive, not `image1.jpg`
- Formats Google Search supports: BMP, GIF, JPEG, PNG, WebP, SVG and AVIF
- Responsive images: use `srcset` or `<picture>`, and always include an `img` fallback with `src`
- Placement: put images near relevant text on a page that matches the subject
- Last checked: 5 November 2026 against Google Search Central
Alt text
Google says alt text is the most important metadata attribute for an image. It uses alt text, together with computer vision and the page content, to understand what the image shows. Write useful, information-rich descriptions that use keywords appropriately, and do not fill alt attributes with keywords. For a deeper look, see our guide to image alt text in WordPress.
File names
Use short, descriptive file names. Google says the file name gives light clues about the subject. Avoid generic names such as image1.jpg, pic.gif or 1.jpg.
Supported formats
Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF in the `src` attribute of an `img` element. Make sure the file extension matches the actual file type.
Responsive images
Use the `<picture>` element or the `srcset` attribute for responsive images. Because some browsers and crawlers do not understand them, Google recommends that you always specify a fallback URL using the `src` attribute.
Help Google find your images
- Embed images with standard HTML `img` elements; Google finds images in the src attribute, and Google does not index CSS images
- Use an image sitemap to expose images Google might not otherwise find; image URLs from other domains, such as a CDN, can be included
- Use the same URL for an image across pages so Google can cache it
Placement and context
Place images near relevant text, on pages that match their subject. Google extracts subject information from captions, image titles and the surrounding content.
Quality and speed
Sharp, high-quality images appeal to users more than blurry ones and look better as thumbnails. Images are often the largest part of a page’s weight, so optimise them and use responsive techniques. You can test speed with PageSpeed Insights.
A quick WordPress checklist
- Give each image a descriptive file name before you upload it
- Fill in the alt text in the media library
- Use images that are no larger than they need to be
- Put each image next to the text it illustrates
- Check that new images appear on the page in Search Console’s URL Inspection tool if they are important
If a page does not appear in Google at all, start with our guide to checking whether a page is indexed.
Frequently asked questions
Is alt text important for SEO?
Google calls it the most important metadata attribute for an image.
Which image formats does Google support?
BMP, GIF, JPEG, PNG, WebP, SVG and AVIF.
Does Google index CSS background images?
No. Google says it does not index CSS images, so use an `img` element for images you want indexed.
Do I need an image sitemap?
Not always, but Google recommends one to expose images it might not otherwise find.



