robots.txt generator
Build a robots.txt with rules, AI crawler presets and a sitemap, and test a path against it.
Rules
robots.txt
Test a path
GPTBot (OpenAI): model training ClaudeBot (Anthropic): model training Google-Extended (Google): model training Applebot-Extended (Apple): model training CCBot (Common Crawl): model training Bytespider (ByteDance): model training Meta-ExternalAgent (Meta): model training cohere-ai (Cohere): model training Diffbot (Diffbot): model training
What it does
The generator writes a robots.txt from your rules, can block AI crawlers such as GPTBot and ClaudeBot, adds your sitemap, and tells you whether a path is allowed for a crawler. Use it as a robots.txt generator for a new site. Add the folders to keep out and the exceptions that stay open, and the tool warns you if a rule blocks the whole site.
How to use it
- 1Add the paths to keep out.
- 2Choose how to treat AI crawlers.
- 3Test a path, then upload the file to /robots.txt.
Common uses
- Write a first robots.txt for a new site.
- Keep admin folders or search result pages out of crawling.
- Block AI training crawlers and keep search crawlers.
- Add the address of your sitemap.
- Test whether a path is allowed for a crawler before you upload the file.
Questions
Does robots.txt stop crawlers?
It is a request. Well-behaved crawlers follow it. It does not hide private pages.
Will blocking AI crawlers hurt my search ranking?
Blocking training crawlers does not affect normal search. Blocking a search crawler can reduce your reach in that search.
How is a path tested?
With the usual rules: the crawler’s own group wins, the longest matching rule wins, and Allow wins a tie.
Where do I put robots.txt?
In the top folder of your site, so it is reachable at /robots.txt.
How do I block GPTBot?
Under AI crawlers choose Block training. Training crawlers such as GPTBot are then blocked.
What does Disallow: / do?
It blocks the whole site for that crawler. The tool warns you about it.
Does robots.txt remove a page from Google?
No. It controls crawling, not indexing. A blocked URL can still show up in results if other sites link to it.