Skip to main content

InstrumentsImage Alt Checker

Image Alt Checker

Paste HTML to list its img tags with their src, line and alt text, and flag a missing src, a missing alt, alt that is over 125 characters, and alt that is a file name.

All tools

Image Alt Checker

This checker reads the HTML you paste. It does not render the page or load any image, so an image that JavaScript adds after the page loads is not seen. Attribute values are shown as written, and entities such as & are not decoded.

Decorative images (alt="") are counted but not flagged, so check that each one really is decorative. An image that carries meaning needs alt text. Alt text over 125 characters is flagged. 125 is a guide, not a rule, so keep alt text short where the image allows. An alt attribute with no value counts as decorative (empty). Alt set to spaces only, alt=" ", is neither counted as decorative nor flagged. Comments, script and style blocks are skipped.

Paste the HTML of a page, a section or a component. Only img tags are checked, in the order they appear. Picture, source and SVG image elements are not checked.

Line 1, images/team-photo.jpg: Missing alt attribute. Add alt text, or alt="" if the image is decorative.

Line 2, /img/IMG_2231.jpg: Alt text looks like a file name. Describe what the image shows.

Images

3 images found. 1 missing alt. 0 decorative (alt=""), counted but not flagged. 2 with issues.

Images in the order they appear
LineSourceAlt textIssues
1images/team-photo.jpg(no alt attribute)

Missing alt attribute. Add alt text, or alt="" if the image is decorative.

2/img/IMG_2231.jpgIMG_2231.jpg

Alt text looks like a file name. Describe what the image shows.

3images/chart.svgSales by region, 2026, bar chartNone

FAQ

Does this tool load the images or see the rendered page?

No. The tool reads the HTML you paste and does not load any image or render the page. An image that a script adds after the page loads is not seen. To check the rendered page, copy its HTML from the browser developer tools and paste that.

Why does an empty alt count as decorative and not as a problem?

alt="" tells assistive technology to skip the image, which is correct for a purely visual image such as a divider. The tool counts these images so you can see them, but it does not flag them. Check each one: an image that carries meaning needs alt text.

Is 125 characters a hard limit for alt text?

No. The tool flags alt text over 125 characters as a guide to keep it short. Some images need more words, and a long description can sit in nearby text or a figure caption instead.

  1. 01Web Image Architecture: AVIF, WebP & Responsive PatternsTutorial
  2. 02Enterprise Accessibility Architecture: ARIA & SemanticsTutorial

Personalize your path

Choose your experience level once.

Next Step

Build fundamentals after each tool run so you can apply concepts with confidence.

Get new tool alerts

Receive updates when new tools are published.

RSS feed