Image alt text checker
Images
4 images: 0 without alt, 1 with empty alt, 0 to look at.
| # | Alt text | Check |
|---|---|---|
| 1 | Example Plumbing | OK |
| 2 | An Example Plumbing van parked outside a terraced house in Leeds | OK |
| 3 | Empty | empty alt: right only if the image is decorative |
| 4 | Engineer checking the pressure gauge on a combi boiler | OK |
1. /img/logo.svg alt: Example Plumbing 2. /img/van.jpg alt: An Example Plumbing van parked outside a terraced house in Leeds 3. /img/divider.png alt: (empty) empty alt: right only if the image is decorative 4. /img/boiler.jpg alt: Engineer checking the pressure gauge on a combi boiler
- Note: 1 image has an empty alt, which tells screen readers to skip it. Check each is decorative and adds no information.
- Note: Every image has alt text or a deliberate empty alt, and width and height.
- Note: Only the HTML is read. Whether the words actually describe the picture is something only a person looking at it can judge.
How to use it · free, no signup
How to use the Image Alt Text Checker
Paste the HTML of a page to list every image with its alt text, and find missing alt, file names, stuffed keywords and images without a width and height. Runs in your browser.
01
Copy the HTML
View the page source, select all and copy, or copy a section from the element inspector.
02
Paste it in
Every img tag is read, including those inside picture elements.
03
Fix what is flagged
Missing alt first, then file names, keyword lists and missing sizes.
What alt text is for
The alt attribute describes an image in words. A screen reader reads it aloud, a browser shows it when the image fails to load, and search engines use it to understand what the picture shows: Google says it uses alt text together with computer vision and the page’s content (Google’s image SEO guidance). The starting example has four images:
| Image | Alt text | Verdict |
|---|---|---|
| Logo | Example Plumbing | Fine |
| Van | An Example Plumbing van parked outside a terraced house in Leeds | Fine |
| Divider | Empty | Fine, if decorative |
| Boiler | Engineer checking the pressure gauge on a combi boiler | Fine |
Writing alt text that helps
- Say what the image shows, in the context of the page: “Engineer checking the pressure gauge on a combi boiler”, not “boiler”.
- Skip “image of”. Screen readers already announce an image.
- Leave decorative images empty with alt="", so they are skipped rather than read out.
- Write for people. Google warns that filling alt attributes with keywords gives a poor experience and may cause a site to be seen as spam.
Width, height and a steady page
An image without width and height attributes takes no space until it loads, then pushes the text below it down. Giving both lets the browser reserve the right space from the start, so the page does not jump as images arrive. The checker flags any image missing one or both; the aspect ratio calculator works out a height that keeps an image’s shape at a new width.
What a checker cannot judge
The checker reads the HTML, not the pictures, so it cannot tell whether alt text is accurate. It finds the gaps and the obvious mistakes; whether “van parked outside a house” describes the photo is for a person to decide. Check the rest of the page’s structure with the heading structure checker.
Published by Koit Academy. Who runs it, how it is paid and how its tools are checked.
Questions
What people ask about the Image Alt Text Checker
What is alt text?
When should alt text be empty?
Should I put keywords in alt text?
How long should alt text be?
Why does it flag missing width and height?
Related tools
Heading Structure Checker
A page’s H1 to H6 headings as an outline
Open itColor Contrast Checker
WCAG contrast ratio, pass or fail, and a fix
Open itWebsite Bandwidth Calculator
The monthly data transfer a website needs
Open itAspect Ratio Calculator
The ratio of any size, and its height at a new width
Open itSERP Preview Tool
See where a title and description will be cut
Open itMeta Tag Generator
Title, description, canonical and sharing tags in one block
Open it