Free Robots.txt Generator

Create and validate robots.txt rules for search engines and AI crawlers, add sitemap directives, then copy or download your file. Free, no account required.

Build crawl rules, then review them before deployment

robots.txt controls crawling, not guaranteed indexing removal, and it is not a security mechanism. A blocked URL can still appear in search if discovered elsewhere. Keep private content behind authentication, and keep pages crawlable when search engines must see a noindex directive.

Starting presets

Presets replace or add groups as described. Always review the generated file for your host.

Search engine rules

Create one or more user-agent groups. Named groups can override wildcard rules.

Group 1

Support varies by crawler. Google does not support Crawl-delay in robots.txt.

AI crawler policySet explicit Allow or Block groups using current provider documentation.Show

Search / retrieval

OAI-SearchBotOpenAISource

Surfaces websites in ChatGPT search results. Allowing it does not guarantee inclusion or citation.

Claude-SearchBotAnthropicSource

Supports search indexing and result quality for Claude.

PerplexityBotPerplexitySource

Indexes public pages for Perplexity search results and is not described as a foundation-model training crawler.

Training / extended use

GPTBotOpenAISource

Signals whether crawled content may be used to train OpenAI generative AI foundation models.

ClaudeBotAnthropicSource

Collects public web content that may contribute to future Anthropic model training.

Google-ExtendedGoogleSource

A control token for Gemini training and grounding; it is not a separate crawler and does not affect Google Search inclusion.

Applebot-ExtendedAppleSource

A data-use control for content fetched by Applebot; it does not crawl pages itself.

User-triggered

ChatGPT-UserOpenAISource

Fetches pages in response to user actions. User-triggered agents may not follow robots.txt like autonomous crawlers.

Claude-UserAnthropicSource

Retrieves web content at a Claude user's direction.

Perplexity-UserPerplexitySource

Supports user-requested page visits and is documented as generally ignoring robots.txt.

General / mixed

CCBotCommon CrawlSource

Builds the open Common Crawl web corpus, which can support many downstream uses.

AmazonbotAmazonSource

A general Amazon crawler used to improve services, including uses that may involve machine learning.

Provider purposes and behavior change over time. User-triggered agents may handle robots.txt differently. Blocking one category does not block every AI use.

Sitemap directives

Use absolute URLs with a protocol. Multiple sitemap URLs are supported.

Advanced directives

Host is a non-standard directive associated with Yandex and is not universally supported.

These lines are checked for structural issues but are not added to the generated file.

Live preview
# robots.txt generated by ToolMint - https://www.tool-mint.com

User-agent: *
Allow: 

ToolMint syntax review

Structural checks only; not a replacement for crawler-specific testing.

0 errors0 warnings
  • No structural errors or warnings found. Crawler-specific behavior can still vary.

Ready to copy or download. Review the rules for your host before deployment.

Steps

How to use

  1. Choose a reviewed starting preset or keep the custom wildcard group.
  2. Add Allow and Disallow paths, then set explicit AI crawler choices where needed.
  3. Add absolute sitemap URLs and optional advanced directives.
  4. Review errors and warnings before copying or downloading robots.txt.
Examples and use cases
  • Allow documented AI search agents while blocking documented training or extended-use tokens.
  • Use a conservative WordPress starting point that blocks /wp-admin/ while allowing admin-ajax.php.
Privacy, limits and tool details

Key facts

Best for
Drafting and reviewing crawl directives before deployment
Crawler controls
Search, training or extended-use, user-triggered, and general-purpose agents
Validation
ToolMint syntax review with error, warning, and informational findings
Sitemaps
Multiple absolute Sitemap directives
Output
Copy or download a plain-text robots.txt file
Privacy model
Rules and URLs remain in the current browser tab and are not sent through analytics
Account required
No
Main limitation
Crawler support and path matching can vary; verify important rules with the relevant provider tools
Privacy

Privacy and processing

Processing method: Client-side rule generation and structural syntax review in the current browser tab.

Privacy model: Custom paths, sitemap URLs, host values, and generated robots.txt contents are not uploaded or sent through analytics.

Limitations

Limitations

  • ToolMint syntax review checks deterministic structural issues but does not reproduce every crawler's path-matching implementation or Google Search Console.
  • robots.txt controls cooperative crawler access. It is not access control and does not guarantee removal from search indexes.
  • AI crawler purposes and robots.txt behavior can change; review linked provider documentation before relying on a policy.
  • Crawl-delay, Host, wildcard, and end-anchor support varies between crawlers.
Tips

Pro tips

  • Keep private content behind authentication instead of listing sensitive paths as a security measure.
  • When a named crawler group overrides wildcard rules, repeat shared private Disallow paths where necessary.
  • A noindex directive generally needs to remain crawlable so search engines can see it.
Watch out

Common mistakes to avoid

  • Blocking CSS, JavaScript, images, or rendering assets needed to understand a page.
  • Using Disallow: / on a production wildcard group without recognizing that it requests a full-site crawl block.
  • Treating Google-Extended as an independent crawler or treating every AI user agent as a training crawler.

Sources

Detailed Robots.txt Generator guide

Build and review your robots.txt

Use a starting preset or create custom user-agent groups, then inspect the live output before deployment. The ToolMint syntax review flags structural errors and common safety risks without claiming to reproduce every crawler's matching behavior.

The AI crawler catalogue separates search and retrieval agents from training or extended-use controls, user-triggered agents, and general-purpose crawlers. Provider behavior changes over time, so use the linked official sources when a policy decision matters.

Deploy the generated file

  1. Review every Allow and Disallow path for the production host.
  2. Confirm named user-agent groups retain any private paths that the wildcard group blocks.
  3. Add absolute Sitemap: URLs where useful.
  4. Fix every syntax-review error, review any warnings, then copy or download the output as robots.txt.
  5. Publish it at the root of the applicable host, such as https://example.com/robots.txt.
  6. Confirm the deployed file returns successfully and contains the intended rules.

Use the related XML Sitemap Generator to prepare a small sitemap, then reference its absolute URL here. After deployment, run the SEO Audit to screen the live robots.txt and related crawl signals.

Validation and export states

Copy and download remain disabled while the ToolMint syntax review reports an error, such as a missing user-agent, a relative sitemap URL, an invalid path, or an invalid crawl-delay value. The live preview stays visible so you can inspect and correct the draft. Correcting the errors restores both actions automatically.

Warnings allow export because they may describe deliberate choices, including the block-all preset. Review each warning before deployment; an exportable file is not a guarantee that its rules match your intentions or every crawler's behavior.

The optional existing-file review contributes to the same syntax review. Fix errors in that text or clear it to restore export. Those lines are never included in the generated file. Reset clears the custom rules, sitemap, host, and review text and restores the allow-all starting point.

Safety boundaries

robots.txt is public and is not authentication. It asks compliant crawlers not to fetch paths, but it cannot make private content secure or guarantee that a discovered URL disappears from search results.

A noindex instruction belongs in a robots meta tag or X-Robots-Tag header. Search engines generally need permission to crawl the URL before they can see that instruction.

For path matching, crawler-specific troubleshooting, indexing behavior, and detailed examples, read the Robots.txt Guide. You can also browse the wider collection of SEO tools.

CMS presets need review

The WordPress starting point blocks /wp-admin/ while allowing /wp-admin/admin-ajax.php. It intentionally does not block /wp-includes/ and should be adapted to the installation.

Shopify generates robots.txt automatically. The Shopify option is review guidance, not a replacement file; preserve Shopify's defaults and use robots.txt.liquid for deliberate additions where appropriate.

Primary sources

Validation and export behavior reviewed on 1 November 2026. The crawler catalogue retains its separate provider references.

Frequently asked questions

Publish it at the root of each host, such as https://example.com/robots.txt. Rules do not automatically carry across subdomains.

OpenAI documents GPTBot for potential foundation-model training and OAI-SearchBot for ChatGPT search. Their controls are independent, and allowing a search crawler does not guarantee inclusion or citation.

It can express crawler-specific Allow and Disallow rules for agents that document robots.txt support. Providers use different agents for search, training, and user-triggered retrieval, and behavior can change.

No. Disallow controls crawling, not guaranteed indexing removal. A blocked URL may still appear if discovered elsewhere, and search engines generally need to crawl a noindex directive to see it.

No. Google does not support Crawl-delay in robots.txt. Other crawlers may support it with different behavior.
6 min read