Training crawlers

img2dataset

img2dataset is a bot that collects pages used to train AI models. Downloads large sets of images into datasets for LLM training or other purposes. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

img2datasetClaim onlyrobots.txt:No policy

Live check

Verify an IP that claimed to be img2dataset

No operator check exists for img2dataset. This still shows what the address really is.

Reference

img2dataset at a glance

Reference data for the img2dataset crawler
User agentimg2dataset

Token only: match on the substring.

Operatorimg2dataset
PurposeScrapes images for use in LLMs.
Respects robots.txtNo policy
Verification methodClaim onlyNone published, user agent only

No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof.

Crawl patternAt the discretion of img2dataset users.
Robots.txt tokensimg2dataset
Operator documentationNone published

Downloads large sets of images into datasets for LLM training or other purposes.

robots.txt

Allow or block img2dataset

Paste one at the root of your domain. Rules are per token.

Block img2dataset
User-agent: img2dataset
Disallow: /
Allow img2dataset
User-agent: img2dataset
Allow: /
Allow, except the pages you never want quoted
User-agent: img2dataset
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

Edit the Disallow paths to match your own URLs.

What blocking actually costs you

Blocking img2dataset keeps your pages out of the next training run. It does not remove anything already collected, and it has no effect on how the site ranks in ordinary search.

Build a file for every crawler

FAQ

img2dataset questions

What is img2dataset?

img2dataset is a bot that collects pages used to train AI models. Downloads large sets of images into datasets for LLM training or other purposes. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

Does img2dataset respect robots.txt?

Not documented. No operator statement says whether img2dataset reads robots.txt, so add the rule but verify in your logs that the requests actually stop.

How do I verify a request really came from img2dataset?

You cannot, at least not from the request itself. No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof. Compare the source IP against hosting and datacenter ranges instead, and rate limit anything that behaves like a crawler.

How do I block img2dataset?

Add the img2dataset token to robots.txt with Disallow: /. If the crawler ignores robots.txt, match the user agent at your CDN or reverse proxy and return 403 there instead.

Will blocking img2dataset hurt my search rankings?

Blocking img2dataset keeps your pages out of the next training run. It does not remove anything already collected, and it has no effect on how the site ranks in ordinary search.

    img2dataset (img2dataset): User Agent, IP Verification & robots.txt | IPScanner