Home › Blog › What Is Alt Text? How to Write It for Images (With Examples)

What Is Alt Text? How to Write It for Images (With Examples)

By Umar Hayat · Updated 4 November 2026

Alt text is a short written description of an image. It is placed in the image code, and it is read aloud by screen readers. It also appears if the image fails to load.

Why alt text matters

People with poor eyesight use screen readers that read the alt text aloud. Search engines also use it to understand what a picture shows. If your connection is slow and the image does not load, the browser shows the alt text instead.

How to write good alt text

Describe what the image shows in plain words, as if you were telling a friend on the phone. Keep it short, usually under about 125 characters.

Good example: a red clay teapot on a wooden table.
Weak example: image1.jpg.
Bad example: tea teapot buy teapot cheap teapot online.

What to avoid

Decorative images

If an image is only decoration, such as a thin line or a background shape, use an empty alt, written as alt with nothing between the quote marks. This tells screen readers to skip it.

Charts and screenshots

For a chart, write the main message, for example: sales rose from 20 to 50 in six months. If the details are important, also write them in the text under the chart.

How to find missing alt text

A website checker lists images with no alt text. Fix the most important ones first, such as product photos and the main image at the top of each page.

Frequently asked questions

Does alt text help SEO?

Yes, it helps search engines understand the image, and it can help the image appear in image search. It works best when it is honest and useful.

How long should alt text be?

Most advice says to keep it under about 125 characters, and to say only what is needed.

Related articles

Free tools: Free website checker in Urdu · Free website speed test · Free SEO checker in Roman Urdu

Check my website free