img2dataset
Open source tool downloading images for machine learning dataset creation
About this crawler
img2dataset is a web crawler identified by the regular-expression pattern img2dataset in the User-Agent request header. It is categorised as ai-crawler. Use the regex above to detect, log, allow, or block img2dataset traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
1.8%
Technical details
- Name
- img2dataset
- Pattern
img2dataset- Tags
- ai-crawler
- Reference
- https://github.com/rom1504/img2dataset
- Added
- 2026/04/17
- Instances
- 1 known sample(s)
Sample User-Agent strings
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 (compatible; img2dataset; +https://github.com/rom1504/img2dataset)
Block this crawler
robots.txt — disallow img2dataset:
User-agent: img2dataset
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} img2dataset [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "img2dataset") {
return 403;
}
← back to all crawlers