Alt text: what alternative text is and how to write it in your emails
The description that replaces each image when it doesn't load, the one screen readers read aloud and the one that saves your newsletter
Alt text, or alternative text, is the short description that goes with an image in the code of a website or an email. It appears when the image doesn’t load, screen readers read it aloud and search engines use it to understand what the image shows.
In an email it matters even more than on a website. Many email clients block images until the reader allows them, and the first thing they see is exactly that text.
What is alt text?
Short answer: it’s the alt attribute of the image tag in HTML. “Alt” is short for alternative: it’s the text that replaces the image when it can’t be seen.
In the code it looks like this:
<img src="zapatillas.jpg" alt="Zapatillas de running azules con un 30 % de descuento">
You’ll also see it called alt tag, alt attribute or ALT text. They all mean the same thing. Don’t confuse it with the image title, which is a different attribute and only appears when you hover the mouse over the image.
What alternative text is for
Alt text has three jobs:
| What it does | Who uses it | What happens if it’s missing |
|---|---|---|
| Replacing the image | People with images blocked or a slow connection | They see an empty box or the file name |
| Accessibility | People who use a screen reader | The reader skips the image or just says “image” |
| SEO | Google and other search engines | The image is less likely to show up in Google Images |

Make sure your newsletter makes sense even when images don’t load
Design with the visual editor and responsive templates included in Mailrelay’s free account.
Why alt text matters so much in an email
On a website, almost all images load on their own. In email that’s not always the case. Some versions of Outlook and many corporate email clients block images by default, and the reader decides whether to download them.
If your newsletter is a single large image with no alternative text, that person will see an empty email. With good alt text, on the other hand, they understand what the message is about even if nothing loads: “Winter sale: up to 50% off coats”.
On top of that, an email made only of images, with no real text, raises the suspicion of antispam filters. Alt text helps, but it doesn’t replace the text in the email body.
How to write good alt text
- Describe what the image contributes, not what it looks like. “Example Store logo” is more useful than “Round green image”.
- Keep it short. One sentence of about 125 characters at most. Many screen readers cut off long texts.
- Don’t start with “Image of…”. The screen reader already announces that it’s an image.
- If the image is a button, write the action. “See the winter collection”, not “orange button”.
- Leave the alt empty on decorative images. A divider line or a background doesn’t need a description: with alt=”” the screen reader skips it.
- Don’t force keywords in. Write for people, not for the search engine.

Examples of good and bad alt text
| Image | Bad | Good |
|---|---|---|
| Sale banner | banner1.jpg | Winter sale: up to 50% off coats |
| Product photo | Image of a product | 6-cup steel moka pot |
| Buy button | Button | Buy now |
| Logo | Logo logo company logo | Example Store |
| Decorative line | Line | (empty alt) |
How Mailrelay helps you
With Mailrelay’s visual editor and templates, you build your campaigns without touching any code. Before sending them, check that every important image has its alternative text: that way they make sense even if the reader has images blocked.
Before sending, send yourself a test and open it with images turned off. If the message makes sense with just the text and the alts, you’re on the right track. For the rest of the guidelines, see our accessible email checklist.
The free account lets you send 80,000 emails a month to 20,000 contacts, with human support on every plan.
Design emails that get delivered and make sense
80,000 free emails a month, templates, automations and human support on every plan.
Frequently asked questions
What does alt mean in HTML?
It’s the attribute of the img tag that holds an image’s alternative text. Its name comes from alternative.
Is alt text the same as the image title?
No. The alt replaces the image and is read by screen readers. The title is extra information that appears when you hover the mouse over the image.
Do all images need alt text?
They all need the attribute, but decorative images have it empty so screen readers skip them.
Key takeaways about alt text
Alt text puts each image into words. In your emails, it decides whether the reader understands the message when images don’t load. Keep it short and useful, and write it for the person who will read it.