Quick Presets:
High Risk Configuration: Entire Site Disallowed (`Disallow: /`)
This setting instructs search engine crawlers not to crawl any page on your website. Only use this for private staging sites or maintenance mode.
Generated robots.txt Preview
Lines: 0Disallow: 0Allow: 0Sitemaps: 0Size: 0 KB
Test Generated Rules Live
AllowedEvaluation result will appear here.
How to Configure Your Robots.txt File
A properly configured robots.txt file protects server bandwidth, prevents indexing of private administration areas, and guides search engine crawlers to your official XML sitemap.
Robots.txt Best Practices
Recommended Practices
- Include `Sitemap: https://example.com/sitemap.xml` at the bottom of the file.
- Use leading slashes for paths (`/admin/`).
- Test your generated file using our Robots.txt Checker.
Critical Security Notice
- robots.txt is not a security or access control mechanism.
- Disallowing `/admin/` does not prevent web browsers from opening `/admin/`.
- Use server authentication for confidential pages.
Frequently Asked Questions (FAQ)
`User-agent: *` applies rules universally to all web search crawlers.
Use our Robots.txt Checker or Google Search Console Robots Testing tool.
Yes, you can add multiple `Sitemap:` lines in your robots.txt.