Robots.txt Generator

Create, test, and download robots.txt files with an intuitive visual builder. Block AI bots, set crawl delays, and validate your configuration instantly.

Presets

User-Agent #1

robots.txt Preview

User-agent: *
Allow: /


βœ… No issues found. Your robots.txt looks good!

Test URL

What robots.txt Does β€” and Doesn't Do

Its role (RFC 9309)

`robots.txt` at your site root asks crawlers not to crawl certain paths β€” useful for admin areas, internal search pages, and crawl-budget management.

The big misconception: blocking β‰  de-indexing

A URL blocked in robots.txt can still appear in search results if other sites link to it. To remove a page from the index, use a `noindex` meta tag β€” and crucially, don't block that page in robots.txt, or crawlers can never see the noindex.

Practical checklist

  • `Disallow: /` blocks the entire site. Staging configs shipping to production is a real and common accident.
  • Include a `Sitemap:` line pointing to your sitemap.
  • Blocking AI crawlers (GPTBot, ClaudeBot, PerplexityBot) is a choice: it protects content from training but also removes you from AI search citations.

Frequently Asked Questions

Related Tools

Sources & References

Content last reviewed: 2026-08-22