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 "/"
Action | Path | Bot | Actions |
---|---|---|---|
Allow Disallow | example-path | ||
Allow Disallow | example-path |
Sitemaps
Recommended format: https://yourdomain.com/sitemap.xml
WordPress Disallow
OffOn
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