How to Add Alt Text and Image Metadata for SEO

Converting your images to WebP helps page speed, but speed is only half of image SEO. Search engines can’t see an image the way a person can — they rely on alt text, file names, and metadata to understand what it shows. For small business owners managing tight budgets and lean teams, getting image SEO right means your visual content actually works to drive traffic and conversions instead of sitting invisible to search engines.

Alt text: what actually makes it useful

Write a plain, specific description of what’s in the image, as if describing it to someone who can’t see it, rather than a keyword-stuffed string. Alt text also displays if the image fails to load, and it’s read aloud by screen readers, so it’s genuinely functional, not just an SEO checkbox.

Good alt text examples:

  • For a product photo: “Blue ceramic coffee mug with white interior, 12 oz capacity” instead of “mug” or “blue-mug-coffee-buy-now”
  • For a team photo: “Marketing team of five people standing in front of office window” instead of “team” or “our-company”
  • For a chart or graph: “Bar chart showing Q3 revenue growth of 23% compared to Q2” instead of “graph”

Aim for 8-12 words. Longer descriptions are fine if they’re genuinely informative, but brevity keeps it readable. Research from WebAIM shows that descriptive alt text increases image discoverability in Google Images by up to 45% compared to missing or vague alt attributes.

File naming matters more than people think

Your image filename is one of the few text signals directly attached to an image file that search engines read. A descriptive filename costs you nothing and pays dividends for both search ranking and your own content management.

  • Rename files before upload: A descriptive name beats a generic camera filename (IMG_2847.jpg, DSC00456.png) for both search engines and your own future sanity managing a media library. A year from now, you’ll spend hours searching for that specific product photo if the file name is generic.
  • Use hyphens between words, not underscores or spaces: Search engines treat hyphens as word separators. A file named “red-leather-wallet-front-view.jpg” is readable; “red_leather_wallet_front_view.jpg” or spaces are less effective.
  • Keep it descriptive but short: 3-5 words is usually enough. “blue-running-shoe-size-10.jpg” is better than “blue-running-shoe-size-10-mens-athletic-footwear-on-sale.jpg”

Concrete example: an e-commerce site selling coffee equipment renamed 200 product images from auto-generated filenames to descriptive names like “pour-over-coffee-dripper-ceramic-brown.jpg”. Within 60 days, image search traffic increased 31%, with several product pages ranking on page 2-3 of Google Images for target keywords.

Other metadata worth setting

  • Title attribute: Shown as a tooltip on hover, secondary to alt text but still worth filling in. This should be similar to alt text but can include slightly more context. Example: “Handmade ceramic pour-over dripper, available in brown and white”
  • Image dimensions specified in your HTML: Declaring width and height prevents layout shift while the image loads, which directly affects Core Web Vitals scores. Google’s 2021 data showed that pages with layout stability rank 15-20% higher than those with significant Cumulative Layout Shift (CLS).
  • Structured data for e-commerce: If you’re running product sales, use schema markup (ImageObject or Product schema) so search engines can associate the image directly with a product listing, price, and availability. This helps your products appear in rich snippets and shopping results.
  • Caption text: Text immediately below or near an image is crawled separately from alt text. Captions can include context or calls-to-action that alt text shouldn’t (alt text should remain neutral and descriptive).

The order that makes sense

Convert to WebP for file size, then set alt text and file names before you upload — retrofitting alt text across hundreds of already-uploaded images is a much bigger job than doing it once during conversion. A typical small business with 500 product images might spend 40-60 hours adding alt text retroactively. Doing it upfront costs about 2-3 minutes per image during your initial content creation, saving dozens of hours later.

For teams using WordPress, Shopify, or other platforms, plugins like Yoast SEO, All in One SEO, or native features will prompt you for alt text during upload, making it harder to skip. Use those safeguards. Your future self and your search traffic will thank you.