robots.txt Generator
Build a correct robots.txt in seconds: default rules, extra rules per crawler, one-click AI crawler blocking and sitemap links.
Rules
robots.txt
How to use robots.txt Generator
- Set the defaultChoose whether all crawlers may crawl the site, then list paths to disallow, one per line.
- Add specific botsOptionally block AI training crawlers or add rules for individual user agents, and add your sitemap URLs.
- DownloadCopy or download robots.txt and upload it to the root of your site, e.g. https://example.com/robots.txt.
Limits and how it works
- robots.txt is advisory. Reputable crawlers respect it; scrapers and malicious bots may not.
- Crawl-delay is ignored by Google; Bing and Yandex honor it.
- The AI crawler list covers the best-known user agents at the time of writing and is not exhaustive.
- Runs entirely in your browser; nothing you type is sent to a server.
Control crawling without hurting SEO
robots.txt tells well-behaved crawlers which parts of a site they may request. It is the right place to keep crawlers out of admin areas, search result pages and endless filter URLs, and to point them to your XML sitemaps.
It is not a security feature: the file is public and bad bots ignore it. To keep a page out of search results, let it be crawled and use a noindex meta tag instead; a disallowed page can still be indexed from links.
Frequently asked questions
Where do I put robots.txt?
At the root of the host: https://example.com/robots.txt. Each subdomain and protocol needs its own file.
Does Disallow remove a page from Google?
No. It stops crawling, but a blocked URL can still be indexed from links. Use a noindex tag (and allow crawling) to remove a page.
How do I block AI crawlers?
Tick “Block AI crawlers” to add Disallow: / rules for GPTBot, ClaudeBot, Google-Extended, CCBot, PerplexityBot and others. This does not affect normal search crawling.
What does an empty Disallow mean?
“Disallow:” with no path allows everything. “Disallow: /” blocks the whole site.
Related tools
All toolsXML Sitemap Generator
Turn a list of URLs into a valid sitemap.xml file.
Meta Tag Generator
Build title, description, Open Graph and Twitter card tags.
Redirect Checker
Trace every 301, 302, 307 and 308 hop from a URL to the final page.
HTTP Headers Checker
See the status code and response headers a public URL returns.