How to Add ALT Tags to Images in WordPress

ALT Tags WordPress Images
  • Save

You might have noticed a text description of an uploaded image. That text is ALT tag.

ALT tag means alternative tag. ALT tag was originally introduced for the special browsers of visually impaired users. As they can’t see the image, they need a text description to understand what the image is about.

ALT tag also helps Search Engine bots to understand an image. Search Engine bots can’t see and they need a clue to understanding the image.

If bots can understand your images, they will give you good ranks for the related keywords. And you can drive huge traffic from Image-based Search Engine like Google Image search.

All you need to do is, add proper alt tags to your images. The other thing that matters for SEO is Title tag. But it is less important then ALT tag.

In this post, I will be sharing How to Add ALT text to Images in WordPress. Before going further, here are some tips to write an ALT tag.

  • ALT text should be related to your images.
  • Keep the text short and meaningful.
  • Use SEO keywords.

Further Reading: How To Optimize Images For SEO

The Manual Approach

Generally, you can add ALT tag when you upload a new image. WordPress uploader makes it easier. Just type the alt text once you’ve uploaded the image.

alt tags for WordPress Images
  • Save

It’s very simple. But it will be tough for you to add alt tags to all the images that you have already uploaded.

The Automatic Approach

To automate the process, you can use a WordPress plugin named SEO Friendly Images. I hate automation. But in this case, this is the best way to deal with it.

This plugin is developed by Valadmir, founder of ManageWP. It will automatically update all of your images with Title and ALT text for SEO. If your images don’t contain the title and alt tag it will add them according to your setting. Though Search Engines understand Alt tag only, it’s good idea to have image title tag for visitors as this text will automatically appear in the tooltip when the mouse is over the image.

Now you need to install the plugin. Just go to your WordPress Dashboard > Plugins > Add New and type ‘SEO Friendly Images’ on the search box. Click on ‘Install Now’ button.

Install SEO Friendly Images Plugin
  • Save

Once you’ve activated the plugin, go to Dashboard > SEO Friendly Images > Setting and configure the setting. As I upload images with proper title, I use %name for ALT and Title attribute.

Here’s an example for better understanding of the setting.

In a post titled Car Pictures there is a picture named Ferrari.jpg

Setting alt attribute to “%name %title” will produce alt=”Ferrari Car Pictures”
Setting title attribute to “%name photo” will produce title=”Ferrari photo”]

SEO Friendly Images Setting
  • Save

Click on ‘Update options’. Now it will start generating alt tags for your images. To get the best result from this plugin, I’d suggest you to give a meaningful title to your images before uploading. For example, most of the time images are named like images001.jpg. This plugin won’t add any proper alt tag for this images. An ideal title can be like wordpress-alt-text.jpg.

Hope this will boost your On-Page SEO and help you to get more traffic from search engine.

Further Reading: WP Plugin: Reduce Image Sizes for Faster Loading

Over to You

If you are using a lot of images on your blog, I’d highly suggest you use alt attributes to your images properly. It will help you increase user experience and drive traffic from search engines. But don’t do keyword stuffing in the hope of better ranking.

Do let us know if you are using any other ways to add alt tags to images. If you find this post helpful, please help me by sharing this post on Facebook, Twitter or Google+.

  • Save
Was this article helpful?

Last Updated on

17 thoughts on “How to Add ALT Tags to Images in WordPress”

  1. Sometimes WordPress automaticly generates different images sizes to images, although I added the alt tag to original image, it is not added to the automated generated image. What can I do?

  2. The problem is that the new alt tags are not automatically used in existing blogposts. You have to edit the old blog posts, insert the image with the new alt tags again, before it takes effect. Or is there a plugin to do that too?
    For new blogposts / pages it works.

    1. Istiak Rayhan

      There is a plugin called “SEO Friendly Images” for adding ALT Tags automatically. But the problem is that the plugin has not been updated for a long time.

  3. Thank you Istiak.You have shown me how to add alt attributes to the images I post in word press in an easy way.I will try the SEO Friendly images plug in as you suggested.
    Keep up the good work Sir

      1. That was quick. Thanks a lot. Let me install the plugin. Seeing a lot of errors in Bing Webmaster about missing alt text

  4. Hello,
    Thank you for sharing this plugin.
    I developed a plugin for my own use, but I just publish it on wordpress.
    My plugin “Bulk SEO Image” is useful to update all ALT attributes of your images in one clic (for example, with the post title)
    Compared to other plugin, the plugin changes the ALT attribut in one time, and is not called when a page is loading

    I expect a lot of updates in the future, and I welcome any feedback!

  5. Great article bro. I use alt tag for every image and one my article gets huge visits from Google Images. Yes alt tag will helps a lot to drive traffic from Search Engines. Thanks for Sharing.

  6. Hi Istiak Rayhan, Great article bro. I use alt tag for every image and one my article gets huge visits from Google Images. Yes alt tag will helps a lot to drive traffic from Search Engines. Thanks for Sharing!

  7. I previously used SEO friendly images and the main benefit with Thesis is that it automatically crop images that reduces the size. Your custom_functions.php code is helpful. Thanks for sharing.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.