Robots.txt Generator

Generate crawler directives for Googlebot, Bingbot, GPTBot & more

Presets:
robots.txt Preview

  
Advertisement

Robots.txt Best Practices for SEO

Robots.txt is a text file placed in your website's root directory that tells search engine crawlers which pages they can and cannot access. It's one of the most fundamental SEO tools — misconfiguring it can block Google from indexing your entire site.

When to Use Robots.txt

Common Mistakes to Avoid

AI Crawler Decisions

With the rise of AI training crawlers, many sites are choosing to block them. Consider the tradeoffs: blocking GPTBot prevents your content from being used in ChatGPT training, but it doesn't prevent your competitors from benefiting. Some publishers allow certain AI crawlers (like PerplexityBot for citation links) while blocking others.

Advertisement