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.
- Good:
bathroom-tiling-leeds-terrace-house.jpg - Good:
balayage-before-and-after.webp - Weak:
photo1.jpg,final-FINAL-v2.png - Too much:
plumber-leeds-best-plumber-cheap-plumber-leeds.jpg
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.
- Say what is in the picture: "Newly fitted grey kitchen worktop with a white butler sink".
- Add context only where it's true and useful: "…in a semi-detached house in Leeds".
- Keep it short. A sentence is usually enough.
- Skip "image of" or "picture of". Screen readers already announce that it's an image.
- 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.
- Resize first. A full-width banner might need to be around 1,600 pixels wide. A photo inside a blog post column rarely needs more than about 1,200. Thumbnails need much less.
- Pick a modern format. WebP is widely supported and is usually much smaller than JPEG at similar quality. Keep JPEG for photos if your platform doesn't accept WebP, and PNG for logos or graphics with sharp edges or transparency.
- Compress. Free tools and most image editors have an "export for web" or quality setting. Lower it until you can just see a difference, then nudge it back up.
- Set width and height. Telling the browser the image's dimensions stops the page jumping about as it loads. Most builders do this for you.
- Lazy-load images further down the page. Many platforms add
loading="lazy"automatically. Don't lazy-load the main image at the top of the page.
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.
- List your five most visited pages. Search Console or GA4 will show you which ones they are.
- Open each page in your website editor and click each image.
- Add or rewrite the alt text using the rules above.
- If an image is huge, download it, resize and compress it, rename it properly, then upload it again and swap it in.
- Delete the old oversized file from your media library if nothing else uses it.
- 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
- Keyword stuffing alt text. A list of keywords helps nobody and can look like spam. Describe the image.
- Same alt text on every image. Ten photos all labelled "plumber Leeds" tell a search engine nothing new. Each image needs its own description.
- Putting important words only inside images. Prices, opening hours or offers shown only in a graphic are hard for crawlers and AI tools to read. Put them in normal text as well.
- Uploading straight from the phone. Full-size photos slow the page for every visitor, especially on mobile data.
- Lazy-loading the top image. It delays the first thing people see. Load the main image normally.
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.