Skip to content
regensbot
DEV-IMG-06Should6 of 8 in IMG

Keep images out of Search with robots.txt or X-Robots-Tag, not with CSS tricks

Level
Should

Recommended: skip it only for a reason you can name.

Documentation

Documented

At least one cited Google document states or supports it.

Covered

Automatic

Decided from one URL.

Why it matters

Google's documented ways to keep a site's images out of search results are a robots.txt disallow (for example for Googlebot-Image) or a noindex X-Robots-Tag header, with the Removals tool for emergencies. A CSS background image, suggested on stage, only avoids extraction from that page; the same image URL used in an img element elsewhere or listed in a sitemap can still be indexed.

How to meet it

Disallow the image paths for Googlebot-Image, or send X-Robots-Tag: noindex for them, but not both for the same URLs, because the header is not seen on a disallowed URL.

How to test it

Google's open-source robots.txt parser (github.com/google/robotstxt), run with the Googlebot-Image token, returns disallowed for the image paths, or curl -I on an image shows the X-Robots-Tag header; after recrawl the images no longer appear in Google Images.

How Regensbot covers it

AutomaticNeedsOne URL

Decided from one URL.

An audit reads the response, the headers, the HTML, robots.txt, the sitemaps and the structured data, and the finding shows the evidence it saw.

How verdicts workWhat you connect

Sources

Google documents01

  1. 01Remove images hosted on your site from search resultsGoogle Search Central (opens in a new tab)

Claims in the knowledge base05

  1. D2-C529SourceUsing images to your advantage and Engaging Search users with videosGoogle's documentation
  2. D2-C530n/aUsing images to your advantage and Engaging Search users with videosThe author's interpretation
  3. D2-C826UndocumentedUsing images to your advantage and Engaging Search users with videosSaid on stage
  4. D2-C931ConfirmedUsing images to your advantage and Engaging Search users with videosSaid on stage
  5. D2-C932ConfirmedUsing images to your advantage and Engaging Search users with videosSaid on stage

Claim IDs refer to the Search Central Live 2026 knowledge base. The knowledge base (opens in a new tab)

Confirmed
Google's documentation states the same thing.
Undocumented
Said or shown at the event, not in the documentation.
Source
The claim is the cited document itself.
n/a
Nothing to verify: a quotation, framing, opinion or analysis.

Audit

Check it on your site.

One audit checks a URL against all 138 requirements and returns one finding for each, with its source. One URL decides 66; for each of the others, the finding says which source to connect.