Trusted by  3,400+  businesses
25+  free SEO tools
β˜…β˜…β˜…β˜…β˜…  4.9 avg rating
No account needed
✦ Free SEO Tool · Instant · No Login

Robots.txt
Generator

Build a clean, correct robots.txt file for your website in seconds. Control crawler access, protect private paths, and declare your sitemap.

πŸ€– All Major Crawlers 🚫 Custom Disallow Rules πŸ—ΊοΈ Sitemap Declaration ⬇ Download .txt File πŸ†“ 100% Free

Click any crawler to toggle between Allow and Block.

Admin & CMS Paths
/admin/, /wp-admin/, /dashboard/, /login/
Private / Internal Pages
/private/, /internal/, /staging/
Search & Filter URLs
/?s=, /?filter=, /?sort=
Cart & Checkout
/cart/, /checkout/, /order-received/
Duplicate / Print Pages
/?print=1, /print/, /?format=pdf
API & JSON Endpoints
/api/, /wp-json/, /.json
Upload & Media Directories
/wp-content/uploads/, /assets/
Live Preview
# Your robots.txt will appear here…
robots.txt Ready
πŸ“
File Location
Place the file at your site root: yoursite.com/robots.txt
⚠️
Not a Security Tool
Robots.txt is a directive, not a block. Malicious bots may ignore it. Use server rules for real protection.
⏱️
Cache Refresh
Google may cache your robots.txt for up to 24 hours before picking up changes.
πŸ§ͺ
Test It
Use Google Search Console β†’ Robots.txt tester to validate your file after uploading.