How do you write image alt text for SEO without stuffing keywords? Describe what is in the picture, in plain words, the way you would explain it to a friend on the phone. This post shows you how to do that in WordPress, how to name and compress your image files, and which mistakes to avoid. So, let’s start.
What is alt text, and why does it matter?
Alt text is a short written description attached to an image. It has two jobs. First, it helps people who use screen readers, because the reader speaks the alt text aloud. Second, it helps Google understand what the picture shows, which is useful for Google Images and for understanding the page around it.
Google’s image guidance says to write alt text that describes the image in context, and not to fill it with keywords. It gives a nice ladder of examples:
| Alt text | Quality |
|---|---|
| (missing) | Bad |
| alt=”puppy” | Better |
| alt=”Dalmatian puppy playing fetch” | Best |
How do you write good alt text?
- Describe the picture: who or what is in it and what is happening.
- Keep it short, one clear sentence. Many guides suggest staying under about 125 characters, but that is a rule of thumb, not a Google rule.
- Skip “image of” or “picture of”. Screen readers already announce that it is an image.
- Use your keyword only if it really describes the picture. Never repeat it on every image.
- If an image is purely decoration, leave the alt text empty on purpose so screen readers skip it.
How to add alt text in WordPress
- In the block editor, click the image. In the right sidebar, find the Alternative text box and type your description.
- Or open Media, click the image, and fill in Alternative Text there. This saves it with that file.
- To check it worked, open the post, view the page source, and search for alt=.
What should you name your image files?
Google’s guidance says to use short, descriptive file names. IMG00023.JPG tells nobody anything, while my-new-black-kitten.jpg does. Rename the file before you upload it, using lowercase words separated by hyphens.
Which image format and size should you use?
Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, so you are free to use WebP, which usually gives smaller files than JPEG. Make sure the file extension matches the real type.
Size matters because big images slow the page and can hurt your Largest Contentful Paint. We explain that in our post on [Core Web Vitals explained](/core-web-vitals-explained-beginners/). Google also tells you to use sharp, optimized images and to check your speed with PageSpeed Insights.
Two technical points that beginners miss:
- Use real image tags (WordPress does this for you). Google says it does not index CSS background images, so a picture added as a background in a page builder may never show up in Google Images.
- If you use responsive images, keep a normal src as a fallback.
What did we see on our own sites?
On therecipeworld.com, many images are AI-generated illustrations. We decided to keep them, label them clearly as illustrations, and give each one a proper alt text instead of leaving it blank. We also planned a batch job to convert images to smaller WebP files. Real photos from Sarada’s kitchen will replace the illustrations on the top posts over time, with captions that say they are real.
We have no proof yet that this changes rankings. It is what we think is honest and useful for readers.
What are the common mistakes?
- Leaving alt text blank on images that carry meaning.
- Stuffing keywords, such as “best recipe easy recipe quick recipe image”.
- Using the same alt text on every image of a post.
- Uploading a 4000 pixel photo to show it at 600 pixels wide.
- Putting important text only inside an image. For the image Google picks to represent a page, its guide suggests avoiding logos and images with text.
- Calling an AI picture a real photo. Say what it is.
Where are we less sure?
We cannot give you a number for how much traffic Google Images will send to a small blog, because we have no data on that for our sites. Our opinion: spend ten minutes on alt text and file names for each post, but do not expect it to rescue a post whose text is weak.
FAQ
Does alt text help SEO?
Google uses alt text to understand an image, and it makes your page more accessible. It is not a magic ranking switch.
How long should alt text be?
We found no Google limit in its image guide. Keep it as short as you can while still describing the picture, usually one sentence.
Should I add my focus keyword to every alt text?
No. Add it only where it truly describes the picture, and write the rest in natural words. Google’s guide says not to stuff keywords into alt text.
Quick checklist
- File renamed with descriptive words before upload.
- WebP or JPEG, resized to the width you show.
- Alt text describes the image in one sentence.
- Decorative images have empty alt text.
- Real images use img tags, not CSS backgrounds.
Next, make sure your page title is just as clear: see the [homepage title and meta description checklist](/homepage-title-meta-description-checklist/).
Sources
- Google Search Central: Image SEO best practices
- Google Search Central: SEO Starter Guide
- web.dev: Largest Contentful Paint



