Media Folders & AI Alt Text

Description

If you are looking for media library folders and an AI alt text generator in a single plugin, this is it: organize your media library into a folder tree, and let AI write the alt text your images are missing.

Media Folders & AI Alt Text solves the two most common Media Library headaches:

1. No organization. Create a tree of folders and file your media away:

  • Folder sidebar in the Media Library list view with per-folder item counts
  • Create, rename and delete folders — deleting a folder never deletes media; its items simply move back to “Uncategorized”
  • Assign media with a bulk action, or one at a time from the attachment edit screen
  • A folder filter dropdown in the media modal (grid view)
  • Folders are stored as a standard WordPress taxonomy, so your organization survives even if you later remove the plugin

2. Missing alt text. Alt text matters for accessibility and SEO, and writing it by hand for a whole library is tedious. This plugin writes it for you — most folder plugins stop at organizing, and most alt text plugins do nothing else; this one does both in a single, lightweight package:

  • “Generate alt text” button on every image in the attachment edit screen and media modal
  • Bulk tool (Media AI Alt Text) that finds every image missing alt text and generates it in small batches with a progress bar
  • Optional automatic generation when new images are uploaded
  • Alt text language selection (English, Spanish, French, German, Portuguese, Italian, Dutch, Arabic, Urdu, Hindi, Japanese, Chinese)
  • On WordPress 7.0+, generation uses the built-in WordPress AI Client with whichever AI provider you have configured for your site; on older versions (or if no provider is configured), it falls back to OpenAI gpt-4o-mini with your own OpenAI API key, billed to your own OpenAI account

Your API key is stored only in your own site’s database, is never displayed back in full, and no data is tracked or sent anywhere except the disclosed AI requests described below.

External services

To generate image alt text, this plugin uses one of two routes:

Route 1 — the WordPress AI Client (WordPress 7.0+). If your site runs WordPress 7.0 or later and you have configured an AI provider for the built-in WordPress AI Client (for example through a provider connector plugin), the image and the text prompt are sent through that provider’s API by WordPress core itself. Which provider receives the data, and its terms, depend on the provider you configured.

Route 2 — the OpenAI API (fallback). On older WordPress versions, or when no AI Client provider is configured, the plugin connects directly to the OpenAI API, an external service operated by OpenAI, using your own API key.

  • What is sent: the image (as a data URI via the AI Client, or as its file URL via the OpenAI API), plus a short text prompt asking for a concise description in your selected language.
  • When it is sent: only when you (a) click the “Generate alt text” button for an image, (b) run the bulk generation tool under Media AI Alt Text, or (c) enable “Auto-generate on upload” in the settings, in which case each newly uploaded image is sent once at upload time. Nothing is sent at any other time.
  • Service terms: OpenAI Terms of Use
  • Service privacy policy: OpenAI Privacy Policy

Screenshots

Installation

  1. Upload the media-folders-ai-alt-text folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to Media AI Alt Text Settings and paste your OpenAI API key (optional — folders work without it).
  4. Open the Media Library (list view) to start creating folders, and Media AI Alt Text to bulk-generate missing alt text.

FAQ

How do I organize my WordPress media library into folders?

Install the plugin and open Media Library in list view: a folder sidebar appears on the left. Create a folder tree that matches your site (for example by project, product or year), then file media away with the “Assign to Folder” bulk action, or one item at a time from the attachment edit screen. In grid view, use the folder filter dropdown in the media modal to see only one folder’s items. Folders are stored as a standard WordPress taxonomy, and deleting a folder never deletes media — its items simply move back to “Uncategorized”.

How do I generate alt text for all my images at once?

Open Media AI Alt Text. The bulk tool finds every image in your library that is missing alt text and generates it in small batches with a progress bar, so you can clear a whole backlog in one run. There is also a “Generate alt text” button on each individual image, and an optional setting to generate alt text automatically whenever a new image is uploaded.

Is there a free AI alt text generator for WordPress?

Yes — this plugin is free, and its alt text generation has no per-image charge from the plugin itself. On WordPress 7.0+, generation uses the built-in WordPress AI Client with whichever AI provider you have configured for your site; on older versions (or if no provider is configured), it uses OpenAI gpt-4o-mini with your own OpenAI API key, billed to your own OpenAI account at OpenAI’s published rates (typically a fraction of a cent per image). Your key stays in your own site’s database.

Does deleting a folder delete my media?

No. Deleting a folder only removes the folder itself. Every item in it becomes “Uncategorized” again, and no file is ever deleted by this plugin.

Do I need an OpenAI API key?

Only for the AI alt text features, and only on sites where the WordPress AI Client is unavailable. On WordPress 7.0+, if you have configured an AI provider for the built-in AI Client, the plugin uses it and no key needs to be entered here. Otherwise, alt text generation uses your own OpenAI key and your own OpenAI account, so costs stay under your control. Folders work completely without any key or provider.

What does alt text generation cost?

Generation uses the gpt-4o-mini model. At OpenAI’s published per-image pricing this is typically a fraction of a cent per image, billed by OpenAI to your account. Check OpenAI’s current pricing page for exact rates.

Is my API key safe?

The key is stored in your site’s database (WordPress options table), is only ever sent to api.openai.com as an authorization header, and the settings screen only ever shows a masked preview of it.

Does the plugin send data anywhere else?

No. There is no tracking, no analytics and no other external connection. The only external requests are the AI generation calls described in the External services section, and they happen only on the explicit actions listed there.

Which languages can alt text be generated in?

English, Spanish, French, German, Portuguese, Italian, Dutch, Arabic, Urdu, Hindi, Japanese and Chinese (Simplified). Choose yours under Media AI Alt Text Settings.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Media Folders & AI Alt Text” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.2

  • New: a friendly review reminder now appears in the Media Library after the plugin has generated 20 or more alt texts — with “Remind me later” (14 days) and “Don’t show again” options.
  • New: a one-time welcome notice after activation points you to your first folder and the bulk alt text tool.
  • Readme improvements: clearer description and new FAQ entries on organizing the media library into folders and generating alt text in bulk.

1.0.1

  • Alt text generation now uses the built-in WordPress AI Client when available (WordPress 7.0+ with a configured AI provider), falling back to the direct OpenAI integration with your own API key.
  • All internal identifiers renamed to a single unique prefix.
  • Translation loading moved to the init hook.
  • Readme corrections (contributors, tags).

1.0.0

  • Initial release.
  • Media folders: hierarchical folders with a list-view sidebar, bulk assignment, per-attachment folder dropdown, and a media modal filter.
  • AI alt text: per-image generation button, bulk generation tool with progress, optional auto-generation on upload, and language selection (bring your own OpenAI API key).