AI Auto Alt Text Generator
AI Auto Alt Text Generator is a lightweight, privacy-conscious plugin that uses OpenAI vision-capable models (defaulting to GPT-5.4 nano, with GPT-5.4 mini and legacy GPT-4o mini options) to create meaningful, screen-reader-friendly alt text and SEO-friendly titles for your images. Whether you add a single image, bulk-process your library, or just want a one-click fix in the Media Library, the plugin handles it all – no manual effort required. This solution is far cheaper than many alternatives because it cuts out the middle-person. You’ll just need to bring your own OpenAI API key. ✨ Key features Automatic alt text on upload – set-and-forget accessibility. Optional automatic image titles – improve SEO with descriptive titles. One-click manual generation – “Generate Alt Text & Title” button in the Media Library. Bulk update tool – batch-process existing images, including those that only have filename-based alt text, with a configurable pause between batches. Prompt fine-tuning – supply site-wide context and optionally include the image file name. Model selection – default to GPT-5.4 nano (fastest & cheapest) or switch to GPT-5.4 mini for higher quality; legacy GPT-4o mini and GPT-5 mini/nano remain available. Image size & detail control – choose the resolution and level of visual detail sent. Developer-friendly – filters and actions to customise prompts, models and output, plus optional outgoing webhooks. WordPress Abilities API – registers a generate-alt-text ability (WordPress 6.9+/7.0) so core AI, agents and automation tools can generate alt text. No extra servers – data flows only between your site and OpenAI; nothing is stored off-site. Multilingual output – choose English (UK), English (US) or other popular languages. (English US is the default.) 🧭 Where to find the bulk tool Tools → Bulk Alt Text Update Media → Bulk Alt Text Update (shortcut that redirects to the Tools page) Settings → Alt Text Generator includes a button linking straight to the bulk page 🧠 How it works When an image is uploaded (or manually chosen), the plugin creates a temporary public URL for that image. It sends the image – plus optional context such as the parent post title, your custom site context and the file name – to your selected OpenAI vision model. OpenAI returns a concise description. Alt text is stored in WordPress’ native _wp_attachment_image_alt field. (Optional) The returned title is stored as the attachment post title. Nothing is cached or stored on OpenAI’s side; only the final strings live in your database. Settings overview OpenAI API Key – Required to connect to OpenAI. OpenAI Model – GPT-5.4 nano (default), GPT-5.4 mini, or legacy GPT-4o mini / GPT-5 mini / GPT-5 nano. Image Size to Send – Thumbnail, Medium, Large, or Full. Image Detail Quality – ‘Low’ or ‘High’ (Low uses fewer tokens). Bulk batch size – Number of images per batch (lower values reduce rate-limit risk). Site Context – Optional free-form prompt guidance (brand voice, niche, etc.). Send Image File Name – Include file name in the prompt for extra context. Automatically Generate Title – Add descriptive titles alongside alt text. Use full context for image titles – When enabled, title generation includes site context and file name (uses more tokens). Bulk optimiser delay (seconds) – Pause between batches during bulk runs. OpenAI request timeout (seconds) – Max wait time for OpenAI responses (10–120s) to reduce timeout failures on slower hosts. Output Language – Default English (US). Choose English (UK) for British spellings or another popular language; outputs (alt text and titles) will be generated in the selected language. Webhook URL & signing secret – Optionally POST generated alt text/titles to an external endpoint (with an optional HMAC-SHA256 signature) for automation and logging. Developers The plugin is extensible via standard WordPress hooks, an outgoing webhook, and the WordPress Abilities API. Filters aatg_alt_text_prompt ( $prompt, $post_ID, $context ) – customise the alt-text prompt. aatg_image_title_prompt ( $prompt, $post_ID, $context ) – customise the title prompt. aatg_openai_request_payload ( $payload, $context, $messages ) – customise the full OpenAI request (model, messages, reasoning effort). aatg_generated_alt_text ( $alt_text, $post_ID ) – filter alt text before it is saved. aatg_generated_title ( $title, $post_ID ) – filter the title before it is saved. aatg_is_low_quality_alt ( $is_low, $alt, $post_ID ) – control which existing alt text the bulk tool regenerates. aatg_webhook_payload ( $payload, $post_ID, $result ) – customise the outgoing webhook body. aatg_supported_image_extensions ( $extensions ) – customise which image formats are sent to OpenAI (default: PNG, JPEG, GIF, WebP). Actions aatg_after_alt_text_generated ( $post_ID, $alt_text ) aatg_after_title_generated ( $post_ID, $title ) aatg_after_generation ( $post_ID, $result ) Outgoing webhook Set a Webhook URL under Settings → Integrations & Webhooks to receive a non-blocking JSON POST after each generation. If a signing secret is set, requests include an X-AATG-Signature: sha256=… header (HMAC-SHA256 of the body) so your endpoint can verify authenticity. WordPress Abilities API On WordPress 6.9+ the plugin registers the ability ai-auto-alt-text/generate-alt-text (input: attachment_id) so WordPress core AI, agents, MCP servers and automation tools can generate alt text programmatically. Execute it with wp_get_ability( 'ai-auto-alt-text/generate-alt-text' )->execute( array( 'attachment_id' => 123 ) ). External services This plugin connects to the OpenAI API to generate alt text and (optionally) image titles. Endpoint: https://api.openai.com/v1/chat/completions When called: On image upload (automatic) Via “Generate Alt Text & Title” button in Media Library (manual) Via Tools → Bulk Alt Text Update (bulk) Data sent: image URL, optional file name, optional site context, optional parent post title Terms: https://openai.com/policies/terms-of-use Privacy: https://openai.com/policies/privacy-policy If you configure a Webhook URL, generated alt text/titles (and the image URL) are also sent to that endpoint you control.
Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)
Automatically add Image attributes such as Image Alt Text, Image Title, Image Caption and Image Description from Image Filename. The plugin can update image attributes for both new image uploads and existing images in the media library. Great for Image SEO and Accessibility. Image alt text and title is critical for your image SEO and will help users discover your images (and there by your website) in Google / Yahoo / Bing image search. Life-Saver It allowed me to save tons of time. Further, the support is nice and ready to help. – thnk4 Proper alt text also helps people who are blind or who have low vision understand your images there by improving the accessibility of your website. This will open up your website to a new segment of visitors and increase your traffic. Wow! If I could give this 1 more star I would! – jdev With this plugin you can: Set the image filename as the image Title. Set the image filename as the image Caption. Set the image filename as the image Description. Set the image filename as the image Alt Text. This was a default feature in WordPress before 4.7. The plugin restores this essential feature which is great for SEO. Insert Image Title into post HTML. WordPress stopped adding Image Titles to images since WordPress 3.5. The plugin restores it. Remove hyphens from the image filename. Remove underscores from the image filename. Remove full stops from filename. Remove commas from filename. Remove all numbers from filename. Choose to turn off any of the above mentioned features. Display image attributes as columns in Media Library list view. With the bulk updater you can: Set the image filename as image Title, Caption, Description and Alt Text after removing hyphens and underscores from the filename. Update any number of images in your Media Library in one click. If your image filename is My_image-name.jpg, your Image Title, Caption, Description And Alt Text will be My image name. The plugin settings and bulk updater are in WordPress Admin > Settings > Image Attributes. Here you can choose which attributes to update for NEW uploads. Please remember to take a database backup before running the bulk updater (or anything bulk in general). The bulk updater updates ALL attributes for existing images in the Media Library and ignores the settings set for NEW uploads. Image Attributes Pro A pro add-on is now available for the plugin. Check out Image Attributes Pro. The pro add-on can update the image attributes from not just the image filename, but also from the post / page / product / custom post type title. You can fine tune the bulk updater settings and even clean up the actual image filename. Thank you so much for all your help in trying to fix this, its very much appreciated indeed. You’ve gone above and beyond what I was expecting in support! Rest assured I will give great feedback on your plugin anywhere I can!! – James Barber, for Image Attributes Pro via email. What the pro add-on you get these additional features: Use post title as title text. If image is not attached to a post, image filename will be used instead. Use post title as alt text. If image is not attached to a post, image filename will be used instead. Use post title as caption. If image is not attached to a post, image filename will be used instead. Use post title as description. If image is not attached to a post, image filename will be used instead. Build your own attributes using custom tags like %filename%, %posttitle%, %sitetitle%, %category%, %tag%, %wc_variation%, %yoastfocuskw%, %yoastseotitle%, %rankmathfocuskw%, %seopresstargetkw% and many more. Each custom tag will be replaced with it’s value. You can combine them as you please! Use Yoast Focus Keyword and Rank Math Focus Keyword as image attributes. Clear any image attribute by setting it as blank / empty. Exclude images from Bulk Updater. A meta box and a checkbox is added to the Media Library > Edit Media sidebar. When checked, the bulk updater will not update the attributes of that image in the media library or in posts / products where the image is used. Remove apostrophe ( ‘ ) from filename Remove tilde ( ~ ) from filename Remove plus ( + ) from filename Remove pound ( # ) from filename Remove ampersand ( & ) from filename Remove round brackets ( ( ) ) from filename Remove square brackets ( [ ] ) from filename Remove curly brackets ( { } ) from filename Filter words or characters from filename Filter filename with regex convert image attributes to lowercase CONVERT IMAGE ATTRIBUTES TO UPPERCASE Use title casing for image attributes. First Letter Of Each Word Will Be Capitalized. Use sentence casing for image attributes. First letter of a sentence will be capitalized. Clean the actual image filename after upload. Choose to turn off any of the above mentioned features. With the Image Attributes Pro bulk updater you can: Update image title and alt text for images inserted into posts and custom post types. Not just the media library. What is the difference? Fine tune all settings. Choose what to update. Update image titles / alt text in media library and / or existing posts. Update image titles / alt text in media library and / or existing posts only if no title / alt text is set. Existing image titles / alt text will be preserved. Update image caption and description in the media library. Existing image captions and descriptions can be preserved. Build your own attributes using custom tags like %filename%, %posttitle%, %sitetitle%, %category%, %tag%, %yoastfocuskw%, %yoastseotitle%, %rankmathfocuskw%, %seopresstargetkw% and many more. Each custom tag will be replaced with it’s value. You can combine them as you please! Choose to turn off any of the above mentioned features. Choose specific post types to bulk update. Bulk update image attributes in ACF’s WYSIWYG Editor and Divi theme. Modify auto generated image attributes using the iaffpro_image_attributes filter. Disable updating of attributes in media library completely and just updated attributes in Post HTML or vice versa. Add or remove custom image attributes using the iaffpro_html_image_markup_post_update filter Other Image Attributes Pro features: Bulk edit image attributes from the Media Library quickly and easily. Read more. Bulk Update image attributes from WordPress Media Library. Select images and choose Update image attributes Bulk action in Media Library (list view). Read more. Bulk Update image attributes from WordPress admin page for Posts, Pages and WooCommerce Products. Select the posts, pages or WooCommerce products in bulk and choose “Update image attributes” Bulk action. Read more. Copy image attributes to post HTML while updating in Media Library. Any changes made to image attributes in the media library will be automatically synced to the corresponding post HTML. Read more. Update image attributes on post publish or update. Automatically updates image attributes when a post is published or updated. Ensures image attributes are always consistent with settings. Read more. For screenshots, FAQ and full list of features, please see the product website. No Competitors This is the only one that enables you to add missing tags to your images in one go, simple! … This one is very well coded and the author pays great attentions to users feedback / requests / support. – arsenalemusica