SEO and website tools

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.

FreeNo sign-upRuns in your browser
1 view

How to use the robots.txt generator

  1. Choose a preset (WordPress, online shop) or type the paths you want to block and allow.
  2. Add your sitemap address, and tick the AI crawler option if you want to opt out of AI training bots.
  3. Test a path, then download robots.txt and upload it to the root of your site, so it opens at yoursite.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

See all tools

Did this tool help you?Tap the heart to let us know. It takes one second and no account.
Bigland Network IT

Practical tutorials for people who run, build and fix things: operating systems, databases, development, networking and security.

Topics

More

Site

© 2026 Bigland Network. All rights reserved.Always test commands on a non-production system first.
Scroll to Top