Website Management Tools
HTML Alt Text Checker
Paste a page's HTML, or open an HTML file, to list each image with its alt text and see which ones are missing the attribute, have an empty alt, use generic wording such as “image”, look like a file name, start with “image of”, are very long or repeat the same text on different images. It reads static HTML only: it never loads the page or the images and does not run scripts, so images added by JavaScript are missed. It also cannot judge whether alt text is accurate or useful, which needs a person looking at the image. An empty alt is correct for purely decorative images.
How to use it
- View the page source or copy the HTML of the section you want to check, and paste it here.
- Read the counts and the notes beside each image.
- Fix the images that need descriptions and download the report as CSV if useful.
Example
<img src="/b.png"> is reported as missing alt. <img src="/c.png" alt="IMG_2043.jpg"> is flagged as a file name. <img src="/d.png" alt=""> is listed as empty, which is right only if the image is decorative.
Related checks
For links, scripts and other resources in the same HTML, use the HTML link extractor. For images on a live page, see our guide to image SEO.
Questions
What is good alt text?
A short description of what the image shows or why it is there, in the context of the page, written for someone who cannot see it. Avoid stuffing keywords, and leave it empty for decoration.
When should alt be empty?
When the image is purely decorative or repeats adjacent text. An empty alt tells screen readers to skip it. A missing alt attribute is different and is usually an error.
How long should alt text be?
There is no fixed limit in the standard. Around 125 characters or fewer is a common guideline because some screen readers handle long alt text poorly; long descriptions can go in the surrounding text.
Does alt text affect SEO?
It helps search engines understand images and is used when an image is a link. It is first of all an accessibility feature, and keyword stuffing can harm both.
Does it check CSS background images?
No. Background images do not have alt text and are for decoration.
Get practical SEO tips by email
Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.