← All use cases

How to write alt text for your website images with AI

Give every image on your site a short, useful description so blind and low-vision visitors understand it, and search engines do too.

Steps

  1. Upload a batch of product or blog images and say what page each one sits on.

    Tool: Claude

    Try this prompt:
    Write alt text for each image. Keep each under 125 characters, describe what matters for this page, skip 'image of', and say 'decorative' if an image adds nothing.
  2. For charts or screenshots, ask for the one fact a reader should take away instead of a description of every element.

    Tool: Gemini

    Try this prompt:
    This chart is on a page about [topic]. Write alt text that states the main takeaway in one sentence, plus a longer description I can put in the page text.
  3. Read each line out loud and fix anything vague or wrong before pasting it into your site.

    Tool: ChatGPT

    Try this prompt:
    Check these alt texts for vague words, repeated phrasing and anything that guesses at details not visible in the image. Suggest tighter versions.

Tools used

Learn how

New to AI tools? Start with our beginner guides.

Questions

Should alt text include keywords?

Only when they describe the image naturally. Stuffing keywords makes it worse for screen reader users.

Can AI identify people in photos?

Don't rely on it. Add names yourself when they matter, and check the description is accurate.

More things AI can help with

Share: X · LinkedIn · Reddit · Hacker News · Copy link

📬 Get the weekly top agents & tools

Newsletter only. Unsubscribe any time. Stored in Cloudflare. Privacy