Create a correct robots.txt file in seconds. Presets for Blogger and WordPress, sitemap links, custom disallow rules and one-click options to allow or block AI crawlers like GPTBot and ClaudeBot.
Free and private: this tool runs in your browser and nothing you enter is uploaded.
How to use the Robots.txt Generator
- Choose your platform: the Blogger preset blocks low-value /search label pages and adds both Blogger sitemaps.
- Enter your website URL so the sitemap lines are correct.
- Decide how AI crawlers should be treated – allowing them helps your content appear in ChatGPT, Claude, Perplexity and Google AI answers.
- Copy the result. In Blogger go to Settings → Crawlers and indexing → Enable custom robots.txt and paste it.
Recommended robots.txt for Blogger
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: https://yourblog.blogspot.com/sitemap.xml
Sitemap: https://yourblog.blogspot.com/sitemap-pages.xmlThe Mediapartners-Google rule lets the AdSense crawler read every page so ads match your content. Disallow: /search stops crawlers from wasting time on label and search result pages, which are thin duplicate lists of your posts.
Should I block AI bots?
Blocking AI training bots (GPTBot, CCBot, Google-Extended…) keeps your content out of future model training. Blocking AI search bots (OAI-SearchBot, PerplexityBot, Claude-SearchBot…) also removes you from AI answers and their citations, which can cost traffic. For most tool sites and blogs, allowing AI search bots is the better choice.
Key features of our Robots.txt Generator
- Presets for WordPress, Blogger and any website
- Allow or block AI training and AI search bots
- Custom disallowed paths
- Optional crawl-delay
- Sitemap lines added automatically
- Copy or download robots.txt
Frequently asked questions
Does robots.txt remove pages from Google?
No. It only stops crawling. To remove an indexed page, use a noindex meta tag or the removal tool in Google Search Console.
Where is robots.txt on Blogger?
Visit yourblog.blogspot.com/robots.txt. To change it, enable custom robots.txt in Settings → Crawlers and indexing.
Is Crawl-delay supported by Google?
No, Googlebot ignores Crawl-delay. Bing and Yandex respect it. Leave it empty unless your server is overloaded.
Is the Robots.txt Generator free?
Yes. The Robots.txt Generator is free to use, with no sign-up, no limits and nothing to install. It runs entirely in your browser, so what you type or open stays on your device.
More free tools you may need
- Sitemap Generator
- Meta Tag Generator
- Privacy Policy Generator
- SERP Snippet Preview
- CSS Gradient Generator
The Robots.txt Generator is one of our free web & SEO tools. Every tool runs in your browser on Windows, Mac, Linux, Android and iPhone, with no sign-up.