Robots.txt Generator
SEOFreeNewGenerate robots.txt with bot control, presets & live preview
✓ = allow · uncheck = block with Disallow: /
User-agent: Yandexbot Disallow: / User-agent: GPTBot Disallow: / User-agent: ClaudeBot Disallow: / User-agent: SemrushBot Disallow: / User-agent: AhrefsBot Disallow: / User-agent: * Allow: / Disallow: /admin/ Disallow: /api/ Disallow: /account/ Disallow: /login/
100% private. All processing happens in your browser. No data is ever sent to any server.
About Robots.txt Generator
ToolYapa's Robots.txt Generator helps you create the right robots.txt file for your website — whether you want to allow all bots, block specific AI crawlers, or only block your admin and API paths. Choose from 4 quick presets or build custom rules with our bot control panel.
How to use
- 1
Choose a preset: Allow All, Block All, Block Admin, or SEO Optimal.
- 2
Or use the custom builder: enter your domain, set disallowed paths, and choose crawl delay.
- 3
Toggle individual bots: allow Google and Bing while blocking GPTBot, SemrushBot, AhrefsBot.
- 4
Live preview updates as you build.
- 5
Copy to clipboard or download as robots.txt ready to place at your domain root.
Who uses this tool
- ✦
Allow all search engines while blocking AI training bots (GPTBot, ClaudeBot).
- ✦
Block /admin/, /api/, and /account/ paths from crawling.
- ✦
Set a crawl delay to prevent aggressive crawlers from overloading your server.
- ✦
Create a staging-site robots.txt that blocks all bots.
- ✦
Add your sitemap URL for faster indexing.
