robots.txt Generator
Free robots.txt generator with AI bot presets (GPTBot, ClaudeBot, Perplexity), URL tester, and llms.txt generator. Block AI crawlers in seconds, no signup.
Updated June 2026
Training (LLMs)
GPTBot
OpenAI
Google-Extended
anthropic-ai
Anthropic
CCBot
Common Crawl
Bytespider
ByteDance
Applebot-Extended
Apple
Amazonbot
Amazon
cohere-ai
Cohere
Browsing & Real-time
OAI-SearchBot
OpenAI
ClaudeBot
Anthropic
PerplexityBot
Perplexity
FacebookBot
Meta
Checked = allow indexing. Unchecked = Disallow: / injected for that User-agent.
Global Rules (User-agent: *)
Allowed Paths
Blocked Paths
Custom User-agent Blocks
No custom directives. Add a block below to target specific crawlers.
Sitemap URLs
Generate a context file for AI systems — the emerging standard for AI-friendly site documentation.
How to use this robots.txt generator
From a template to a tested, ready-to-deploy file
1. Pick a template
Blog, E-commerce, SaaS, Enterprise, or News — each one pre-fills the rules that site type needs most.
2. Configure the AI bots
Allow or block each of the 12 AI crawlers individually, or flip "Block All" to disallow every one at once.
3. Test a URL and export
Check whether a path would be allowed or blocked before you copy or download the final robots.txt.
What this robots.txt generator does
Built for the era of AI crawlers, not just search engines
12 individual AI bot toggles
GPTBot, ClaudeBot, PerplexityBot, Google-Extended, Bytespider, and more — each with its own allow/block switch, split into training and browsing crawlers.
Built-in URL tester
Enter any path and user-agent to see whether it's allowed or disallowed, plus the exact rule and line number that decided it.
llms.txt generator
Create the emerging llms.txt file alongside your robots.txt to describe your site to AI systems in plain language.
Site-type templates
Blog, E-commerce, SaaS, Enterprise, and News presets fill in the disallow paths each site type typically needs.
Fetch and diff a live robots.txt
Pull the current robots.txt from any domain and compare it line-by-line against your draft before you overwrite it.
Real-time validator
Catches accidental full-site blocks, missing sitemaps, malformed paths, and duplicate user-agent blocks as you type.
Rule examples
How common paths resolve once the file is generated
When you'll reach for this tool
The scenarios that come up most often
Blocking faceted navigation
E-commerce sites generate near-duplicate URLs from filters and sorting — disallow /*? patterns to stop them from burning crawl budget.
Shielding the admin panel
Add a Disallow rule for /admin/ and /wp-login.php as a courtesy to crawlers, on top of real authentication, not instead of it.
Declaring your sitemap
List the sitemap URL so every crawler that respects robots.txt can discover your pages automatically.
Keeping content out of AI training data
Publishers block GPTBot, CCBot, and Google-Extended to keep original content from feeding future model training runs.
Common mistakes
Small robots.txt errors with outsized consequences
Blocking pages you actually want indexed
Disallow: /blog/ stops Googlebot from crawling your entire blog. Only disallow what genuinely shouldn't be crawled.
Confusing crawling with indexing
A blocked URL can still show up in search results if other sites link to it. Use a noindex meta tag when the goal is to keep a page out of results entirely.
Forgetting the trailing slash
Disallow: /admin blocks only that exact path; Disallow: /admin/ blocks every subdirectory underneath it too.
Why use this robots.txt generator
Most robots.txt generators still treat AI crawlers as an afterthought, if they mention them at all. This one gives you individual control over 12 named AI bots — split by whether they scrape for training data or for live search results — instead of one generic "block all AI" checkbox.
The built-in URL tester and live-diff view remove the guesswork: you confirm a rule behaves exactly as intended, and see how your draft compares to what's already deployed, before you ever overwrite a production file.
Training crawlers vs. browsing crawlers
Not every AI bot serves the same purpose
Frequently asked questions
Add a separate User-agent block with Disallow: / for each crawler you want to exclude — there's no single wildcard that targets "all AI bots" and nothing else. This generator's "Block All" toggle does exactly that for its full list of 12 known AI crawlers in one click.
References
Official documentation on robots.txt syntax and how Google's crawlers interpret it.
How to identify and opt out of crawling for OpenAI's model training bot.
The formal internet standard that defines how robots.txt directives must be parsed.
Related Tools
- HTML Meta Tag Generator Marketing Generate complete HTML meta tags instantly: title, description, robots, canonical, Open Graph, and Twitter Cards. Copy-paste ready HTML output.
- Google SERP Preview Marketing Free SERP preview tool: simulate how your title, description and URL appear in Google search — desktop, mobile, rich snippets, A/B variants & social preview.
- Reading Time Estimator Marketing Paste your text or enter a word count to instantly calculate reading time for silent reading, aloud, and audiobook narration. Free, no sign-up.
- Word Counter Marketing Free online word counter — count words, characters, paragraphs and reading time instantly. Detailed text analysis with keyword density.
- Word Frequency Analyzer Marketing Free word frequency analyzer — count word occurrences, check keyword density, analyze bigrams & trigrams, and measure vocabulary diversity. 100% client-side.