Description
Auto Alt Text from Filename is a lightweight, no-bloat plugin that automatically generates alt text for images and captions for other media files based on their filenames. Improve SEO, accessibility, and content consistency without manual editing.
Perfect for photographers, bloggers, marketers, and content-heavy sites.
Key Features:
- Automatically generates alt text for images
- Optionally generates captions for videos, audio, and documents
- Bulk update existing media in one click
- Clean formatting: removes file extensions, replaces dashes/underscores with spaces
- Optional title-casing (capitalization)
- Supports dozens of formats (JPG, PNG, MP4, MP3, PDF, and more)
- Settings panel with full customization
Example Conversions:
red-sports-car.jpg“Red Sports Car”office_meeting.mp4“Office Meeting”
Additional Features
For developers and advanced users:
– Exclude specific patterns via filter hooks
– Add custom alt text prefixes or suffixes
– WP-CLI support (coming soon)
Screenshots
Installation
- Upload the plugin folder to
/wp-content/plugins/auto-alt-from-filename - Activate the plugin through the Plugins screen in WordPress
- Go to Settings > Alt Text Generator to customize behavior and run the bulk processor
FAQ
-
Does this work with existing files?
-
Yes. Use the Mass Update tool on the plugin settings page to apply captions/alt text to all existing media.
-
Does it generate captions for videos or PDFs?
-
Yes. If enabled in settings, the plugin will auto-generate captions for non-image media like audio, video, and documents.
-
Can I turn off automatic alt generation?
-
Yes. You can uncheck the relevant options in the settings panel.
-
Will it overwrite my existing alt text or captions?
-
No. It only fills empty alt/caption fields and will not overwrite manually entered content.
-
Does it support custom formats?
-
Yes. You can customize both file-type and file-format templates in the plugin settings.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Auto Alt Text From File Name – Made by Saad” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Auto Alt Text From File Name – Made by Saad” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



