Robots.txt Generator

Create a customized robots.txt file to control how search engines crawl and index your website.

Rules

Tip: Press space or Enter to add a new line with "/"

ActionPathBotActions
Allow
Disallow
example-path
Allow
Disallow
example-path

Sitemaps

Recommended format: https://yourdomain.com/sitemap.xml

WordPress Disallow

Off
On

robots.txt Preview

Best Practices

  • Use Disallow: / to block all content
  • Use Allow: / to allow all content
  • Block admin areas and sensitive directories
  • Include your sitemap URL for better indexing
  • Test your robots.txt with Google's testing tool