Alt Text Generator

AI Alt Text Generator

Add images and AI describes what is in them: a short sentence for the alt attribute and a longer, detailed description. Process many images at once, edit the text to fit your page, mark decorative images, and copy the result as ready-to-use <img> tags. Your images are processed in your browser and never uploaded.

The first time, the AI model (about 215 MB) is downloaded from Hugging Face and then cached by your browser. We recommend Wi-Fi rather than mobile data. Your images are never sent anywhere.

What to generate

Tips for writing good alt text

  • Describe what the image means on this page, in one or two sentences (roughly up to 125 characters).
  • Do not start with “Image of” or “Photo of”. Screen readers already announce that it is an image.
  • For purely decorative images (dividers, background patterns), use an empty alt: alt="". Do not leave the alt attribute out.
  • For images used as links or buttons, describe where they go or what they do (for example, “Contact form”).
  • If the image contains text (banners, logos), include that text.
  • For charts and diagrams, give the key point and explain the details in the body text or a figcaption.
  • Do not stuff keywords for SEO. Natural, accurate alt text works best for both users and search engines.
  • AI text is only a draft. Add what AI cannot know, such as names of people, products and places.
  • Images are processed only in your browser. They are never uploaded or stored. Only the AI model itself is downloaded from Hugging Face.
  • AI descriptions can be wrong or miss important details (people's names, products, text in the image, context). Always check and edit them before use.
  • Processing takes a few seconds to tens of seconds per image depending on your device. A recent browser with WebGPU is fastest.
  • Image description model: Florence-2 base (Microsoft, fine-tuned version; MIT) / Transformers.js (Apache-2.0) / ONNX Runtime Web (MIT).

About this tool

A free tool that uses AI to look at your images and write a short description for the alt attribute plus a longer, detailed description. Process many images at once, edit the text to fit your page, and copy everything as ready-to-use <img alt="..."> tags or a TSV list. It helps with SEO, web accessibility and writing image captions. The AI model (Florence-2) runs in your browser, so your images are never uploaded.

How to use

  1. Under “What to generate”, choose “Short description (for alt)”, “Detailed description” or both.
  2. Drop images or click the box to choose them. You can add several at once.
  3. Click “Generate descriptions”. The first time, the AI model (about 215 MB) is downloaded, so Wi-Fi is recommended.
  4. Edit the “Alt text (short description)” to fit your page, and tick “Decorative image (empty alt)” for purely decorative images.
  5. Use “Copy alt” or “Copy <img>”, or copy everything with “Copy all <img> tags” or “Copy list (TSV)”.

Useful for

  • Adding alt text to website or blog images without writing each one from scratch
  • Reviewing a site for web accessibility and screen reader support
  • Improving image descriptions to be found in image search
  • Writing captions for online store product photos or social media posts

FAQ

What is alt text?

Alt text is an HTML attribute that describes an image in words. Screen readers read it aloud, browsers show it when the image cannot load, and search engines use it to understand the image.

Does alt text help SEO?

It is one of the signals that help search engines understand images and show them in image search. It does not guarantee rankings; accurate, natural descriptions work better than keyword stuffing.

What alt text should decorative images have?

Use an empty alt (alt="") for images that carry no information, such as dividers or background patterns. Keep the attribute itself, because without it some screen readers read out the file name.

Are my images uploaded? Is it free?

Images are processed only in your browser and never sent to a server. The tool is free with no sign-up; only the AI model (about 215 MB) is downloaded from Hugging Face the first time.

Can I use the AI text as is?

Treat it as a draft. The AI does not know names of people, products or places, cannot always read text in the image, and can be wrong, so please check and edit it before use.

Want a website that is accessible and easy to find?

We build websites with care for accessibility and SEO, from image alt text to page structure. Feel free to ask us.

Contact us
Contact