Image Alt Generator and Alt Text Checker

Build image tags with alt text, and check the alt text you wrote.

  • SEO Tools
  • Free, no sign-up
  • Runs in your browser

Image Alt Tag Generator tool

Describe what the image conveys in this context, not what objects are visible.

Image tag

Batch mode

One image per line, as path then a comma then the alt text.

About the Image Alt Tag Generator

Alt text describes an image for people using screen readers and appears when a picture fails to load, and it also helps search engines understand images. This image alt generator builds a complete img tag from a file path and a short description, with optional width and height to prevent layout shifts and lazy loading where appropriate, and it checks existing alt attributes for common mistakes such as redundant openings like image of, file names used as descriptions and keyword stuffing. Good alt text describes what matters in the image in a sentence; decorative images should have an empty alt attribute. To audit every image on a page, use the Image Alt Checker, and for a full on-page review, the SEO Audit Tool.

The checking half is often the more valuable. Its warnings target the patterns that defeat the purpose: redundant openers that repeat the screen reader's announcement, camera file names that get spoken aloud, accidental blanks, descriptions long enough to be an essay, and lists of search terms dressed up as a sentence.

One limitation is worth stating plainly. Automatic captioning needs a vision model hosted elsewhere, and since this site never sends your files anywhere, it cannot look at the picture for you. What the tool does is turn a description you write into correct markup and warn you when that description has a problem. Deciding what the image means on your page is still your job, and it should be.

How to use the Image Alt Tag Generator

  1. Enter the image pathPaste the file location exactly as it will appear in the src attribute.
  2. Describe the imageExplain its role on the page in a sentence, not an inventory of objects.
  3. Add optional attributesWidth, height, lazy loading and a CSS class.
  4. Review warnings and copyAny problems with the description are listed before you copy the tag.

Image Alt Tag Generator features

  • A finished image element including dimensions, lazy loading and a class
  • Warnings for openings such as image of
  • File names used as alt text detected
  • Warnings for rambling or keyword-heavy text
  • Blank descriptions for ornaments, with a note on when to use them
  • Many images processed at once from a pasted list
  • Quotes escaped so the markup stays valid

Common uses

  • Generating tags for a whole catalogue of product photos
  • Tidying descriptions ahead of a WCAG review
  • Showing a content team what good alt text looks like
  • Adding dimensions so images stop shifting the layout
  • Marking decorative images so screen readers skip them

Alt text in practice: product photos for a clothing shop, context changes the description, buttons and icons, charts, text in images and image search

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Alt text describes images for people who cannot see them, including screen reader users and anyone whose images fail to load. It also helps search engines understand pictures. Writing it well is a small skill with a large payoff. This guide writes alt text for clothing product photos and covers how context changes descriptions, functional images, charts, text inside images, image search and practical workflow.

A worked example: a clothing shop

An online shop's product photo was saved with the alt text IMG_2034, which tells nobody anything. Another product has lawn suit lawn suit cheap lawn, which is keyword stuffing. A useful description reads: Three-piece lawn suit in mint green with white embroidery on the neckline. It describes what a shopper needs to know, colour, style and detail, in one natural sentence.

Context changes the description

The same image needs different alt text in different places. A photo of a cricket match on a sports news article might describe the moment, such as a batter hitting a six, while on a ticketing page the important detail might be the stadium. Describe what the image contributes to that particular page.

Buttons and icons

When an image works as a button or link, its alt text should describe the action, not the picture. A magnifying glass icon used for search should have the alt text Search, and a cross that closes a window should say Close. Describing them as a magnifying glass or an X leaves users guessing what will happen.

Charts and infographics

A chart cannot be fully described in a short alt attribute. Give a brief alt text stating what the chart shows and its main finding, then provide the full data in a table or text nearby. Everyone benefits, including visitors who prefer exact numbers to visual estimates.

Text inside images

Banners and graphics often contain text, such as Eid Sale 30% off. The alt text must include that text, because screen readers cannot read it from the image. Wherever possible, put important text in real HTML over a background image instead, so it is readable, translatable and searchable.

Image search

Search engines use alt text, file names and the surrounding text to understand images. Descriptive file names, such as mint-lawn-suit-embroidered.jpg, support good alt text and help images appear in image search, which can bring shoppers directly to product pages.

Urdu pages

Images on Urdu pages should have Urdu alt text, so screen reader users hear descriptions in the page's language. On bilingual sites, each language version of a page should carry alt text in its own language.

Workflow in a content management system

Most content management systems store alt text with each image in the media library. Adding it when uploading, rather than later, makes it a habit. For existing sites, an alt text audit identifies images with missing or poor descriptions, starting with the most visited pages.

Common mistakes

  • Leaving camera file names as alt text.
  • Stuffing alt text with keywords.
  • Describing icons instead of their actions.
  • Omitting text that appears inside images.

Related tools

To find images missing alt text on a page, use Image Alt Checker. To prepare product photos for the web, try Image Compressor, and to make consistent sizes, Image Resizer.

Captions and alt text

A visible caption and the alt text serve different purposes. If an image has a caption describing it, the alt text should not simply repeat the caption, which screen reader users would then hear twice. Use the alt text for what the caption does not say, or keep it brief.

Logos

A logo's alt text should be the organisation's name. When the logo links to the home page, the alt text can be the name alone or the name followed by home page, so screen reader users know where the link leads.

Photos of people

Describe what is relevant to the page, such as a graduate receiving a degree or a doctor examining a patient. Avoid guessing details such as age, ethnicity or emotion unless they matter to the content, and name people only when they are identified in the surrounding text.

Galleries

In galleries of similar photos, such as event pictures, give each image a distinct description of what makes it different, such as the moment, the people or the setting. Identical alt text on every image tells screen reader users nothing about why each one is there.

Test with a screen reader

Free screen readers make testing easy: NVDA on Windows and TalkBack on Android phones. Listening to a page once shows immediately whether images are described helpfully, which teaches more about good alt text than any checklist.

Reviewing automatic suggestions

Some tools and content systems now suggest alt text automatically. Treat these suggestions as drafts: they often describe what is visible without understanding why the image is on the page, and they can be wrong. A quick human review adds the context that makes alt text genuinely useful.

Privacy

Suggestions are written in your browser. Nothing is uploaded or stored.

Frequently asked questions

What makes alt text good?

One plain sentence about what the picture contributes at that spot. The same photo needs different alt text in a news story and in a shop listing, so describe the job the picture does on that page instead of listing everything visible.

When is a blank description correct?

Yes, for purely decorative images such as dividers or background flourishes, which should have alt="" so screen readers pass over them. Omitting the attribute entirely is worse, because some screen readers then read out the file name.

Why avoid starting with picture of?

The screen reader has already said it is an image, so picture of wastes the first words of every description. On a page with many images, hearing the same phrase repeatedly quickly becomes irritating for listeners.

Is there a recommended maximum length?

Normally under about 125 characters. Longer descriptions are hard to follow when heard, and some older screen readers cut them short. If an image needs more explanation, put it in the page text where every reader benefits.

Does good alt text help with SEO?

It gives crawlers the context they need for image search, which is a genuine advantage. Still, the main audience is the reader who relies on assistive technology and depends entirely on your words.

Could the tool caption my photo by itself?

No. Generating descriptions requires server-side vision software, and this site intentionally keeps every file on your device. The tool wraps your own description in correct markup and points out any problems with it.