Advertisement
🖼️
Content

Bulk Image Alt Text Generator

Generate SEO-optimized alt text for an entire folder of images using Claude AI's vision. Scan HTML files for missing alt tags and optionally write them back automatically. Great for WordPress, Shopify, and accessibility compliance.

Download from GitHub

Free and open source. Process hundreds of images for under a dollar with claude-haiku.

View on GitHub →

What it does

Uses Claude AI's vision capabilities to actually look at each image and write accurate, descriptive alt text. Supports local image folders, scanning HTML files for missing alt attributes (and optionally writing them back), and batch processing a list of image URLs.

Features

Quick start

git clone https://github.com/Get-Ai-Tools/bulk-image-alt-generator
cd bulk-image-alt-generator
pip install -r requirements.txt

# Process a folder of images
python alt_generator.py --api-key sk-ant-... --folder ./images

# SEO style with context
python alt_generator.py --api-key sk-ant-... --folder ./product-photos \
  --style seo --context "women's fashion e-commerce store"

# Fix missing alt tags in an HTML file
python alt_generator.py --api-key sk-ant-... --html index.html --fix --missing-only

Style options

Requirements

How much does it cost per image?

Using claude-haiku, each image costs roughly $0.001-$0.003 to process. You can generate alt text for 500 images for under $1.50.

Can I use this for WordPress?

Yes. Export the results as CSV, then use WordPress's bulk import tools or a plugin like WP All Import to update alt text for your media library images in bulk.