9 min read

How to Write Alt Text for SEO: The Complete 2026 Guide

Alt text is the single highest-leverage piece of metadata most websites get wrong. Get it right and you rank in Google Images, pass WCAG, and improve on-page SEO across every product, article, and landing page. Get it wrong and you waste the visual half of your site. Here is exactly how to write alt text that does both jobs at once.

What is alt text, really?

Alt text — short for alternative text — is the textual description of an image embedded in HTML via the alt attribute. Two audiences read it:

  1. Assistive technology users. Screen readers announce the alt text in place of the image, so blind and low-vision users understand what is on the page.
  2. Search engines. Google, Bing, and image-search bots use alt text as the primary signal for what an image actually contains, since they cannot reliably "see" it.

A third audience appears whenever an image fails to load: every visitor on a slow connection, a strict corporate proxy, or a broken CDN. Alt text becomes the fallback content. Treat it as a real piece of writing, not a checkbox.

Why alt text matters for SEO in 2026

Google has been explicit for years: alt text is one of the most important factors for image search ranking. In 2026, with multimodal AI search (Google's AI Overviews, Bing Copilot, Perplexity) consuming structured page signals, alt text matters even more, not less. Three concrete payoffs:

  • Image-search ranking. Google Images is one of the largest search engines in the world. Without alt text, your images cannot rank for any query.
  • On-page SEO. Alt text adds keyword context to a page in a way that does not feel spammy, because it serves a real accessibility purpose.
  • AI search citations. When Google's AI Overviews cite a source, having descriptive image metadata helps your page surface as the canonical answer for visual queries.

The 7 rules of SEO-friendly alt text

1. Describe the image, not the file

Bad: alt="IMG_4519.jpg". Good: alt="Navy blue men's slim-fit cotton blazer on a ghost mannequin". Search engines and screen readers both need a real description.

2. Lead with the most important detail

Screen readers do not always read the entire alt text — users skip with arrow keys. Google weights early words slightly more. Put the noun first, then qualifiers.

3. Keep it under ~125 characters

Most screen readers truncate around 125 characters. If the image needs more explanation, that explanation belongs in surrounding body text or a longdesc, not the alt.

4. Skip "image of" and "picture of"

Screen readers already announce that an element is an image. Adding "image of" doubles the announcement and wastes the user's time. Just describe the contents.

5. Include keywords only when they fit naturally

If the image genuinely shows a "minimalist Scandinavian oak dining table," say that. Do not stuff phrases that do not match the image — Google's image-content models can detect mismatches between alt text and pixels, and over-optimization is a known demotion signal.

6. Mark decorative images as empty

Background flourishes, dividers, and pure decoration should use alt="". Screen readers will skip them, and search engines won't index noise as content. Empty alt is correct, missing alt is not.

7. Match alt text to context

The same image of a red sneaker can have different alt text on a product page ("Nike Pegasus 40, men's size 11, university red") versus a blog post ("a red sneaker, used to illustrate brand identity"). Context determines what is important.

Examples: bad vs. good alt text

ImageBad alt textGood alt text
Product photo of a leather walletwalletBrown leather bifold wallet with six card slots, top-down view
Editorial photo of a chefimage of a chefChef plating a seared duck breast at a stainless-steel pass
Infographic on tax bracketstax info2026 US federal tax brackets for single filers, ranging from 10% to 37%
Decorative gradient bannerbanner (empty alt — decorative)

Common alt text mistakes that hurt your rankings

  • Keyword stuffing. "Buy cheap shoes online cheap shoes free shipping shoes sale" is a guaranteed manual-action risk and it sounds awful to a screen reader.
  • Reusing the same alt across many images. If a 200-image catalog all uses "product photo", none of them will rank.
  • Putting the alt in the file name only. File names help, but the alt attribute is what search engines and screen readers actually parse.
  • Ignoring images in CSS backgrounds. CSS backgrounds have no alt — if an image conveys meaning, render it as <img>.

How to do this at scale

Writing one alt text by hand takes 30–60 seconds. For a 5,000-image catalog, that's 40–80 hours of manual work — and the result is often inconsistent because the writer gets fatigued around image #200.

The faster path is a bulk alt text generator. A vision language model looks at each image and produces a concise, context-aware description in seconds. You guide it with target keywords, image type (product, lifestyle, infographic), brand voice, and output language, and the model handles the rest.

AltBulkText is a free online bulk alt text generator built for exactly this workflow. Upload a batch of images, set your context, and export the results as CSV, JSON, or plaintext to drop straight into Shopify, WordPress, Webflow, or your own CMS. The free plan covers 10 images so you can test the output quality before committing.

Frequently asked questions

Does alt text directly affect Google ranking?

Yes for image search, indirectly for web search. Google has confirmed alt text is one of the strongest signals for ranking in Google Images. For regular web search, alt text contributes to the overall topical relevance of the page.

Should every image have alt text?

Every meaningful image should. Purely decorative images (visual flourishes that add no information) should have empty alt (alt="") — but the attribute itself must be present, otherwise screen readers may announce the file path.

How long should alt text be?

Aim for under 125 characters. Long enough to be informative, short enough not to truncate in most screen readers and search snippets.

Does AI-generated alt text count as duplicate content?

No. Alt text is metadata, not body content. AI-generated alt text is treated identically to human-written alt text by Google, as long as it accurately describes the image.

Can I use the same alt text for similar images?

No. Even similar product photos differ in color, angle, or detail. Using identical alt text across many images is a missed ranking opportunity and can look like spam.

Get started

The single biggest SEO win for most sites is auditing every image and writing real alt text. Use the rules above, audit your top 100 highest-traffic pages first, and use a bulk alt text generator to handle the long tail. Done well, this is a compounding investment — every image you fix keeps ranking for years.

Generate alt text for your whole catalog

Try AltBulkText free — 10 images per account, no credit card required.

Start free