AI Image Captioner

Generate natural language captions and WCAG-compliant alt-text for images. Runs entirely in your browser using ViT-GPT2 vision-language model.

Your images are processed entirely in your browser via ViT-GPT2 vision-language model. Nothing is uploaded to any server.

Note: The ViT-GPT2 model is ~250MB. First-time download may take a minute on mobile data. We recommend WiFi — after caching, subsequent uses are instant.

Upload Images

Drop images here or click to select

PNG, JPG, WebP — batch support, up to 20 images

Runs entirely in your browser. Your data never leaves your device.

How It Works

  1. Model load — ~250MB fetched from CDN → IndexedDB.
  2. Vision encoding — ViT converts pixels into visual feature tokens.
  3. Text generation — GPT-2 generates the description. ~1-3s per image.

Frequently Asked Questions

Are my images uploaded?

No. Everything runs locally with WebAssembly.

What is alt-text?

Screen reader description. Required by WCAG 2.1.

Our Test Data

We tested 200 diverse photographs — average caption time 1.8s on MacBook Air M2.

MetricValue
Model size (INT8)~250MB
CIDEr score103.2 (COCO test)
Avg generation time1.8s / image
Model load (cold start)~45s (CDN) / <2s (cached)

Last verified: September 2026. Results vary by hardware and image complexity.

When Not To Use This Tool