Robots.txt generator for Next.js and AI bots. In your browser.
Generate a crawl policy, export app/robots.ts and test URL rules for a selected user-agent. Every listed AI bot has a dated official source — free, no sign-up.
Loading the tool…
Local crawl-rule simulation with Google-style group precedence. No fetching, access-control or indexing guarantee. Unsupported directives warn and are omitted from app/robots.ts.
AI bot tokens — verified 2026-10-09
Review monthly; next due 2026-11-09. Selected documented tokens, not an exhaustive roster. Each setting is independent; sources can change.
| Token | Purpose / limitation | Verified | Official source |
|---|---|---|---|
| GPTBot | Training crawler | 2026-10-09 | Official source ↗ |
| OAI-SearchBot | Search discovery | 2026-10-09 | Official source ↗ |
| ChatGPT-User | User-requested access; robots.txt may not apply | 2026-10-09 | Official source ↗ |
| OAI-AdsBot | Submitted ad landing pages; not foundation-model training | 2026-10-09 | Official source ↗ |
| ClaudeBot | Training crawler | 2026-10-09 | Official source ↗ |
| Claude-SearchBot | Search discovery | 2026-10-09 | Official source ↗ |
| Claude-User | User-requested access | 2026-10-09 | Official source ↗ |
| PerplexityBot | Search discovery; not foundation-model training | 2026-10-09 | Official source ↗ |
| Perplexity-User | User-requested access; generally ignores robots.txt | 2026-10-09 | Official source ↗ |
| Google-Extended | Gemini training and grounding control token; no separate HTTP crawler | 2026-10-09 | Official source ↗ |
| Applebot-Extended | Foundation-model training control token; no separate HTTP crawler | 2026-10-09 | Official source ↗ |
| Amazonbot | Amazon services; content may train AI models | 2026-10-09 | Official source ↗ |
| Amzn-SearchBot | Search including Alexa; not generative-model training | 2026-10-09 | Official source ↗ |
| Amzn-User | User-requested access; may not follow all robots.txt rules | 2026-10-09 | Official source ↗ |
| CCBot | Common Crawl public web corpus, also used in model training | 2026-10-09 | Official source ↗ |
How to use
- Enter excluded paths and an optional sitemap. Select only bot tokens you intend to block.
- Generate robots.txt or paste an existing file. Test a URL or path with a crawler product token.
- Review the matched group and rule. Export robots.txt or app/robots.ts for your own site's origin, then verify actual crawl behavior.
Reference documentation
Frequently asked questions
Is this free, and does my input leave the browser?
Free, no sign-up. Computation, copy and downloads stay in your browser. There is no upload or processing endpoint. Usage analytics include only a fixed tool name and action, never your input or result.
Does robots.txt secure private pages or guarantee no indexing?
No. It is a voluntary crawl policy, not authentication or noindex. Protect private routes with authorization. A blocked URL can still be known to a search engine. The tester never contacts your site or a bot.
How are conflicting rules selected?
Google-style most-specific product-token groups are used; equally specific groups are merged. Bot-specific groups replace wildcard rules. The longest matching path wins; allow wins ties. Paths are case-sensitive with * and terminal $ support. robots.txt itself is implicitly allowed.
What do Google-Extended and Applebot-Extended control?
They are content-use tokens, not separate HTTP crawlers. Google-Extended covers Gemini training and grounding; Applebot-Extended covers foundation-model training. Blocking them alone does not block ordinary search crawlers.
Will blocking user-requested AI agents always work?
No. OpenAI says robots.txt may not apply to ChatGPT-User; Perplexity-User generally ignores it; Amzn-User may not follow every directive. A local rule result is policy evaluation, not a compliance guarantee. Read each provider source below.
Which directives and bot policies are covered?
Allow, Disallow, User-agent and Sitemap are parsed. Unsupported fields like Crawl-delay warn and are omitted from Next.js export. Fetch status, redirects, WAF and provider-specific fallback policies are not simulated. The selected documented roster is not exhaustive; sources were checked 2026-10-09 and should be reviewed monthly.
Related tools
All free toolsSchema markup generator & validator
Generate and locally check JSON-LD for software, products, FAQs, organizations and breadcrumbs. Browser validation of pasted markup. Free, no sign-up.
XML sitemap & Next.js sitemap generator
Generate sitemap.xml and Next.js app/sitemap.ts from a route list. Validate pasted XML and extract URLs locally. Free, no sign-up, no website crawl.
Meta tag & Next.js metadata generator
Create Next.js metadata and HTML title, description, canonical, Open Graph and Twitter tags. Preview Google snippets and social cards. Free, no sign-up.