How To Add ALT Text To Images In WordPress

ALT Tags WordPress Images

One of the most important things you can do to optimize your images for SEO is to add proper alt tags to the images.

ALT Tag means Alternative Tag. It’s also called the ALT Text. It was originally introduced for accessibility of visually impaired users.

It also helps search engine bots to understand images properly. This will definitely help you to drive traffic from the image-based search engine like Google Image Search.

In this post, I’ll show you how to add ALT tags to the images in WordPress. I’ll show both manual and automatic approach.

Before moving further, here are some tips for writing a proper ALT tag.

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

Now let’s dive to the tutorial.

How To Add Alt Text To An Image In WordPress

WordPress allows you to add Alt text when you upload a new image.

Once you’ve uploaded a new image, click on the ‘Edit’ icon.

How To Add ALT Text To Images In WordPress 1

A box will be popped up. Just enter the Alt text on the right side of the box and click on ‘Select’.

How To Add ALT Text To Images In WordPress 2

That’s it. You’re done.

How To Add ALT Text Automatically Using A Plugin

Adding ALT text to new images is easy. But it’s not easy if you need to do it for old images one by one.

On that case, you need to use a plugin to automate the process. You can use the plugin – Auto Image Alt Attribute.

This plugin automatically adds ALT Text attribute to your images where alt tags are missing. Just install the plugin and alt attributes of missing images will be added automatically.

Now you need to install the plugin. Just go to your WordPress Dashboard > Plugins > Add New and type ‘Auto Image Alt Attribute’ on the search box. Click on the ‘Install Now’ button.

Install the plugin - Auto Image Alt Attribute

Once you’ve activated the plugin, go to Dashboard > Auto Image Alt and make sure that it’s enabled.

How To Add ALT Text To Images In WordPress 3

That’s it. Your images will be updated with alt tags.

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+.

20 responses to “How To Add ALT Text To Images In WordPress”

  1. Hansinee Avatar

    I used alt tags manually in wordpress admin. And it is not showing in the page source. Some images also have extensions. In order to make the alt appears from the admin, i have to change codes in backend where most of the time i don’t know which php code to use.

    From your side what is the best option please.

    Thank you

    1. bdalina Avatar

      Try this wordpress plugin, and it wil help you. You don’t need to code, just apply the settings.

      Image Tag Manager is a WordPress plugin that allows to dynamically generates (alt, title, caption and description) in ***all or any images (except iframes content) for SEO enhancement.
      It also fixed the filenames before saving, removing unnecessary characters to transform into more meaningful filename and SEO friendly.

  2. Gowtham Avatar

    Really helpful admin thanks a lotttttttt

  3. Max Avatar

    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?

  4. Dick Sijtsma Avatar

    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 Avatar
      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.

  5. Mustafa Hatim Avatar

    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. Istiak Rayhan Avatar
      Istiak Rayhan

      Glad I could help. Thanks for you kind words.

    2. Istiak Rayhan Avatar
      Istiak Rayhan

      Glad I could help. Thanks for your kind words.

  6. Rajesh Chourasia Avatar

    Dear Istiak Rayhan
    I have used alt tag almost in every image but it is still showing alt tag not found in any image. could you tell me the reason pls

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Have you added those alt tags manually?

  7. Ayush Gupta Avatar

    I have few images with alt text and some without alt text. With the automatic approach, will the plugin overwrite the already existing images with the new alt text?

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      It won’t. It will only generate alt tag for the images without alt text.

      1. Ayush Gupta Avatar
        Ayush Gupta

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

  8. Felix Avatar

    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!

  9. Yousuf Avatar

    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.

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Thanks for reading.

  10. Sai Kumar Avatar

    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!

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      That sounds good, you’re getting huge visits from Google Image search. Thanks for your comment.

  11. Taswir Haider Avatar

    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 Reply

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