Robots.txt Generator
Create a robots.txt file for your website. Configure crawler access rules and sitemap URL.
Create a properly formatted robots.txt file for your website in seconds. Control search engine crawlers and AI bots with allow/disallow rules, crawl delays, and sitemap references — no manual editing required.
Features
Use Cases: When This Tool Helps
-
Launch a new website correctly
Create a robots.txt that lets search engines crawl your site and points them to your sitemap.
Read the guide → -
Block AI training crawlers
Add rules for GPTBot, CCBot, and other AI bots if you don't want your content used for training.
-
Hide admin and private areas
Stop crawlers from wasting time on login, cart, search, and admin pages.
-
Protect staging sites
Block all crawlers on a test or staging site so it doesn't appear in Google.
-
Save crawl budget on big stores
Keep bots away from endless filter and sort URLs on e-commerce sites.
-
Fix SEO audit warnings
Generate a valid file when an audit reports a missing or broken robots.txt.
How to Use
- Select a user-agent or choose 'All Bots' (*).
- Add allow and disallow paths for that agent.
- Optionally set a crawl delay.
- Enter your sitemap URL and copy the final robots.txt.
FAQ
Where do I put my robots.txt file?▾
Place it at the root of your domain: https://yourdomain.com/robots.txt
Does robots.txt block all access?▾
No — it's a courtesy protocol. Malicious bots may ignore it. Use server-side authentication to truly restrict access.
Robots.txt Facts
- robots.txt is publicly visible — don't use it to hide sensitive URLs.
- Google respects Disallow rules within minutes of crawling.
- Use Disallow: / to block all crawlers from the entire site.