Multiple groups
Give Googlebot, Bingbot or any other crawler its own rules.
Build a robots.txt file with crawler groups, allow and disallow rules and sitemap links
This tool is completely free — no credits required. All processing happens in your browser.
User-agent: * Allow: /admin/help/ Disallow: /admin/ Disallow: /cart/ Disallow: /search User-agent: GPTBot User-agent: ClaudeBot User-agent: Google-Extended User-agent: CCBot User-agent: PerplexityBot Disallow: / Sitemap: https://example.com/sitemap.xml
A robots.txt file tells crawlers which parts of your site they may visit. One misplaced line can hide a whole site from search, so this generator writes the file in the standard format (RFC 9309) and checks every path before you publish it.
Each group is a block of User-agent lines followed by its rules; blocks are separated by a blank line.
Each user agent gets its own User-agent line. * matches every crawler that doesn't have a more specific group.
Allow lines come first, then Disallow lines. A group with no rules gets an empty Disallow:, which allows everything.
Every path must start with / (for example /admin/) and contain no spaces. Crawl delay must be 0–60 seconds.
Sitemap: lines go at the end and must be full URLs, such as https://example.com/sitemap.xml.
Give Googlebot, Bingbot or any other crawler its own rules.
One click adds GPTBot, ClaudeBot, Google-Extended, CCBot and PerplexityBot with Disallow: /.
Paths without a leading slash are rejected before they can be misread.
Ask crawlers that honor it, such as Bingbot, to wait between requests.
Point crawlers to every sitemap on your site.
The file is built in your browser.
Site owners who want to guide crawlers without editing the file by hand.
Keep cart, checkout and account pages out of crawls.
Decide whether AI training crawlers may read your content.
Generate a correct file for staging or a new launch.
Draft clean rules for clients and explain each line.
Disallow: / hides the whole site. Use the block-all preset only on staging sites.
A blocked page can still appear in search if other sites link to it. Use a noindex meta tag to keep it out.
robots.txt is public and only a request. Protect private areas with authentication.
Open yoursite.com/robots.txt and check it in your search console's robots.txt report.
At the root of the host, for example https://example.com/robots.txt. Crawlers don't look for it in subfolders, and each subdomain needs its own.
Disallow blocks a path and everything under it. Allow makes an exception inside a blocked path. When rules conflict, Google uses the most specific (longest) matching rule.
GPTBot (OpenAI), ClaudeBot (Anthropic), Google-Extended (Google's AI training control), CCBot (Common Crawl) and PerplexityBot (Perplexity), as named by each operator. New crawlers appear regularly, so review the list from time to time.
No. Google ignores it and adjusts its crawl rate automatically. Bing and some other crawlers honor it.
Reputable crawlers do. Malicious bots can ignore it, which is why it shouldn't be used to hide sensitive content.
Yes. Major crawlers support * for any characters and $ for the end of a URL, for example Disallow: /*.pdf$. Paths still need to start with /.