SEO alt text in short
Alt text is a short description of an image in the alt attribute of the HTML img tag. Screen readers read it aloud, search engines use it to understand what the image shows, and browsers display it when the image fails to load. Good SEO alt text describes what the image means on this page, in plain words, without a list of keywords.
- Describe the purpose of the image, not every detail
- Keep it short: usually one sentence or phrase
- Skip "image of" and "picture of"
- Decorative images get an empty alt attribute (alt="")
1. What is alt text?
Alt text (short for alternative text, often called an alt tag or alt attribute) is the text inside the alt attribute of an img element. It stands in for the image for people who cannot see it, including users of screen readers, search engine crawlers that process image content, and visitors whose browser didn't load the image. For SEO, accurate alt text helps search engines understand images, especially product images on e-commerce websites. It can also provide useful context when discussing images with AI tools such as ChatGPT. Technically, alt text is an attribute value, not a tag, although the terms are often used interchangeably in everyday SEO language.
For the basics, read What alt text is?. This guide focuses on writing alt text that supports SEO and accessibility, whether you are describing product images, managing images at scale through an API, or preparing image content for AI-powered workflows.
<img src="running-shoe-navy.jpg" alt="Navy men's running shoe with white sole, side view">
<!-- Decorative image: empty alt, screen readers skip it -->
<img src="divider.svg" alt="">
<!-- Image used as a link: describe the destination -->
<a href="/cart/"><img src="icon-cart.svg" alt="Open shopping cart"></a>
2. Alt text, title and caption: what is the difference?
| Alt text | Title attribute | Caption | |
|---|---|---|---|
| Where it lives | alt attribute of the img tag | title attribute | visible text below the image |
| Who sees it | screen readers, search engines, users when the image fails | some browsers on mouse hover | all visitors |
| Required | yes, on every img (empty for decorative images) | no | no |
| SEO role | main text signal for the image | minor | context for the image and the page |
3. Does alt text help SEO?
Yes, alt text helps SEO, mainly in image search and for images used as links. Google uses the alt text together with the surrounding text, the page title and the file name to understand what an image shows. When an image is a link, its alt text works much like anchor text. Google explains this in its image SEO documentation.
What alt text does not do: it will not turn a weak page into a strong one, and stuffing it with keywords tends to hurt. Keyword lists are useless for screen reader users and look like spam to search engines. The best SEO alt text is the one that describes the image accurately and fits the topic of the page.
4. SEO alt text best practices: 8 rules
5. Good and bad alt text examples
Product image in an online store
Bad: alt="IMG_4823.jpg"
Bad: alt="shoe shoes running shoe buy cheap men"
Good: alt="Navy men's running shoe with white sole, side view"
Chart in a report
Bad: alt="chart"
Good: alt="Bar chart of revenue per quarter in 2025, with Q4 the strongest" (exact figures in a table next to the chart)
Logo linking to the homepage
Bad: alt="logo"
Good: alt="Example Inc. homepage"
More examples by industry and image type: alt text examples.
6. How long should alt text be?
There is no hard limit. One sentence or phrase works best; many guidelines suggest around 125 characters as a rule of thumb, because longer text becomes tiring to listen to. Put the most important information first.
If an image needs more explanation, such as a chart or infographic, put the detailed description in the text next to the image or in a table, and keep the alt text as a short summary.
Read your alt text out loud. If it sounds like a natural sentence that could replace the image, it works.
7. Image alt text best practices by image type
| Image type | Example | Right alt text |
|---|---|---|
| Informative | product photo, team photo, screenshot | short description of the content |
| Functional | logo as a link, icon button | the destination or action ("Open shopping cart") |
| Text in image | promo banner | the text shown in the image |
| Complex | chart, infographic, map | short summary; details in the text or a table |
| Decorative | divider, background pattern | empty: alt="" |
An empty alt is not the same as a missing alt: without the attribute, some screen readers read out the file name. The W3C provides a helpful alt decision tree, and WCAG covers alt text under Success Criterion 1.1.1 Non-text Content.
8. How to add alt text in WordPress, WooCommerce, Shopify and Shopware
- 1. Go to Media, Library and click the image.
- 2. Enter the text in the "Alternative Text" field.
- 3. Changes save automatically and apply wherever the image is inserted from now on. In WooCommerce, product images use the same media library.
- 1. In the admin, open Products and select the product.
- 2. Click the image in the Media section.
- 3. Choose "Add alt text", enter it and save.
- 1. In the administration, open Content, Media.
- 2. Select the image and open its details.
- 3. Enter the alt text and save.
For large catalogs, plugins can write alt text on upload and for existing images, for example for WordPress, WooCommerce, Shopify and Shopware.
9. How to find missing alt text
To check a single image, right click it in your browser, choose Inspect and look for alt="..." in the highlighted img tag. For a whole site that takes too long: the free alt text checker scans up to 25 pages and shows where alt text is missing.
10. Writing alt text for hundreds of images
For an online store with hundreds or thousands of images, writing every alt text by hand is rarely realistic. AI tools recognize what an image shows and suggest an alt text; adding the product name as context makes the suggestion more precise. Try single images in the free alt text generator and process whole libraries with the bulk alt text generator.
Review AI suggestions for important images such as charts or images with legal or medical information. The AI sees the image but does not always know its purpose on your page.
Generate alt text for your images
Upload an image and get an alt text suggestion. A free account includes 50 images per month.
Keep reading
Conclusion
SEO alt text works best when it simply describes what an image means on the page. It helps screen reader users, gives search engines context and fills in when an image does not load. Decorative images get an empty alt attribute; every other image gets an accurate description instead of a keyword list.
11. Frequently asked questions about SEO alt text
What is SEO alt text?
SEO alt text is alt text written so that it describes the image accurately and fits the topic of the page. That makes the image understandable for screen readers and helps search engines match it to relevant searches, especially in image search.
Does alt text help SEO?
Yes. Google uses alt text together with the surrounding content to understand images, which matters most in image search and for linked images. It works best when it describes the image accurately; stuffing it with keywords tends to hurt.
How long should alt text be for SEO?
Usually one sentence or phrase. Around 125 characters is a common rule of thumb. Longer explanations, for example for charts, belong in the text next to the image.
Should I put keywords in alt text?
Only when they describe the image. A product name that people search for is a good fit; a list of search terms is keyword stuffing and makes the alt text useless for screen reader users.
Do all images need alt text?
Every image needs an alt attribute. Informative and functional images get a description; purely decorative images get an empty alt attribute (alt="") so screen readers skip them.
What is the difference between alt text and a title attribute?
Alt text replaces the image for screen readers and search engines. The title attribute is optional extra text that some browsers show on hover; it does not replace alt text.
Can I generate alt text automatically?
Yes. AI tools recognize the image content and suggest alt text, also for whole media libraries. For important images, a quick review of the suggestion is worth it.