Short answer
Google's image SEO guidance says to embed images in HTML, describe them in alt text, and use a supported format. The image SEO page, updated 2 March 2026, says Google can find an image in an img src and does not index CSS images. Filenames and nearby text are extra clues. None of those pages print a ranking boost for a single tweak.
Last verified against the sources listed below.
Key takeaways
- Google Search supports BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF in an img src.
- A CSS background image is the example Google marks as a pattern it does not index.
- Alt text should describe the image. Google says keyword stuffing can look like spam.
- Always keep a src fallback when you use picture or srcset.
- Image sitemaps may list image URLs on other domains, which is how a CDN host is declared.
- If structured data and IPTC metadata disagree, Google says it uses the structured data.
Image SEO best practices, as Google’s own image page states them, are about discovery and description. Google Search Central says the same general recommendations apply to text-result images, Google Discover, and Google Images. The page was last updated on 2 March 2026. It does not print a points table for each fix.
The practices below stay inside that page, the image-metadata document that replaced an older structured-data URL, MDN’s img reference, and the W3C WAI images tutorial. A file that is smaller to ship still has to be an HTML image before those rules apply.
What should the checklist cover?
Cover discovery, the embedding method, the words around the file, and the format.
| Practice | What Google or MDN states | Skip this |
|---|---|---|
| Embed with HTML | Google finds images in an img src, including inside picture |
A CSS background-image, which Google says it does not index |
| Describe the image | Alt text is the attribute Google calls most important for image metadata | Keyword stuffing, which Google says can look like spam |
| Name the file | A short, descriptive filename gives a light clue | Names such as image1.jpg, pic.gif, or 1.jpg |
| Offer a fallback | srcset and picture should still include src |
A source list with no img fallback |
| Use a listed format | BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF | An extension that does not match the file type |
| Keep one URL | The same image URL can be cached and reused | A new URL for the same file on every page |
| Mark the preferred image | primaryImageOfPage, a main-entity image, or og:image |
A logo, or text baked into that preview image |
That table is a reading list, not a score. Google says high-quality photos appeal more than blurry ones, and that images are often the largest contributor to page size. It points at image optimization and at PageSpeed Insights. It does not say a compressed file outranks an uncompressed one by a fixed amount.
How should the image be embedded?
Use an img element with a src. Google says it does not index CSS images.
The good example on the image SEO page is an img whose src is puppy.jpg and whose alt describes a golden retriever puppy. The bad example is a div with background-image:url(puppy.jpg) and the same words as text inside the div. Crawlers are being pointed at the src. A background is presentation.
Responsive markup is allowed, with a condition. Google says some browsers and crawlers do not understand picture or srcset, so you should always specify a fallback URL in src. The srcset example on the page offers 320, 480, and 800 pixel widths of one image.
Those widths are the example, not a required set. For picture, Google cites the HTML Standard and says the img fallback needs a src. The sample uses an SVG source, a WebP source, and a PNG img.
Data URIs are also allowed. Google shows an img whose src is data:image/svg+xml;base64,[data]. It says inlining can cut HTTP requests and can also make the page much larger, and it points to a web.dev write-up of the tradeoff.
web.dev’s image CDN article is a separate option: transform and deliver from a URL instead of inlining the master. An image sitemap can list files on another domain in image:loc, which is how Google says you can use a CDN. It encourages you to verify that CDN domain in Search Console.
What belongs in alt text?
Alt text is the replacement text, and Google uses it as a clue to the subject.
MDN says browsers do not always show images: a non-visual browser, a user who turned images off, or a broken file. In those cases the browser may show the alt text. Google says it uses alt text along with computer vision and the contents of the page, and that alt also works as anchor text if the image is a link.
The WAI tutorial splits the job by purpose. An informative image gets a short description of the essential information. A decorative image gets alt="".
A functional image, such as a link, gets text that describes the destination. The tutorial says the author decides, based on context. A bird photo can be brief on a parks site and specific on a bird site.
Keyword stuffing is the failure Google shows. A missing alt is bad. An alt that lists “puppy dog baby dog” and a pile of breeds is bad.
alt="puppy" is better. alt="Dalmatian puppy playing fetch" is the example Google marks best. For inline SVG, Google says you can use a title element.
Write the description for a person who cannot see the file. The keywords follow from that sentence if they belong there.
Which formats does Google list?
The image SEO page lists BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF for images referenced in an img src.
It also says the filename extension should match the file type. A WebP served as .jpg fights that advice. What a JPG is is the older photo format in that list, not the only one Google accepts.
SVG and AVIF are on the same list. Support in a browser and eligibility in Google Search are different questions. The page you are reading states Google’s list.
It does not claim every browser paints every format.
Sharp, large-enough files matter for the thumbnail a person sees, and the same page says images often dominate page weight. Compress before you publish. The Image Compressor shrinks a file in the browser. Compression does not write the alt text, and it does not change a CSS background into an img.
How do you name the file?
Use a short filename that says what the picture is, and keep that URL stable.
Google says the filename can give a very light clue. my-new-black-kitten.jpg is the example it prefers to IMG00023.JPG. It says to avoid image1.jpg, pic.gif, and 1.jpg.
If you localize the site, translate filenames too, and follow URL encoding when the name is not Latin. Sites with thousands of images can automate the names. Automation that emits img-48321.jpg misses the point of the example.
If the same photo appears on many pages, Google says to consider crawl budget and to reference the image with the same URL so it can be cached and reused instead of fetched again. A new query string on every template is a different URL. Stable URLs are the practice that page states.
Where does structured data fit?
Structured data can make an image eligible for rich-result treatment, and it can name the preview image.
Google says that if you include structured data, images can appear in certain rich results, including a badge in Google Images. In each of the types it is discussing, the image attribute is required for that badge and rich result. The page also shows two ways to suggest which image is the preview: schema.org primaryImageOfPage on a WebPage, or an image on the main entity, or an og:image meta tag.
The image should represent the page. Google says to avoid a generic logo, text inside that preview image, and an extreme aspect ratio, and to use a high resolution when you can.
The image metadata document covers creator and license details. Structured data is tied to the page. IPTC metadata is embedded in the file and can move with it.
If both are present and they conflict, Google says it uses the structured data. Structured data is the broader topic. For images, the field Google’s pages keep repeating is the image URL itself, plus alt text a person can read.
Frequently asked questions
What does an empty alt mean?
MDN says alt set to an empty string means the image is not a key part of the content, such as decoration or a tracking pixel, and that non-visual browsers may skip it. The W3C WAI images tutorial says the same for decorative images: use a null text alternative when the image only decorates the page. An informative image needs a short description of the essential information. Leaving alt off is the case Google shows as bad, because the description is missing.
When did the img element become widely available?
MDN marks the img element widely available since July 2015, with a note that some parts of the feature vary. That date is a browser-support baseline, not a ranking rule. The same page says width and height, when you set them, are integers without a unit, and that including both lets the browser reserve space before the file loads. Lazy-loaded images especially need those attributes, because an unloaded image otherwise has a width and height of 0.
What is the 300 by 150 fallback?
MDN's sizes section says that if the auto keyword cannot resolve, the browser falls back to the listed source sizes, then to width and height on the element, and finally to the default intrinsic size in the user-agent stylesheet, which MDN states as 300 by 150 CSS pixels. That fallback is a layout default. It is not Google's recommended display size, and it is a reason to set real width and height rather than hope the stylesheet default matches the photo.
How do you opt out of inline linking?
Google's image SEO page says you can stop the full-size image from appearing inline in Google Images. When the image is requested, check the referrer header. If the request comes from a Google domain, reply with status 200, or with status 204 and no content. Google still crawls the page and can show a thumbnail generated at crawl time. The page says this opt-out is not image cloaking and does not require a recrawl of every image.
What is the Licensable badge?
Google's image metadata document says that when you specify image metadata, Google Images can show creator, usage, and credit details. Providing license information can make the image eligible for the Licensable badge, which links to the license. You can supply structured data on each page where the image appears, or IPTC photo metadata embedded in the file. If you supply both and they conflict, Google uses the structured data.
Sources
- Google image SEO best practices · Google Search Central, 2026
- Image metadata in Google Images · Google Search Central, 2026
- img element · MDN, 2026
- Images Tutorial · W3C WAI, 2026
- Use image CDNs to optimize images · web.dev, 2019