Free Robots.txt Generator
Create your robots.txt file in seconds: a default rule, blocked paths, sitemaps and individual rules for AI crawlers, search engines and SEO tools. Free, no account.
Google ignores Crawl-delay. Bing, Yandex and some others still use it.
Per-bot rules
Bots left on Default inherit the rule above. Set a bot to Allow or Block to give it its own block.
What Is robots.txt and How Does This Generator Work?
robots.txt is a plain-text file at your domain root that tells crawlers which parts of your site they may request. This generator writes it for you in five steps:
- 1Choose the default rule that applies to every crawler — most sites allow everything by default.
- 2Set a crawl-delay if you want one: Google ignores it, but Bing, Yandex and some others still respect it.
- 3Add one sitemap URL per line so crawlers can find your pages faster.
- 4Give individual bots their own Allow or Block rule — useful for AI crawlers such as GPTBot.
- 5Click Generate, check the preview, then copy or download robots.txt and place it at your domain root.
Blocking AI Crawlers With robots.txt
Rules apply per user-agent. Leave a crawler on Default and it follows the rule at the top of the file; set it to Disallow and it gets its own block. The generator groups crawlers so you can find them quickly:
- AI / LLM crawlers — GPTBot, ChatGPT-User, ClaudeBot and anthropic-ai, Google-Extended, PerplexityBot, CCBot, Bytespider and more.
- Search engines — Googlebot (plus Image, News and Video), Bingbot, DuckDuckBot, Baiduspider, YandexBot, Applebot and others.
- Social & media — facebookexternalhit, Twitterbot, Pinterestbot, LinkedInBot, Slackbot, WhatsApp and TelegramBot.
- SEO tools & crawlers — AhrefsBot, SemrushBot, MJ12bot, DotBot and others.
Where to Place Your robots.txt File
| Platform | Where the file goes |
|---|---|
| cPanel | /public_html/robots.txt |
| WordPress | /public_html/robots.txt, or edit it via Yoast or Rank Math |
| Laravel / Symfony | /public/robots.txt |
| Next.js / Nuxt | /public/robots.txt |
| Shopify | Online Store → Preferences → robots.txt |
| Netlify / Vercel | /public/robots.txt in your project |
robots.txt vs LLMs.txt
They solve different problems. robots.txt tells crawlers what they may fetch; llms.txt points AI tools at the pages worth reading. A robots.txt file controls access, an llms.txt file gives context. Many sites use both — see the llms.txt vs robots.txt guide.
Frequently Asked Questions
Check your rules before you publish