Article
Image SEO basics from Google's own guide
Short answer
Image SEO is the work of making your images easy for Google to find, understand and show, and Google’s own guide says the same advice covers text result images, Google Discover and Google Images (Google Search Central). The short version: embed images with real HTML image elements, use a supported format, write descriptive alt text and filenames, put images next to relevant text, and keep them fast (Google Search Central).
Below is what Google’s image SEO best practices page actually says, turned into a checklist a small business can work through in an afternoon.
Step 1: Make sure Google can find your images
Google says images are a substantially different format from HTML, so there are extra requirements for getting them indexed (Google Search Central). The first one is boring and matters most.
Use real img elements
Using standard HTML image elements helps crawlers find and process images (Google Search Central). Google can find images in the src attribute of an img element, even when it sits inside another element like picture (Google Search Central). Google doesn’t index CSS images (Google Search Central).
So <img src="puppy.jpg" alt="A golden retriever puppy" /> is fine, while a div with the same puppy as a CSS background image is the doc’s “Bad” example (Google Search Central).
Our read: some site themes drop big banner images in as CSS backgrounds. If your main product photo is one of those, it’s worth asking whoever built the site to switch it to an img element.
Consider an image sitemap
You can submit an image sitemap to point Google at images it might not otherwise discover (Google Search Central). Unlike regular sitemaps, image sitemaps can include URLs from other domains, which lets you host images on a CDN (Google Search Central). If you use a CDN, Google encourages you to verify ownership of the CDN’s domain in Search Console so it can tell you about crawl errors (Google Search Central).
Step 2: Pick a format Google supports
Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF images referenced in an img src attribute (Google Search Central). It also suggests making your file extension match the file type (Google Search Central).
You can inline images as Data URIs, but Google warns this can considerably increase page size (Google Search Central). Our read: on a small business site, skip it unless a developer has a specific reason.
Step 3: Write alt text like a person
Google calls alt text the most important attribute for giving it more metadata about an image, and says it also helps people using screen readers or slow, low-bandwidth connections (Google Search Central). Google uses alt text together with computer vision algorithms and the page’s content to understand what an image shows (Google Search Central).
The doc’s examples make a nice little ladder (Google Search Central):
| Bad | no alt attribute at all. |
|---|---|
| Bad | a long run of dog keywords that starts with “puppy dog baby dog” and wanders off toward dog food. |
| Better | alt="puppy" |
| Best | alt="Dalmatian puppy playing fetch" |
Google says keyword stuffing alt text creates a negative user experience and may cause your site to be seen as spam (Google Search Central). Alt text also works as anchor text if the image is a link (Google Search Central).
Our read: describe what’s actually in the photo, the way you’d describe it to a customer over the phone. Specific beats stuffed every time.
Step 4: Rename IMG00023.JPG
The filename gives Google very light clues about an image’s subject (Google Search Central). Google suggests short, descriptive names, and says my-new-black-kitten.jpg is better than IMG00023.JPG (Google Search Central). It also says to avoid generic names like image1.jpg, pic.gif or 1.jpg when possible (Google Search Central).
If your site has thousands of images, Google says you might consider automating the naming (Google Search Central). If you localize images, translate the filenames too (Google Search Central). (Handy if you sell in more than one language.)
Our read: “very light clues” is Google’s phrase, and it’s honest. Renaming won’t move mountains, but it costs nothing if you do it before upload.
Step 5: Put images where the words are
Google pulls information about an image from the page content, including captions and image titles (Google Search Central). It recommends placing images near relevant text, on pages relevant to the image’s subject (Google Search Central). The content and metadata of the page an image sits on can have a great influence on how and where it appears in Google’s results (Google Search Central).
Our read: a gallery of forty photos with zero words gives Google very little to go on. A product page with the photo beside a clear description and a caption gives it plenty.
If the same image appears on several pages, reference it with the same URL every time so Google can cache and reuse it (Google Search Central).
Step 6: Keep images sharp and fast
Google says sharp images are more appealing in result thumbnails and can increase the likelihood of getting traffic (Google Search Central). It also says images are often the largest contributor to page size, which can make pages slow and expensive to load (Google Search Central). For checking speed, Google points to PageSpeed Insights (Google Search Central).
Responsive images
Pages use the picture element or the srcset attribute to serve different versions of an image for different screens (Google Search Central). Some browsers and crawlers don’t understand these attributes, so Google recommends always including a fallback URL in the src attribute (Google Search Central). When you use picture, include an img element with a src attribute as the fallback (Google Search Central).
Step 7: Tell Google which image represents the page
Google’s selection of a preview image is completely automated (Google Search Central). You can influence it through schema.org primaryImageOfPage, an image property on the page’s main entity, or the og:image meta tag (Google Search Central). Google’s tips for that preferred image (Google Search Central):
- Choose one that’s relevant and representative of the page.
- Avoid generic images like your logo, and avoid images with text.
- Avoid extreme aspect ratios.
- Use a high resolution if possible.
Structured data can also get your images into certain rich results, including a prominent badge in Google Images (Google Search Central). For those structured data types, the image attribute is a required field to be eligible (Google Search Central).
Key takeaway
What to do next
Our read on where to start, in order:
- Open your five most important pages. Check that each main image is a real img element and not a CSS background.
- Look at the file types on those pages and compare them with Google’s supported list above.
- Fill in any missing alt text with a plain description of what’s in the picture. Rewrite anything that reads like a keyword pile.
- Rename files with descriptive names before you upload new ones. Don’t bother bulk-renaming old files unless it’s easy on your platform.
- Make sure each key image has relevant text and, ideally, a caption next to it.
- Run your homepage through PageSpeed Insights and see what it says about images.
- Set a representative og:image for each important page, not your logo.
Nothing in Google’s guide promises a ranking jump for any of this, and we won’t either. It’s housekeeping. Good housekeeping, though, and most of it takes minutes per page. For how Be In GEO checks every claim it publishes, see how Be In GEO works.
Get the worksheet
Want to see which sites AI answers cite for the questions your customers ask? Grab the free worksheet at beingeo.com/checklist. You’ll also get short emails with each new teardown.