Skip to content
Media

Alt Text Generator

Generate accessible alt text suggestions with WCAG guidance.

alttextaccessibilitywcagimage
Loading tool…

Recommended tools

Affiliate links — we may earn a commission if you sign up.

About the Alt Text Generator

The Alt Text Generator turns a plain description into three ready-to-copy alt text suggestions tailored to the image's job on the page. Choose a context — decorative, icon button, linked image, content, or photograph — and a tone of concise or detailed, and the tool applies the right template patterns: functional images describe the action, linked images name the destination, and decorative images correctly collapse to an empty alt attribute. A link target field appears when you pick the linked-image context, so suggestions can say where the image points. Each variation is a click-to-copy button, and the tool also builds a complete HTML snippet like <img src="image.jpg" alt="..." /> with attributes properly escaped. A WCAG guidance panel walks through the 1.1.1 Non-text Content success criterion, including the rule that screen readers already announce the image role, so phrasing like "image of" is redundant. For content editors and developers who want accessible image descriptions that comply with WCAG without memorizing the spec, this generator offers a fast, correct starting point — with the honest caveat, printed right in the interface, that human review is still required.

Hand-written guide

Examples

Input
Description "a golden retriever puppy playing fetch in a park", Context "Content / illustration", Tone "Concise".
Output
Variants: "A golden retriever puppy playing fetch in a park.", "Illustration: a golden retriever puppy playing fetch in a park", "A golden retriever puppy playing fetch in a park" plus the HTML snippet.
Note: The default description ships pre-filled so the tool demonstrates itself on load.
Input
Description "download report", Context "Icon button", Tone "Detailed".
Output
Variants: "Icon: download report", "Button showing download report", "Download report button".
Note: Button context frames the action rather than the icon's appearance.
Input
Context "Decorative (alt="")" with any description.
Output
A green notice "Use empty alt text" and an HTML snippet with alt="" — all three variant slots are intentionally empty.
Note: Decorative images should be hidden from assistive technology entirely.

How to use

  1. 1

    Describe what the image shows in the "Image description" field.

  2. 2

    Pick the matching "Context" — Decorative, Icon button, Linked image, Content / illustration, or Photograph.

  3. 3

    Choose "Concise" or "Detailed" in the "Tone" selector.

  4. 4

    If you selected Linked image, fill in the "Link target" field that appears.

  5. 5

    Click any of the three suggested variants to copy it, or grab the HTML snippet below.

Common use cases

  • Writing alt text for blog illustrations during a content migration to accessible templates.
  • Labelling icon-only buttons in a web app toolbar during an accessibility audit.
  • Generating descriptive text for product photographs on an e-commerce listing.
  • Handling linked banner images by describing both the image and its destination.
  • Teaching content editors correct empty-alt usage for decorative imagery.
  • Producing consistent, reviewed alt text across a multi-author publishing team.

Best practices

  • Choose the context first — it changes the entire template the generator applies.
  • Prefer Concise tone for production markup; Detailed is useful for audits and drafts.
  • Keep descriptions under 125 characters to stay within screen-reader brevity guidance.
  • For decorative images, accept the empty alt suggestion rather than forcing a description.
  • Always re-read generated variants against the actual image before publishing.

Tips

  • Click any variant card to copy it with a confirmation toast.
  • The context hint under the dropdown reminds you what each mode is for.
  • Switch tone back and forth to see how phrasing changes per template.
  • Use the HTML snippet as the final paste target after picking your variant.

Frequently asked questions

Five: decorative, icon button, linked image, content/illustration, and photograph. Each applies different wording patterns, because the correct alt text depends on the image's function, not just its content.

Explore more media tools

Browse the full collection of media tools on the hub, or jump back to all categories.