How to Write SEO Friendly Alt Text for Images

How To Write SEO Friendly Alt Text for Images Banner Image

On-page SEO goes a long way for improving search engine visibility.

And a pillar of on page SEO is image optimization through alt text.

So in this post, I’ll show you how to write SEO friendly alt text for images.

Let’s dive in.

What Is Alt Text for Images?

Alt text is a text alternative description of an image. It’s useful for site visitors unable to see the actual image content.


When a visitor can’t see your image, the alt text appears in a blank box that would normally contain the image.

Why is Does Alt Text Affect SEO?

Search engines want to provide quality results to their users.

And because they want to provide quality results, sites making their content as accessible as possible get preference.

Also, providing an alt text reinforces the keyword you’re targeting.

But as always, don’t think of SEO from a keyword perspective. Instead, think of it from a user perspective. Where your goal is to provide value to your visitors.

How to Write SEO Friendly Alt Text for Images

There are a few dos and don’ts when writing alt text for SEO. First, let’s cover the dos:

Mention Target Keywords

You’ll have a target keyword in mind if you want to write SEO friendly alt text for your images.


Mention your target keyword where possible in your alt text.

Then check to see how well optimized your images are using Pagezii’s SEO grader.

How to Write SEO Friendly Alt Text for Image Using Pagezii SEO GraderIn the image above, you can see the status of your alt text score.

  • Green = well-optimized for target keyword
  • Yellow = alt text is optimized, but improvement could be made
  • Red = needs improvement

In our example, the image alt text icon is red. So there’s room to improve.

And we can use the detailed key phrase breakdown to do some investigating:

How to Write SEO Friendly Alt Text for Image Pagezii SEO Grader Key phrase Breakdown

In our example, we’re not mentioning the keyword “software” in our alt text. Now we know where to improve to boost search visibility.

Keep Alt Text to a Reasonable Length

Remember why alt text exists?

It’s to provide a text alternative to an image. And the point of an image is to convey a message quickly.

So, apply the same mentality to your alt text.

Here’s what I mean:

You don’t have to write an entire paragraph of alt text when describing an image. You just have to capture the essence of it.

For example:

Let’s pretend your blog post uses an infographic.

All your alt text needs to include is your target keyword and “infographic”. Users generally know what an infographic is.

Stay away from explaining the infographic in fine detail.

And this leads into the next tip on how to write SEO friendly alt text for images…

Keep Alt Text Accurate

The best technique you can use from an SEO perspective is to keep your alt text accurate.

By doing this, you’re inherently providing value to readers unable to see your images. And this is exactly what helps you climb search results.

So, if we think back to our infographic example, here’s what an SEO friendly¬†alt text would look like:

alt=”Cloud Software Infographic”

So we’ve covered the dos. Now let’s quickly move on to pitfalls you should avoid.

Pitfalls to Avoid When Writing Alt Text

We’ve gone over some pitfalls throughout this post, but we’ll lay them out once and for all here:

  1. Keep alt text concise. The point of alt text is to convey a message behind the image. So the less convoluted the alt text, the better.
  2. Don’t spam your target keyword. Mentioning your target keyword appropriately is important. But abusing it will hurt you. So, the moral here is to mention target keywords when it makes sense. Just like any other on-page optimization.
  3. ¬†Don’t mislead. If your image is a cloud software infographic, use that in your alt text. Don’t say it’s an IoT technology solution. In the context of your written content, this is going to throw your readers off. Meaning a bad user experience.

How To Write SEO Friendly Alt Text for Images with 3 Simple Techniques

Writing SEO friendly alt text is simple. But there is a right way to go about it. And in this blog, we covered three techniques you can use to make sure your alt text is on point.


Use the techniques you learned in this post next time you publish content. And don’t forget to SEO grade your images to help pique the search results page.

Start Writing SEO Friendly Alt Text for Images with Pagezii SEO Grader

Grade Images