Robots.txt Generator & Tester
Build a correct robots.txt in seconds, block AI crawlers if you want, and test which URLs each bot may crawl.
AI and SEO crawlers
How to use the Robots.txt Generator
- Pick a starting pointChoose Blogger, WordPress, an online store, allow-all or block-all, and enter your site URL.
- Adjust the rulesAdd folders to disallow and exceptions to allow, tick AI or SEO crawlers to block, and include your sitemap.
- Test and publishTest any URL against each bot, then copy or download the file. On Blogger, paste it in Settings → Crawlers and indexing → Custom robots.txt.
Example
Blogger preset: Disallow: /search keeps label and search pages out of Google while Allow: / lets posts be crawled.
Tick GPTBot and ClaudeBot to add separate groups with Disallow: /, so those AI crawlers skip your whole site.
Frequently asked questions
Does robots.txt remove pages from Google?
No. It stops crawling, not indexing. A blocked URL can still appear in results if other sites link to it. To remove a page, use a noindex meta tag and let Google crawl it.
How are Allow and Disallow conflicts decided?
Google uses the most specific (longest) matching rule; if an Allow and a Disallow are the same length, Allow wins. A bot with its own User-agent group ignores the * group. The tester follows these rules.
Where does the file go?
At the root of your domain, exactly at /robots.txt (for example https://www.example.com/robots.txt). On Blogger, turn on custom robots.txt in Settings and paste the text.