User-agent: * Disallow: /admin/ Disallow: /cart Disallow: /*?sessionid= Allow: /admin/public/ User-agent: GPTBot User-agent: ClaudeBot User-agent: CCBot Disallow: / Sitemap: https://example.com/sitemap.xml
Upload this to the root of your domain so it is served at /robots.txt.
The longest matching path pattern wins, and Allow beats Disallow on a tie — the same precedence real crawlers use.
Click Block to add a group that refuses a crawler outright. Compliance is voluntary — this stops cooperative bots, not scrapers.
| Token | What it is | Action |
|---|---|---|
| Googlebot | Google Search's main web crawler. Blocking it removes you from Google over time. | |
| Googlebot-Image | Crawls images for Google Images. Block it to keep photos out of image search. | |
| Bingbot | Microsoft Bing's crawler. Also feeds Bing-powered results in other products. | |
| DuckDuckBot | DuckDuckGo's own crawler for its instant answers and index. | |
| Baiduspider | Baidu's crawler, the dominant search engine in China. | |
| YandexBot | Yandex's crawler, the leading search engine in Russia. | |
| Slurp | Yahoo's legacy crawler. Still used for some Yahoo verticals. | |
| Applebot | Apple's crawler, powering Siri and Spotlight Suggestions. | |
| Twitterbot | Fetches link preview cards for X/Twitter. Blocking it kills your share previews. | |
| facebookexternalhit | Fetches Open Graph previews for Facebook, Messenger, and WhatsApp. | |
| GPTBotAI | OpenAI's crawler that collects public web content used to train its models. | |
| ClaudeBotAI | Anthropic's crawler for gathering training data for Claude. | |
| PerplexityBotAI | Perplexity's crawler, used to index pages its answer engine cites. | |
| CCBotAI | Common Crawl's bot. Its public corpus is a common source of AI training data. | |
| Google-ExtendedAI | Controls whether Google may use your content for Gemini and Vertex AI training. It does not affect Google Search ranking or indexing. | |
| BytespiderAI | ByteDance's crawler, associated with TikTok and its AI products. | |
| anthropic-aiAI | Legacy Anthropic token. Harmless to keep alongside ClaudeBot for older references. |
A Robots.txt Generator builds the plain-text file that sits at the root of your domain and tells crawlers which parts of your site they may fetch. The format looks simple — a `User-agent:` line followed by `Allow:` and `Disallow:` rules — but the details bite: rules only apply inside a group, paths must begin with a slash, `*` and `$` behave in specific ways, and a single stray `Disallow: /` under `User-agent: *` can pull an entire site out of Google. This tool builds the file from a structured form so the syntax is correct by construction.
It does three jobs beyond generation. It lints your file and flags the real footguns: rules floating outside any group, relative paths, a bare `Disallow:` that silently means "allow everything", sitemap URLs that are not absolute, unknown directives, and blanket blocks. It parses an existing robots.txt back into editable groups, so you can paste what is live today and fix it. And it tests a URL against your rules with the same longest-match precedence real crawlers use — the most specific matching pattern wins, and Allow beats Disallow on ties — so you can prove a page is reachable before you deploy.
One thing worth stating plainly: robots.txt controls crawling, not indexing, and it is not a security boundary. A blocked URL can still appear in search results if other pages link to it, because Google can index a URL it has never fetched. To keep a page out of the index you need a `noindex` meta tag or an X-Robots-Tag header — which the crawler can only see if it is allowed to fetch the page. And the file is public: anyone can read yours at /robots.txt, so listing a secret directory there advertises it. Use authentication for anything private.
Pick a preset — Allow everything, Block everything, WordPress, Shopify, Next.js, or Block AI crawlers — to fill the form in one click, or paste your live robots.txt and let the tool parse it back into editable groups.
Add a group per crawler or set of crawlers, choosing from the known-bot list or typing a token. Give each group its Disallow and Allow paths, and a Crawl-delay if the engine you are targeting honours one.
Add one or more absolute sitemap URLs. The validator runs on every keystroke and reports errors, warnings, and notes with line numbers — fix anything red before you ship.
Enter a path and a user-agent to see Allowed or Disallowed and exactly which rule decided it. When it behaves the way you expect, copy the file or download robots.txt and upload it to your domain root.
Tests any path against any user-agent using RFC 9309 precedence — the longest matching pattern wins, Allow breaks ties — and names the exact rule that decided it
Catches rules outside a group, relative paths, empty Disallow lines, non-absolute sitemap URLs, unknown directives, and a blanket Disallow: / that would deindex your site
Allow everything, Block everything, WordPress, Shopify, Next.js, and Block AI crawlers each fill the whole form with a sensible, correct starting point
Block GPTBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended, Bytespider, and anthropic-ai in one click while keeping search engines fully welcome
Generate SEO, Open Graph, and Twitter Card meta tags for any page, with live preview and length checks
Preview how your link will look on Facebook, X, LinkedIn, Slack, and Discord, validate your og: tags, and copy a correct meta block
Turn any title or text into a clean, SEO-friendly URL slug — with accent transliteration, hyphen or underscore separators, stop-word removal, and batch mode.
0 comments
No comments yet. Be the first to share your thoughts!