Robots.txt Generator
Build a correct robots.txt in a few clicks: choose what search engines may crawl, add your sitemap, optionally block AI crawlers, and test any path against the finished file.
How to use the robots.txt generator
- Choose a preset (WordPress, online shop) or type the paths you want to block and allow.
- Add your sitemap address, and tick the AI crawler option if you want to opt out of AI training bots.
- Test a path, then download
robots.txtand upload it to the root of your site, so it opens atyoursite.com/robots.txt.
A robots.txt file tells crawlers which parts of your site they should not visit. It is a request, not a lock: well-behaved crawlers such as Googlebot and Bingbot follow it, but it does not hide private pages from people, and a blocked page can still appear in search results if other sites link to it. To keep a page out of Google, use a noindex tag instead and leave the page crawlable so Google can see the tag. Never use robots.txt to protect sensitive content.
The tester follows Google's matching rules: the longest matching rule wins, and Allow beats Disallow when they are the same length. Wildcards * and the end marker $ are supported.
Frequently asked questions
Where do I put the robots.txt file?
In the root folder of your website, so that it opens at https://yourdomain.com/robots.txt. It must be named exactly robots.txt.
Does blocking a page remove it from Google?
Not by itself. Blocking stops crawling, but the address can stay in results. Use a noindex tag to remove a page.
Which AI crawlers does the option block?
GPTBot, ChatGPT-User, OAI-SearchBot, CCBot, Google-Extended, ClaudeBot, anthropic-ai, PerplexityBot, Bytespider, Amazonbot, Applebot-Extended, Meta-ExternalAgent and cohere-ai. Compliance is voluntary on their side.
Does Google use Crawl-delay?
No. Google ignores it. Bing and some other crawlers respect it.
More free tools
Meta Tag Generator
Title, description, Open Graph and Twitter tags with a Google preview.
0 views0 likesOpen tool →XML Sitemap Generator
Paste your page URLs and download a valid sitemap.xml.
0 views0 likesOpen tool →UTM Link Builder
Tag your links so Google Analytics shows where visitors come from.
1 view0 likesOpen tool →