Every image on your website has a hidden piece of text attached to it, and most small business owners have never looked at it. That text is called alt text, short for alternative text, and it tells search engines and screen readers what the image shows. When an image cannot be seen, for whatever reason, the alt text stands in for it.
Alt text matters for two reasons. First, search engines cannot see images the way people do, so they rely on the alt text to understand what a picture is about. Second, people who use screen readers because they cannot see well rely on alt text to know what an image contains. Writing good alt text helps both groups, and it takes only a few seconds per image. This guide explains how to add alt text to your images so search engines understand them.
What alt text is and where it lives
Alt text is a short description of an image that is stored in the code of your website. Visitors do not usually see it, because it only appears if the image fails to load or if someone is using a screen reader. But search engines read it every time they visit your page, and they use it to understand what the image shows and how it relates to the page.
It is worth checking whether your images already have alt text. Many websites have none at all, because the person who uploaded the images left the field blank. Others have alt text that was filled in automatically with the file name, such as "IMG_2043.jpg", which tells nobody anything useful. A quick check of your most important pages will show you where the gaps are.
How to write alt text that actually helps
Good alt text describes what is in the image, briefly and plainly. Imagine you are describing the picture to someone over the phone. If the image shows a plumber fixing a tap in a kitchen, the alt text could be "Plumber repairing a kitchen tap". That is enough. There is no need to write a long paragraph, and there is no need to be clever.
Keep it short. Most good alt text is under 125 characters, which is about one short sentence. If the image needs more explanation, the words around it on the page can do that job. The alt text itself should focus on what the image shows, not on everything the page is about.
Include a keyword only when it fits naturally. If the image is on a page about wedding photography and shows a bride and groom, the phrase "wedding photography" might fit naturally into the description. But do not force keywords into every image. Alt text that reads like a list of keywords, such as "wedding photographer Manchester cheap wedding photography best photographer", is unhelpful to a screen reader user and looks like spam to a search engine.
Which images need alt text most
Start with the images that matter most to your business. Product photos are near the top of the list, because customers and search engines both need to know what a product looks like. If you sell handmade soaps, each product photo should have alt text that names the product, such as "Handmade lavender soap bar on a wooden board". That helps the image appear in image search results, which can bring visitors who are looking for exactly that product.
Photos of your work are next. A builder's photo of a finished kitchen, a photographer's portfolio image, or a hairdresser's photo of a finished haircut all deserve alt text that says what the photo shows. These images are often the reason a visitor gets in touch, so making them understandable to search engines is worth the effort.
Team photos and photos of your premises are worth doing too. "Shehryar Noor, web designer, at his desk" is more useful than a blank field, and it helps people using screen readers feel included in the page. Logo images usually need only the business name as alt text, since that is what the logo represents.
Images that act as links need alt text even more, because the alt text becomes the link text for screen readers. If a button is an image with no alt text, a screen reader user will have no idea where the link goes. Make sure these images describe where the link leads, such as "Visit our contact page" or "See our wedding photography prices". A website that is easy for everyone to use is part of good web design, and alt text is a simple piece of that.
Common mistakes to avoid
The most common mistake is leaving alt text blank. It is easy to do when you are uploading many images at once, but each blank field is a missed chance to help search engines and visitors understand your page. Make adding alt text part of your habit whenever you upload a new image, and it will take only a few extra seconds.
A third mistake is stuffing keywords into the alt text. This was once a trick people used to try to rank higher, but it no longer works and it makes the experience worse for people using screen readers. Write for a person first, and let the keyword appear only if it fits naturally into an honest description.
Finally, do not write "image of" or "picture of" at the start of every alt text. Screen readers already tell the user that it is an image, so those words are wasted. Start directly with what the image shows. Keep the habit simple: describe the image in a short sentence, in plain words, and move on. If you would like a broader check of how search engines read your site, a review of your SEO basics can show where small fixes like this will help.
Frequently asked questions
What is alt text?
Alt text is a short written description of an image on a website. It is stored in the code of the page and read by search engines and screen readers. It appears to visitors only if the image fails to load, but it helps search engines understand what the image shows.
How long should alt text be?
Most good alt text is under 125 characters, which is about one short sentence. Describe what the image shows in plain words. If the image needs more explanation, the text around it on the page can provide it.
Does alt text help my website rank on Google?
It can help, mainly through image search and by helping Google understand your pages better. Its bigger value is for accessibility: people who use screen readers rely on alt text to know what images contain. Both reasons are worth the small effort it takes.
Should every image have alt text?
Almost every image should, except purely decorative ones such as background patterns. Product photos, photos of your work, team photos and images that act as links should all have clear alt text. Decorative images can be left with empty alt text so screen readers skip them.
If your website has many images with missing or poor alt text, sorting it out is a straightforward job. Shehryar Noor is a web designer and developer since 2018, with 80+ websites built for small businesses, and can check your images and tidy up the details that help search engines. Get in touch through the contact page to talk about your website.