Robots.txt Generator

Create robots.txt files for search engine crawlers.

Runs on this device

Quick presets

User-agent rules

Disallow

No disallow paths, so everything is crawlable

Allow

Google ignores this directive

Sitemaps

No sitemaps added

Generated robots.txt

User-agent: *
Allow: /

Place the file at your site root, such as https://example.com/robots.txt. It is a request, not access control: some bots, including some user-triggered AI fetchers, may ignore it.

What does the Robots.txt Generator output?

Robots.txt Generator turns your user-agents, Allow and Disallow paths, optional crawl delay and sitemap URLs into a robots.txt file to copy or download, entirely in your browser.

Does robots.txt keep a page out of Google?

Not reliably. A blocked URL can still be indexed if linked elsewhere. Instead, allow crawling and serve a noindex directive, or require a login.

What does the Block AI Bots preset block?

GPTBot, ClaudeBot, Google-Extended, CCBot, PerplexityBot and other AI crawlers, while allowing other user-agents. Some power AI search, so remove any you want to keep.