
Automatically generate and bulk-apply alt text for images based on filenames. Clean, customizable, and SEO-friendly.
Smart Alt Text automatically creates alt attributes for images based on their filenames — only if they’re missing.
This improves SEO, accessibility, and your site’s overall image quality.
Features:
– Auto-generate alt text from image filenames
– Choose formatting: Title Case, Sentence case, or lowercase
– Bulk apply alt text across your entire Media Library
– Seamlessly supports posts, pages, and builders like Elementor
License
GPLv2 or later
Screenshots

Settings page with alt text statistics and options.

Bulk update of existing images with progress bar and preview of suggested alt text.

Media Library with the Alt text column and bulk actions.
FAQ
Does it work on images I already uploaded, or only new ones?
Both. New uploads get alt text saved automatically. For existing images, use Settings → Smart Alt Text → Update existing images, or the bulk actions in Media → Library (list view). Until you do, the front-end fallback still adds alt text when those images are displayed.
Will it overwrite alt text I wrote myself?
No. Only images with empty alt text are changed. Overwriting happens only when you tick “Also overwrite” or use the “Regenerate alt text (overwrite)” bulk action.
What is the difference between saving alt text and the front-end fallback?
Saved alt text is stored in the Media Library and is used everywhere, including the editor. The fallback only changes the HTML sent to visitors and writes nothing to the database. Running the bulk update once is recommended.
Is file-name alt text good enough?
It is far better than empty alt text, but it is only as good as your file and title names. For important images, rename the image title in the Media Library (or write the alt text by hand) and the plugin will use it.
What happens to images named like IMG_1234.jpg?
With clean-up enabled, a name that is pure camera noise is replaced by the title of the post the image was uploaded to. If there is none, the image is skipped rather than given useless alt text.
What happens when I uninstall the plugin?
Its settings are removed. Alt text already saved to your images stays.
ChangeLog
2.0.0
- New: alt text is now saved automatically for new uploads.
- New: choose the source: image title, file name or parent post title.
- New: clean-up of camera codes, size suffixes, dates and hashes, with fallback to the parent post title.
- New: front-end fallback now also covers images inside post content (block and classic editor).
- New: batched bulk update with progress bar, which no longer times out on large libraries; optional overwrite.
- New: statistics, a preview of suggested alt text, an “Alt text” column and bulk actions in the Media Library.
- New: optionally fill image title, caption and description on upload.
- New: prefix/suffix with {site} and {post} placeholders, plus a “Keep original case” option.
- New: WP-CLI commands and developer filters.
- Fix: settings were not being saved on the settings page.
- Improved: multibyte-safe letter casing, full escaping, translation-ready and uninstall cleanup.
- Tested with WordPress 7.1. Requires WordPress 6.2+ and PHP 7.4+.
1.1
- Added bulk apply functionality for Media Library.
- Added settings page with formatting options.
1.0