Free Robots.txt Generator
Build a robots.txt that blocks exactly the bots you mean to block: AI training crawlers, AI search bots and classic search engines, each with its own toggle. Hand-written files often block Googlebot, CSS or AI search bots by accident; this one is validated as you type.
How the Robots.txt Generator works
- 1
Pick a preset or import your file
Start from Allow everything, AI search only, Block all AI bots or Block everything, or import the robots.txt from your domain and keep editing it.
- 2
Toggle bots and add rules
Allow or block each search engine and AI crawler, tick common disallow paths (WordPress admin, cart, checkout, internal search), add sitemap URLs and custom groups.
- 3
Copy, download and upload
The file updates live with validation for blocked Googlebot, blocked CSS/JS and conflicting rules. Download it and upload it to the root of your domain.
Frequently asked questions
About the Robots.txt Generator.
Related tools
Robots.txt Tester
Tests any URL against any user agent
Technical SEO
AI Crawler Access Checker
Tests robots.txt and live responses for GPTBot, ClaudeBot, PerplexityBot, Google-Extended and others
AI Crawlability
Firewall Bot Block Tester
Requests the page as each AI user agent and reports blocks or challenges
AI Crawlability
llms.txt Generator
Crawls your site and builds a clean llms.txt to download
AI Crawlability
Sitemap Generator
Crawls a site and outputs a clean sitemap.xml
Technical SEO
More AI Crawlability tools
Can AI bots read my site at all?