Image SEO for Small Sites: Alt Text, File Names and Sizes

This guide shows you how to name, describe and size the images on your website so search engines and AI tools can understand them, and so your pages still load quickly. It is written for small business owners who upload their own photos to WordPress, Squarespace, Wix or Shopify and have never been told what goes in the alt text box.

You won't need any code for most of it. You can fix one page in about twenty minutes, then repeat the habit every time you upload.

Why do images matter for SEO at all?

Images matter because search engines and AI tools can't see a photo the way a person does, so they rely on the file name, the alt text and the words around the image to work out what it shows.

If you get those right, your images can show up in Google Images and image results, your pages make more sense to crawlers, and visitors using screen readers get the same information as everyone else. If images are too heavy, they slow the page down, and a slow page loses visitors before they read a word.

Google sets out how it handles images in its Search Central guide, Google Images SEO best practices. It's worth a read once you've made the basic fixes below.

How should you name image files?

Name each image file with a few plain words describing what it shows, separated by hyphens, before you upload it.

A camera or phone gives you something like IMG_4821.jpg. That tells nobody anything. Rename it on your computer first, because some website builders keep the original name in the web address of the image.

Use lower case, hyphens rather than spaces or underscores, and keep it short. Describe the picture rather than stuffing in every keyword you'd like to rank for.

What should you write in alt text?

Alt text should describe what the image shows, in one short sentence, as if you were describing it to someone over the phone.

Alt text was made for people who can't see the image, such as screen reader users or anyone whose images fail to load. Search engines read it as well, and so do the text-based crawlers that AI search tools use. Nobody outside those companies knows exactly how much weight each tool gives alt text, so write it for people first. That is also what the search guidelines ask you to do.

  1. Say what is in the picture: "Newly fitted grey kitchen worktop with a white butler sink".
  2. Add context only where it's true and useful: "…in a semi-detached house in Leeds".
  3. Keep it short. A sentence is usually enough.
  4. Skip "image of" or "picture of". Screen readers already announce that it's an image.
  5. If an image is purely decorative, such as a divider line or a background pattern, leave the alt text empty so screen readers skip it.

In the HTML, alt text is just an attribute on the image tag. Most website builders give you a box for it in the media library, so you never need to touch the code:

<img src="/images/grey-kitchen-worktop-butler-sink.webp" alt="Newly fitted grey kitchen worktop with a white butler sink" width="1200" height="800">

What size should your images be?

Make each image roughly as wide as the space it fills on the page, and save it in a compressed format so the file stays small.

Phone photos are often several times larger than any website needs. Uploading them as they are is one of the most common reasons a small site feels slow.

To see whether images are slowing you down, run the page through PageSpeed Insights and look for suggestions about image sizes and formats. Our guide to page speed for small sites covers what to do with the results.

Does the text around an image matter?

Yes. The heading, caption and paragraph near an image help search engines understand it, often as much as the alt text does.

Put images next to the words they illustrate. A photo of a finished loft conversion belongs beside the paragraph about loft conversions, not in a random gallery with no text. A short caption under a photo is also read by visitors, which alt text usually isn't.

Use your own photos where you can. Real pictures of your work, your premises and your team show experience in a way stock photos can't, and they give you something original to describe. If you sell products, the same rule applies, and our product page SEO fixes go into product photos in more detail. Good product photos also help people find you through a camera search, which our guide to Google Lens SEO covers.

How do you fix the images you already have?

Start with your most important pages and work through their images one by one, rather than trying to fix the whole site in one go.

  1. List your five most visited pages. Search Console or GA4 will show you which ones they are.
  2. Open each page in your website editor and click each image.
  3. Add or rewrite the alt text using the rules above.
  4. If an image is huge, download it, resize and compress it, rename it properly, then upload it again and swap it in.
  5. Delete the old oversized file from your media library if nothing else uses it.
  6. Run the page through PageSpeed Insights again to check it has improved.

If you're doing a wider tidy-up, our technical SEO checklist for small sites puts images alongside the other checks worth doing.

Common mistakes

Frequently asked questions

Do AI tools like ChatGPT read alt text?

The crawlers behind AI search tools mostly read the text of a page, and alt text is part of that text. Nobody outside those companies can say exactly how they use it, so treat good alt text as useful but not a guarantee of being cited.

Should I rename images that are already on my site?

Usually only when you're replacing an image anyway, for example to make it smaller. Renaming a live file can break links to it, so fixing alt text first is the quicker win.

How long should alt text be?

One short sentence is usually right. If you need more words than that to describe the image, the detail probably belongs in a caption or the main text.

Does every image need alt text?

Every meaningful image does. Purely decorative images should have empty alt text so screen readers skip them.

This week, pick your homepage and your best-selling service or product page. Rewrite the alt text on every image on those two pages, and resize anything that PageSpeed Insights flags as too large. After that, rename and resize every new photo before it goes on the site, so the problem doesn't come back.

Next step: learn this with others

Last reviewed 20 November 2026. Back to the blog.