Create a robots.txt file to control how bots crawl a website.
The robots.txt generator creates the file that tells crawlers which parts of a website they may visit. Block admin areas, carts and internal search pages, allow exceptions, add the location of your sitemap and, optionally, block the bots that collect data to train AI models.
robots.txt controls crawling, not indexing: a blocked page can still appear in results if other sites link to it. Use a noindex tag for pages that must stay out of search engines.
Disallow and Allow rules, one path per line.
Point crawlers to your XML sitemap.
One switch adds rules for GPTBot, CCBot, Google-Extended, ClaudeBot, PerplexityBot and more.
Get a ready robots.txt file.
In the root folder of the domain, so it opens at https://example.com/robots.txt. Each subdomain needs its own file.
No. It stops crawling, not indexing. Use a noindex meta tag, and let Google crawl the page so it can see it.
No. Google needs them to render the page and judge it correctly.
No, Google ignores it. Bing, Yandex and some other crawlers respect it.