Alt Text for SEO: How to Write It (With 25 Good vs Bad Examples)

Alt Text for SEO How to Write It Blog Cover Image

Run a crawl on almost any small business website and the alt text problems fall into the same three buckets: the attribute is missing, it’s a leftover file name like IMG_4392, or someone stuffed a keyword into it and repeated it on every image. None of these helps a visitor, and none helps Google understand the page.

This guide shows how to write alt text that does its job, with 25 before-and-after examples you can adapt, the special cases that trip people up (logos, charts, linked images), and a Screaming Frog workflow to audit a whole site in under an hour. It’s one part of our wider image SEO guide, which covers formats, compression and lazy loading.

Quick answer: Good alt text describes what the image shows, in the context of the page, in under roughly 125 characters. Skip “image of”, add a keyword only if it fits naturally, and use an empty alt=”” for purely decorative images.

What Is Alt Text?

Alt text (the alt attribute) is a short written description attached to an image in your HTML:

<img src=”red-leather-office-chair.webp” alt=”Red leather office chair with chrome base, side view” width=”800″ height=”600″>

It does three jobs. Screen readers read it aloud so blind and low-vision users know what the image shows. Browsers display it when the image fails to load. And search engines use it as a text signal about the image’s subject. The first job is the reason alt text exists; the SEO benefit is a side effect of doing the first job well.

Don’t confuse it with other image text. The file name is part of the URL, the caption is visible text under the image, and the title attribute is a tooltip that most screen readers ignore. Alt text is the only one of the four that carries the image’s meaning when the image can’t be seen.

Does Alt Text Help SEO?

Yes, but within limits. Google’s image guidelines say alt text helps its systems understand the subject of an image, and it feeds Google Images rankings. It will not rescue a thin page or outrank a better one on its own.

Two places where alt text matters more than most people assume:

  • Image links. When an image is wrapped in a link, Google treats the alt text roughly like anchor text for that link. A linked logo with alt=”logo” passes no useful context; alt=”ABP Tech Digital Marketing home”
  • Google Images traffic. For product, recipe, travel and portfolio sites, image search can be a real traffic source, and alt text plus surrounding page content is how Google decides which query an image fits.

How to Write Good Alt Text: 6 Rules

  1. Describe what is actually visible, specifically. “Dog” is a label. “Golden retriever catching a frisbee on a beach” is a description. A useful test: read your alt text to someone over the phone. If they could sketch roughly the right image, it’s specific enough.
  2. Write for the page, not just the picture. The same photo needs different alt text in different places. A laptop-on-desk photo in an article about remote work might be Home office desk with laptop and external monitor. On a product page for that monitor, it should be 27-inch 4K monitor on a standing desk beside a laptop. Context decides which details matter.
  3. Keep it under roughly 125 characters. There’s no official limit, but screen readers read the whole string, and long alt text becomes a chore to listen to. If an image needs more explanation (a chart, a diagram), put the detail in the page text and keep the alt short.
  4. Drop “image of”, “photo of” and “picture of”. Screen readers already announce “image” before reading the alt text. You’re making users hear it twice.
  5. Use the keyword only where it fits. Compare:
  • Forced: alt text for seo best alt text seo tips alt text guide
  • Natural: Screaming Frog Images tab filtered to Missing Alt Text

The second says what the screenshot shows and still carries the topic. Most images on a page won’t have an exact-match keyword, and that’s fine.

  1. Make every alt text unique. If six product photos all say blue jacket, nobody, human or crawler, can tell them apart. Add the angle, the detail or the variant.

25 Alt Text Examples: Good vs Bad

Use these as patterns, not templates to copy word for word.

Screenshots and blog images

#

ImageBad alt textGood alt text

Why it works

1

Search Console performance reportscreenshotSearch Console performance report filtered to queries containing “alt text”, showing 0 clicksStates the filter and the finding

2

Screaming Frog Images tabscreaming frog seo tool seo auditScreaming Frog Images tab filtered to Missing Alt Text with 38 URLs listedDescribes the screen, no stuffing

3

PageSpeed Insights resultpagespeedPageSpeed Insights report flagging a 2.1 MB hero image as the LCP elementCarries the point the screenshot makes

4

Compression before/aftercompressed imageSame product photo as a 1.4 MB JPEG and a 96 KB WebP, shown side by sideGives the comparison in numbers

5

HTML code screenshotcodeImage tag with an empty alt attribute on a decorative dividerSays what the code demonstrates

Product images (ecommerce)

#

ImageBad alt textGood alt text

Why it works

6

Electric guitar, frontguitarSunburst electric guitar with maple neck, front viewFinish, material and angle

7

Running shoe, sidebuy running shoes online cheapWomen’s trail running shoe in forest green, side profileDescribes it instead of pitching it

8

Lifestyle shotbottleSteel water bottle clipped to a hiking backpackShows the use case

9

Detail shotbag zipClose-up of brass zip on a leather toteDistinguishes it from the main photo

10

Colour variantmugCeramic mug in matte black, 350 mlVariant and size make each image unique

People and team photos

#

ImageBad alt textGood alt text

Why it works

11

Staff headshotteam memberDr. Ananya Rao, orthodontist at the Mohali clinicName and role

12

Group photoour teamFive-person support team at a shared desk during a client callSays who and what’s happening

13

Speaker photoeventFounder presenting local SEO tips at a Chandigarh meetupAdds the specific event

Charts and infographics

#

ImageBad alt textGood alt text

Why it works

14

Bar chartchartBar chart: WebP files were 28% smaller than JPEG across 20 test photosThe takeaway, not just the type

15

Infographicimage seo infographicImage SEO checklist infographic listing 11 steps, from format choice to CDNSummarises the contents

16

Line charttraffic graphLine chart of organic clicks rising from 120 to 410 per month over six monthsTrend and range

Logos

#

ImageBad alt textGood alt text

Why it works

17

Header logo linking to homelogoABP Tech Digital Marketing homeNames the brand and the link target

18

Client logo in a stripclient logo 3Acme Dental logoNames the client

Local business

#

ImageBad alt textGood alt text

Why it works

19

Storefrontdentist near meGround-floor entrance of a dental clinic in Mohali with blue signageReal description, location is natural

20

Service in progresscar battery replacement serviceTechnician replacing a car battery in a customer’s drivewayShows the action

21

Before photobeforeKitchen before renovation, with dated laminate cabinetsStates the starting condition

Decorative images and image links

#

ImageBad alt textGood alt text

Why it works

22

Wavy section dividerwave divider imagealt=”” (empty)Decorative, so screen readers skip it

23

Background texturetextureMove to CSS background-imageNo informational value

24

WhatsApp icon buttoniconChat with us on WhatsAppDescribes the action, not the icon

25

Download button graphicbuttonDownload the image SEO checklist (PDF)Names the destination

Special Cases

Decorative images. Use alt=””, an empty attribute, never a missing one. A missing attribute makes some screen readers read out the file name instead.

Logos. If the logo links to the homepage, the alt text should describe the link (Brand name home). If it’s not linked and the brand name appears in text nearby, an empty alt can be appropriate.

Charts and infographics. Give a short alt text with the main takeaway, then put the full data in a table or paragraph on the page. Crawlers and screen reader users both get the detail from real text.

Images containing text. Repeat the text in the alt attribute, but avoid this pattern when you can. Text in images isn’t selectable, translatable or reliably readable by crawlers.

Image links and buttons. Describe where the link goes or what it does. Treat it like anchor text.

Common Alt Text Mistakes

  • Missing alt attribute. The most common issue, and the easiest to fix.
  • File name as alt text. jpg or banner-final-v2 means nothing to anyone.
  • Keyword stuffing. A string of repeated phrases is a spam signal and a bad experience for screen reader users.
  • Identical alt text across images. Common on product galleries and sliders.
  • Starting with “image of”.
  • Writing a paragraph. If you need more than a sentence, the detail belongs in the page text.

How to Audit Alt Text on Your Site

For a small site, a manual check works. For anything over 50 pages, crawl it with Screaming Frog (the free version covers 500 URLs).

  1. Enter your domain and run the crawl. If you use responsive images, turn on Config > Spider > Crawl > Extract images from img srcset attribute
  2. Open the Images tab and use the filter dropdown. The ones that matter: Missing Alt Text (attribute present but empty), Missing Alt Attribute (no attribute at all), and Alt Text Over 100 Characters.
  3. Export the list with Bulk Export > Images > Images Missing Alt Text Inlinks. This shows which pages each image appears on.
  4. Prioritise in this order: pages already earning impressions in Search Console, product and service pages, then the blog. Pull the page list from the Performance report so you fix what Google is already showing.
  5. Separate the decorative images from the content images before writing anything. Empty alt on a divider is correct, not an error.
  6. Recrawl after the fixes and confirm the missing counts dropped.

How to Add Alt Text in WordPress, Elementor and Shopify

WordPress (Gutenberg). Click the image block, then fill Alt text (alternative text) in the right sidebar. For decorative images, leave it empty. To change it site-wide, edit it in Media > Library > Attachment details > Alternative Text.

Elementor. The Image widget pulls the alt text from the Media Library, so set it there first. Edit it per instance in the widget’s image settings only when the same file needs different alt text on different pages.

Shopify. Open the product, click the image in the media section, and choose Edit alt text. For theme images, edit them in the theme editor’s image picker.

FAQs

How long should alt text be? Keep it under about 125 characters. There’s no hard limit, but shorter, specific alt text is easier for screen readers and clearer for search engines.

Do I need alt text on every image? Every image that carries information needs it. Decorative images need an empty alt=”” so assistive tools skip them.

Should alt text include keywords? Only when the keyword is an accurate description of the image. Write for the person who can’t see it first, then check whether a keyword fits.

Is the title attribute the same as alt text? No. The title attribute shows as a tooltip on hover and is inconsistently read by screen readers. Alt text is what matters for accessibility and image understanding.

Does alt text help rank in Google Images? It’s one of the signals Google uses, along with the page’s text, the file name and the image’s quality. It works best combined with relevant surrounding content.

Final Checklist

Before publishing any page, scan every image against four questions: does it have an alt attribute, does the text describe what’s visible, does it fit the page context, and is it empty only where the image is decorative? Fix those four and you’ve covered nearly everything that matters. For the rest of the image optimization work, including formats, sizing and lazy loading, see the full image SEO guide. If you’d rather have someone audit your site, request a free review.

Leave a Reply

Your email address will not be published. Required fields are marked *