RoadToBlogging Logo

How To Add ALT Text To Images In WordPress

Istiak Rayhan
ALT Tags WordPress Images
  • Save

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
  • Save

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
  • Save

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
  • Save

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
  • Save

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

written by

Istiak Rayhan

Istiak Rayhan is the founder of, a blog that aims to make bloggers’ journey easier. Istiak loves to help newbie bloggers to build a better blog. Here’s more about him.


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.

  1. Hi,
    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. 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. 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?

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

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

  5. 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!

  6. 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. 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!

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

Get our latest posts delivered straight to your Inbox. No spam, ever.

Share via
Copy link
Powered by Social Snap