About Robots.txt Generator
Create a valid, safe robots.txt file for your website. Specify allow and disallow directives for search crawlers, block invasive AI training bots, and declare your XML sitemap URL.
How to Use the Robots.txt Generator
- 1
Configure Directives
Enter disallowed directories like /admin/ or /private/.
- 2
Block AI Scrapers
Toggle the AI bot blocker to protect your content from unauthorized model training.
- 3
Add Sitemap Link
Include your sitemap.xml URL.
- 4
Download robots.txt
Download the file and upload it to your website root directory.
Key Features & Calculation Capabilities
- One-click AI training scraper blocking (GPTBot, ClaudeBot, PerplexityBot, CCBot)
- Dynamic directory disallow rule management
- Sitemap directive integration
- 1-click file download ready for your web root
Worked Example
Protecting private admin paths and blocking AI scrapers on a commercial blog
Guides commercial search bots to index public content while keeping private sections hidden.
Practical Limitations & Considerations
- Robots.txt is an advisory protocol. Malicious scrapers may ignore it. For sensitive data, use password authentication.
Frequently Asked Questions
It must be uploaded directly to the root of your domain (e.g., https://example.com/robots.txt).
