# Alt Text Checker and Image SEO Audit

> Free image alt text checker: list every image on a page with its alt text, file size, format and dimensions, and flag missing alt and oversized files.

Enter a URL to see every image with its alt text, weight, format, dimensions and lazy-loading status, with problems flagged.

- Use it free (no signup): https://yes-seo.com/image-alt-checker
- API: `GET https://yes-seo.com/api/v1/image-alt-checker?url=https://example.com`
- What it does: Image alt text and image SEO checker: every image on a page with its alt text, file size, format (JPEG/PNG vs WebP/AVIF), dimensions, lazy loading; flags missing alt, oversized files and layout-shift risks.

Images do a lot of work on a page and cause a lot of its problems. Missing alt text shuts out screen-reader users and gives search engines nothing to go on, a 3 MB hero photo slows the whole page, and an image without width and height makes the layout jump as it loads.

This image alt text checker lists every image on the page with its alt text, file size, format (JPEG or PNG versus WebP or AVIF), dimensions and lazy-loading attribute. It flags missing alt text, oversized files and layout-shift risks, so you can fix accessibility and image SEO in one pass.

## How to check image alt text

1. **Enter the page URL** — We read the page HTML and collect its images with their attributes, file sizes and formats.
2. **Sort by problem** — Start with images that have no alt attribute, then the heaviest files, then images missing dimensions.
3. **Fix in your CMS or template** — Add alt text in the media library, compress or convert large files and add width and height to image tags.

## Writing alt text that actually helps

Alt text is the text alternative a screen reader speaks and a search engine reads in place of the image. Write it for someone who can’t see the picture. The [W3C alt decision tree](https://www.w3.org/WAI/tutorials/images/decision-tree/) sums up the rules:

- **Informative images:** describe what matters in context — `alt="Red trail running shoe with a deep-lug sole"`, not `alt="shoe"` or `alt="IMG_4032.jpg"`.

- **Functional images** inside a link or button: describe the action. A magnifier icon that submits a search gets `alt="Search"`.

- **Decorative images:** use an empty attribute, `alt=""`, so screen readers skip them. Empty is not the same as missing; with no alt at all, some screen readers read out the file name.

- **Images of text:** repeat the same text in the alt.

Keep it to about one sentence and skip “image of”, since screen readers already announce an image. Use a keyword only where it describes the picture naturally. More in our [alt text](https://yes-seo.com/glossary/alt-text) definition.

## Image SEO beyond alt text

Google’s [image SEO best practices](https://developers.google.com/search/docs/appearance/google-images) add a few rules worth knowing:

- Use real `<img>` elements with a `src`. Google doesn’t index CSS background images.

- Give files descriptive names, such as `red-trail-shoe.webp`, and place images near related text.

- Use a supported format: BMP, GIF, JPEG, PNG, WebP, SVG or AVIF. WebP and AVIF are usually much smaller than JPEG or PNG at similar visual quality.

- Serve sizes that match the layout. A 4,000-pixel photo shown at 800 pixels wastes bandwidth; `srcset` lets the browser pick the right file.

```

```

To serve modern formats with a fallback, wrap the image in `<picture>`. The browser uses the first source it supports, and the alt text and dimensions stay on the `img` element:

```

```

## Dimensions and lazy loading

Two attributes prevent most image-related performance problems:

- **`width` and `height`** let the browser reserve space before the file arrives, which prevents the layout jumps measured by [CLS](https://yes-seo.com/glossary/cls). CSS can still make the image responsive; the browser keeps the ratio.

- **`loading="lazy"`** defers off-screen images until the visitor scrolls near them. Use it below the fold only: lazy-loading the main hero image delays [LCP](https://yes-seo.com/glossary/lcp). Give that image `fetchpriority="high"` instead, as [web.dev explains](https://web.dev/articles/browser-level-image-lazy-loading).

The checker flags oversized files and images that risk layout shifts. To see how images affect the page as a whole, check its [Core Web Vitals](https://yes-seo.com/glossary/core-web-vitals) and read about [lazy loading](https://yes-seo.com/glossary/lazy-loading).

## Tips for better image SEO

- Fix alt text in templates as well as pages; logos and icons repeat on every page.
- Give your logo alt text with the brand name, especially when it links to the home page.
- Convert large JPEG and PNG photos to WebP or AVIF, and compress everything before upload.
- Never lazy-load the first large image visitors see; prioritize it instead.
- Don’t stuff keywords into alt text — describe the image, and the relevant words usually appear on their own.

## Limits to keep in mind

The checker reads the images referenced in the page’s server HTML. Images added by JavaScript, CSS backgrounds and images inside iframes may not be listed, and it can’t judge whether an alt text describes the picture accurately — only a person can. For real-world loading performance, use the [page speed test](https://yes-seo.com/page-speed-test); for a full accessibility review, combine this with Lighthouse and a quick screen-reader test.


## Frequently asked questions

### What is alt text?

The alt attribute of an image: a short text alternative that screen readers speak and search engines read in place of the image. Browsers also show it when the image fails to load.

### Should every image have alt text?

Every image needs an alt attribute, but not every image needs a description. Decorative images should use an empty alt (alt="") so screen readers skip them.

### How long should alt text be?

Usually one short sentence. Describe what matters about the image in its context; longer explanations belong in a caption or the surrounding text.

### Does alt text help SEO?

Yes. Google uses alt text, along with the file name and nearby text, to understand images, and it uses the alt text of a linked image as that link’s anchor text.

### What image format is best for SEO?

Any format Google supports can rank. WebP and AVIF are usually smaller at similar quality, which helps speed; well-compressed JPEG and PNG remain fine.

