How to block CCBot
Add this rule to your robots.txt at the root of your domain:
User-agent: CCBot Disallow: /
Blocking CCBot stops future crawls only. Already-published Common Crawl datasets still contain older snapshots of your site.
How to allow CCBot
If you want CCBot to crawl your site, make sure no rule disallows it. An explicit allow looks like this:
User-agent: CCBot Allow: /
Then confirm from the live fetch with the AI crawler checker, which reads your published robots.txt the way a crawler would.
How to verify CCBot
The reliable check is reverse DNS on the fetching IP address. Run the lookup below against any visitor claiming the CCBot token; a genuine fetch resolves inside Common Crawl's address space, and a spoofed one does not.
dig +short -x 203.0.113.5 # e.g. for fetching-ip # A genuine CCBot fetch resolves to an Common Crawl address
Frequently asked questions
Does blocking CCBot remove my site from existing datasets?+
No. It only prevents future crawls. Previously published Common Crawl snapshots are not retroactively edited.
Why block CCBot if I already allow AI search bots?+
Common Crawl is a raw dataset license-free to anyone, including model trainers you have never heard of. Some publishers allow search crawlers but refuse blanket dataset inclusion.
How do I verify CCBot?+
Reverse DNS on the fetching IP should resolve to a Common Crawl address.
Related: all AI crawlers, how to block AI crawlers, how to allow AI crawlers, robots.txt guide.