**Short answer:** any generator below can give you a valid robots.txt in a minute. What differs is the extras. SE Ranking has the most ready-made templates for content management systems. DNSChecker is the simplest but lists crawlers from an older era and nothing for AI. If you want one-click rules for AI crawlers such as GPTBot and ClaudeBot, plus a way to test a URL against the file before you publish, our own Robots.txt generator does that. We built it, as the disclosure says.
What to look for
Before you pick a generator
- ✓Does it produce a clean file that matches what you asked for?
- ✓Does it have templates for your platform (WordPress, WooCommerce, Shopify, Next.js)?
- ✓Can it block AI crawlers, and does it tell you the difference between training, search and on-demand fetchers?
- ✓Can you test a page address against the file before you upload it?
- ✓Does it warn you about mistakes, such as blocking your whole site or your CSS and JavaScript?
1. SE Ranking: the most templates
SE Ranking's free generator built our file with no account: User-agent, an Allow row, Disallow: /private/ and the Sitemap line, shown in an editable box. (The form asked for a path in its default Allow row before it would generate, which tripped our first attempt.) A tick box asks you to accept that you use the generator at your own risk before you can download. Its Suggested options tab lists general starting points, such as allow everything, and ready-made files for WordPress, WooCommerce, Joomla, MODX, Drupal, Magento and OpenCart. We did not see AI crawler options on the page, and there is no URL tester there; the page links to a paid-account site audit instead.
**Where it is better than ours:** more CMS templates, and you can edit the result in place. **Where it falls short:** nothing for AI crawlers that we could find, and no tester.
2. DNSChecker: simple, but dated
DNSChecker's generator has a default (allowed or refused), a crawl-delay list, a sitemap box, and an allow-or-refuse dropdown per search engine, including names like DMOZ Checker, Alexa/Wayback and Yahoo MM, with no AI crawlers. It worked with no account. Its output for our request was valid, with one oddity: an empty "Disallow:" line followed by "Disallow: /private/". The empty line is harmless, since crawlers read it as allowing everything, but it is redundant. The page carries ads.
3. Delante: has an AI bots option; we could not get output
Delante's generator offers a URL-to-disable list, a sitemap box and checkboxes for AI bots and crawler bots. In two attempts we filled the fields, ticked AI bots and pressed Generate, and the result box stayed empty. That may be a problem with how we drove the page rather than with the tool, so we cannot rate it. The page is from a search agency and promotes its services.
4. SEOptimer: not tested
SEOptimer's generator showed us a "Just a moment" security check instead of the tool. We do not bypass bot checks, so we could not test it and cannot say what it offers.
5. Our Robots.txt generator: AI toggles, tester, checker
Disclosure: we built this one. It starts from presets (allow everything, WordPress, WooCommerce, Shopify, Next.js, staging), lets you add blocked paths and exceptions, and has toggles for fourteen AI crawlers grouped as training, search and on-demand assistants, with a short note on each. A Test a page box tells you whether an address is allowed for a given crawler and which rule decided it, following the standard matching rules (the longest matching rule wins). A checker flags common mistakes such as Disallow: / for everyone, blocked CSS and JavaScript, and sitemap lines that are not full URLs, and you can paste an existing robots.txt to check instead of building one.
**Where it falls short:** it has fewer CMS templates than SE Ranking (there is no Joomla, Drupal or Magento preset). The crawler list is our own selection and will go out of date, so check each company's documentation before relying on a token. The tester follows the published rules but does not fetch your live site, so it cannot tell you what a crawler actually did. Like all our tools it has a daily number of free runs.
What blocking AI crawlers does and does not do
robots.txt is a request, not a lock. OpenAI's documentation describes GPTBot as the crawler for content that may be used in training, and OAI-SearchBot as the one for ChatGPT search, and says each setting is independent; sites that opt out of OAI-SearchBot will not be shown in ChatGPT search answers. It also says ChatGPT-User is triggered by user actions, so robots.txt rules may not apply to it. Anthropic's help page lists ClaudeBot (training), Claude-User (fetches on a user's request) and Claude-SearchBot (search quality), and says its bots honour robots.txt. Google's documentation says Google-Extended is a control token that does not affect inclusion in Google Search and is not a ranking signal, and that it covers Gemini training and grounding.
Which one should you use?
Pick by situation
- A CMS you know by name (Joomla, Drupal, Magento, OpenCart): SE Ranking's templates.
- A plain file, no AI rules: SE Ranking or DNSChecker.
- AI crawler rules plus a URL tester and a mistakes checker: our Robots.txt generator (/tools/robots-txt-generator).
- Anything you cannot let strangers read: put it behind a login. robots.txt is public and only a request.
Common questions
Where does robots.txt go?
At the root of the domain, so it loads at https://yoursite.com/robots.txt. Each subdomain needs its own file.
Will blocking Google-Extended hurt my search ranking?
Google's documentation says Google-Extended does not impact a site's inclusion in Google Search and is not used as a ranking signal. Googlebot is the crawler that matters for search.
Should I block AI search crawlers too?
That is your call. Blocking a search crawler such as OAI-SearchBot means that product will not show your site in its answers. Blocking only the training crawlers keeps you eligible for AI search results.
Sources we used
- Robots.txt Generator — SE Ranking
- Robots.txt Generator — DNSChecker
- Robots.txt Generator — Delante
- Robots.txt Generator (security check page) — SEOptimer
- Google's common crawlers — Google for Developers
- Overview of OpenAI Crawlers — OpenAI
- Does Anthropic crawl data from the web, and how can site owners block the crawler? — Anthropic
- Robots.txt generator — Huntsville Software (our tool)