SEO & AEO
Image SEO for Business Websites: Alt Text, File Names and Formats
What Google documents about images: alt text, file names, supported formats, responsive images, image sitemaps and a checklist for a business site.
Images carry a large share of a business site’s weight and meaning: product shots, team photos, diagrams, case study visuals. They also fail quietly. An image set as a CSS background, a file named after a camera counter and an empty alt attribute each cost something, and none produces an error.
The short answer: use real img elements for images that matter, write short descriptive alt text that says what the image shows, give files descriptive names, use supported formats, provide a fallback src when you use responsive images and consider an image sitemap for images Google would not otherwise find.
A disclosure: Biply designs and builds websites and offers SEO, so images are part of both of our jobs. This guide restates Google’s image documentation and does not cover performance measurement in depth; see does website speed affect rankings? for that.
What Google documents
- Alt text is the most important attribute for image metadata. Avoid keyword stuffing; Google’s examples run from a missing alt, to a stuffed alt, to a better “puppy” and a best “Dalmatian puppy playing fetch”.
- File names should be short but descriptive; avoid generic names.
- Formats: BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, with the extension matching the file type.
- Embedding: Google finds images in the
srcattribute ofimgelements and does not index CSS images. - Responsive images: use
srcsetandsizesorpicture, and always specify a fallback URL insrc. - Image sitemaps help with images not otherwise discovered, and can include URLs from other domains.
- Consistency: reference an image with the same URL each time it is used.
- Social and structured data images: for
og:imageor schema images, prefer a relevant image, and avoid generic logos, text-heavy images and extreme aspect ratios.
Alt text in practice
| Image | Weak alt | Better alt |
|---|---|---|
| Photo of a team at a workshop | image1 or empty |
“Four consultants reviewing a floor plan at a client workshop” |
| Chart of monthly enquiries | “chart” | “Line chart of monthly enquiries rising from January to June” |
| Decorative divider | A long description | Empty alt, because it conveys nothing |
| Product photo | “best cheap widget buy now” | “Grey ceramic desk lamp with a wooden base” |
Alt text also serves people using screen readers; see accessibility basics. The same sentence that helps accessibility usually satisfies search.
Formats and loading, from web.dev
web.dev’s guidance on image formats says to ask first whether an image is needed at all, and notes CSS effects and web fonts as alternatives; it advises against text in images. It describes SVG as ideal for logos, text and icons and weak for complex scenes such as photos, and PNG as the highest quality but at a significantly higher file size. For photos it suggests JPEG, lossy WebP or AVIF, and says WebP and AVIF generally compress better than older formats and should be used where possible, with a fallback.
On loading, web.dev says not to lazy-load images likely to be in the viewport when the page loads, especially the largest contentful image, to use loading="lazy" only for images outside the initial viewport, and to add width and height attributes to img tags to reserve space and avoid layout shifts. Google’s image page does not itself discuss lazy-loading, so treat these as performance guidance, not an SEO ranking claim.
Alt text from the accessibility side
The W3C’s guidance on non-text content says images need a text alternative that serves the equivalent purpose, that purely decorative images should be implemented so assistive technology can ignore them, and that putting alt text on such items distracts screen reader users. It names using file names or placeholder text as alternatives, and omitting alt, as failures. Complex images such as charts need a short alternative plus a longer description.
An image checklist
- Important images are
imgelements, not CSS backgrounds. - Alt text is accurate and not stuffed; decorative images have empty alt.
- File names describe the image and match the format.
- Formats are supported; check what your platform exports.
- Responsive markup has a fallback
src. - Image URLs are stable, so redirects and old links keep working; see how to build a redirect map.
- Images load without blocking the largest content; see 3D heroes and performance for the LCP rules.
- Social images are relevant and not text walls.
- An image sitemap exists if images are loaded in ways Google cannot discover.
A hypothetical audit
A site’s service pages use a full-width CSS background for the hero photo and no text alternative. The audit finds it, swaps the background for an img with descriptive alt text, renames files from DSC_0192.jpg to a descriptive name and adds a srcset with the original as fallback. None of this guarantees traffic from image search. It makes the images understandable to Google and to people who cannot see them.
Next steps
If you want your images audited as part of a technical review, see our SEO + AEO service and contact us.
Sources
- Google Search Central, Google Images SEO best practices
- W3C, Understanding SC 1.1.1: Non-text Content
- web.dev, Choose the right image format
- web.dev, Browser-level image lazy loading
FAQ
Frequently asked questions
What is the most important image attribute for SEO?
Google's image guidance says the most important attribute for giving an image more metadata is the alt text. It should describe the image, and Google advises against stuffing keywords into it.
Does Google index CSS background images?
Google says it does not index CSS images. Images it finds in the src attribute of img elements can be indexed, so use an img element for images that matter.
Which image formats can Google index?
Google lists BMP, GIF, JPEG, PNG, WebP, SVG and AVIF, and suggests the file extension should match the file type.
How should I name image files?
Google recommends short, descriptive file names, for example my-new-black-kitten.jpg rather than IMG00023.JPG, and avoiding generic names such as image1.jpg.
Do I need an image sitemap?
Only for images not otherwise discovered. Google says you can submit one, and that image sitemaps can include URLs from other domains, which supports content delivery networks.
Keep reading
- SEO & AEOCanonical Tags and Duplicate Content: A Guide for Site OwnersWhat canonical tags do, when duplicate URLs happen, which signals Google treats as strong or weak, and what Google says about duplicate content and penalties.
- SEO & AEO'Crawled - Currently Not Indexed': What It Means and What to DoWhat Search Console's 'Crawled - currently not indexed' and related statuses mean, when they are normal, and how to diagnose important pages that stay out.
- SEO & AEODoes llms.txt Matter? What the Evidence SaysWhat llms.txt is, what Google says about AI text files, what Webflow's help center says about its effect, and a low-cost way to decide whether to add one.
