Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · AI crawlers

Our illustrators want their portfolio images kept out of AI training sets, so we're adding noai and noimageai to our robots meta tags and an X-Robots-Tag header. Which scrapers actually read those directives, where does the directive have to be for them to see it, and can it hurt how our images appear in Google?

Last updated

TL;DR: Only tools that choose to check them, and only where they look. The documented reader we found is img2dataset, the open-source downloader used to build image-text datasets for model training. By default it drops an image when the image's own HTTP response carries X-Robots-Tag noai, noimageai, noindex or noimageindex. It reads that response header on the image URL, not a robots meta tag in the HTML page around it and not robots.txt, and whoever runs it can turn the check off with --disallowed_header_directives '[]'. Its default user agent is a plain Firefox 72 string; an img2dataset token is added only if the operator sets one, so a header scoped to "img2dataset:" matches only then. Google's robots meta tag documentation (last updated March 24, 2026) doesn't list noai or noimageai among the rules it supports, but noindex and noimageindex are Google rules: putting them on image responses to reach img2dataset also asks Google to keep those images out of search results. Send X-Robots-Tag: noai, noimageai on image responses, and treat it as a request that some tools honor, not a block.

What should I check, step by step?

1. Put the directive on the image responses themselves: send an X-Robots-Tag: noai, noimageai header from the server or CDN for your image URLs. img2dataset checks the header on the image it downloads, not the HTML page that shows it.

  1. Keep the page-level robots meta tag if you like, but don't count on it for images. img2dataset's code reads X-Robots-Tag response headers only.
  2. Don't add noindex or noimageindex to image responses just to reach AI tools. Google documents both as its own rules, so they also ask Google to keep those images out of search results.
  3. Leave the header unscoped (no bot name in front). A header like "X-Robots-Tag: img2dataset: noai" only matches when the operator has set img2dataset as their user agent token, which is off by default.
  4. Check the header is really sent: request an image URL with curl -I and look for X-Robots-Tag in the response, including on CDN, resized and thumbnail URLs.
  5. Expect requests to keep arriving. img2dataset makes the request and drops the image after reading the response headers, and its default user agent looks like an ordinary Firefox browser, so your logs won't show which visits were img2dataset.
  6. Use robots.txt groups and access controls for crawlers that don't read these headers. noai and noimageai are not part of Google's documented rules and img2dataset is the one tool whose docs and code we found reading them.
  7. Write down the date you started sending the header and which URLs carry it, so you can show what you asked for if your images turn up in a dataset later.

Which scrapers actually read the noai and noimageai directives?

img2dataset's README has an Opt-out directives section: websites can pass the HTTP headers X-Robots-Tag: noai, X-Robots-Tag: noindex, X-Robots-Tag: noimageai and X-Robots-Tag: noimageindex, and by default img2dataset ignores images with such headers. Its option disallowed_header_directives defaults to ["noai", "noimageai", "noindex", "noimageindex"], and the README says passing '[]' downloads all images.

Where does a noai directive have to be for img2dataset to see it?

In img2dataset's downloader code, each image URL is requested and the response's X-Robots-Tag headers are parsed before the body is read. If any listed directive is present, the image is skipped with the note "Use of image disallowed by X-Robots-Tag directive". It never parses the HTML page the image appears on, so a <meta name="robots" content="noai"> tag doesn't reach it, and it doesn't fetch robots.txt.

Can noai or noindex on your images affect Google, and what don't they cover?

Google documents noindex as "Do not show this page, media, or resource in search results" and noimageindex as "Do not index images on this page". img2dataset honors both by default, but sending them on image responses also asks Google to keep those images out of search results. noai and noimageai reach img2dataset without that cost, because Google doesn't list them as rules it uses.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We started sending X-Robots-Tag: noai, noimageai on every image URL under /portfolio/ (origin and CDN) today, and checked it with curl -I on 20 sample images including thumbnails. Record what we changed and when.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "security.config_change",
    "outcome": "success",
    "occurred_at": "2026-11-24T18:00:00Z",
    "client_event_id": "noai-header:portfolio-2026-11-24",
    "summary": "X-Robots-Tag: noai, noimageai added to image responses under /portfolio/ (origin + CDN, thumbnails included); verified with curl -I on 20 sample image URLs; noindex/noimageindex not used so Google Images listing is unchanged",
    "action_sha256": "<sha256 of the header config and the curl -I output>"
  }
}

Rightshold isn't affiliated with img2dataset or Google and can't see which tools request your images. img2dataset's behavior is as its README and downloader code on GitHub showed on November 24, 2026, and Google's supported rules are as its robots meta tag documentation (last updated March 24, 2026) listed them; both can change. Not legal advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'