Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Auto Alt Text icon

Auto Alt Text

v3.0.4
by Valerio Monti · 5.0 (8 reviews)

This plugin allows you to automatically generate an Alt Text for images uploaded into the media library via AI.

4K+ active installs Updated Nov 27, 2026 Tested to 7.1.0 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Auto Alt Text

About Auto Alt Text

This plugin automatically generates alt text for images in your WordPress media library. You can choose to use AI from OpenAI or Azure, or simply copy the title of the article or image. The plugin provides different methods for generating alt text and allows you to configure the settings accordingly.

Screenshots

Auto Alt Text screenshot
Auto Alt Text screenshot
Auto Alt Text screenshot
Auto Alt Text screenshot
Auto Alt Text screenshot
Auto Alt Text screenshot

Changelog

3.0.4

  • Fix the “Implicitly marking parameter as nullable is deprecated” notices on PHP 8.4 and 8.5, which on some setups (e.g. Sage/Acorn themes) also caused a fatal “headers already sent” error in the admin
  • Update development dependencies flagged by security advisories

3.0.3

  • Send the API requests over IPv4, so the generation no longer fails on hosts whose IPv6 address Google geolocates outside the supported regions
  • Explain in the error log that a rejection based on the location depends on the server outbound IP, not on the API key or the plan
  • Ask Gemini for a low thinking level instead of a minimal one, which the most recent models refuse
  • Implement the Google Gemini API as an alternative for generating alt text
  • Fill missing alt text on images rendered in the post content, using the alt text stored in the media library, without modifying the saved content
  • Add the “Automatically render alt text in content” option to enable/disable this behaviour (disabled by default)
  • Retrieve the available OpenAI and Gemini models automatically, and notify the user when the selected model is no longer available
  • Add the Gemini 3.6 Flash model, now used as the fallback when the selected one is unavailable
  • Send the image to Gemini inline instead of by URL, so the generation also works on sites Google cannot reach (local, staging, HTTP authentication)
  • Avoid duplicate entries in the error log
  • Replace the admin-ajax call for the single image generation with a REST API endpoint
  • Update translations, Vite and the Composer dependencies

2.8.2

  • Improve compatibility scoping vendor dependencies

2.8.1

  • Update available Claude models

2.8.0

  • Implement WP CLI commands for generating alt text

2.7.0

  • Migrate to the Responses API from the Chat Completion API for OpenAI
  • Remove o1 Mini deprecated model

2.6.2

  • Replace hardcoded Openai model with the one selected from the user
  • Update phpunit
  • Update Vite

2.6.1

  • Avoid to truncate alt text too long

2.6.0

  • Implement SOLID principles
  • Use design patterns
  • Implement tests
  • Preserve Media Library pagination when redirecting after bulk action

2.5.3

  • Protect the plugin from Cross-Site Request Forgery attacks

2.5.2

  • Enable the use of OpenAI’s GPT-5, GPT-5 Mini and GPT-5 nano models.

2.5.1

  • Replace a deprecated Azure Computer Vision api version.

2.5.0

  • Implement the Anthropic API as an alternative for generating alt text.

2.4.2

  • Modify documentation and build again the assets

2.4.1

  • Fixed: Alt text now correctly persists when generated from both the post media overlay and the main Media Library.

2.4.0

  • Introduce two new plugin-specific constants, AATXT_ENCRYPTION_KEY and AATXT_ENCRYPTION_SALT, allowing API keys to be encrypted independently of WordPress’s own salts.
  • Implement automatic migration of existing encrypted API keys: on upgrade, keys encrypted with the old WP salts are decrypted (if possible) and re-encrypted with the new plugin key.
  • Add an optional info notice on the Auto Alt Text options page showing the ready-to-copy define() statements for wp-config.php.
  • Maintain full backward-compatibility: if the new constants are not defined, the plugin continues to use the WordPress LOGGED_IN_KEY/LOGGED_IN_SALT fallback without interruption.

2.3.4

  • Displays an error message in the administration area if the WordPress salt keys were changed after the OpenAI API key was set. The message asks the user to enter the OpenAI API key again.
  • Update npm packages

2.3.3

  • Fix a return type error in the alt text generation

2.3.2

  • Avoid generating alt text for not supported mime types
  • Hide the ‘Generate Alt Text’ button in media library for unsupported mime types
  • Update npm packages

2.3.1

  • Tested up to WordPress 6.7.2

2.3.0

  • Preserves alt tags already present in images by preventing them from being overwritten by those generated by the plugin
  • Update npm packages

2.2.0

  • Allow users to select the preferred Openai model for generating alt text

2.1.0

  • Allow users to generate the alt text for each individual image in the media library

2.0.0

  • Set a maximum timeout of 90 seconds for OpenAI requests
  • Implement the gpt-4o model for generating alt text
  • Implement gpt-4-turbo template for fallback alt text generation
  • Remove gpt-4 and gpt-3.5 templates as fallback options

1.3.0

  • Implement bulk alt text generation for images already in the media library
  • Update Vite package
  • Implement github actions for automatic release

1.2.4

  • Code refactoring
  • DB security improvements

1.2.3

  • Code refactoring

1.2.2

  • Add Database log management
  • Escape all output
  • Add AATXT_ prefix
  • Update Vite package
  • Remove file log management

1.0.0

  • Plugin released

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…