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. |
robots.txt ジェネレーターは、ドメインのルートにあるプレーンテキスト ファイルを構築し、サイトのどの部分をフェッチするかをクローラに知らせます。 フォーマットは単純に見えます — `user-agent:` 行の後に `allow:` と `disallow:` ルールが続きます — しかし、詳細バイト: ルールはグループ内でのみ適用されます。パスはスラッシュで始まり、`*` と `$` は特定の方法で動作し、`ser-agent: /` の下で `user-agent: *` の下に、サイト全体を Google からプルできます。 このツールは構造化された形式からファイルを構築するため、構文は構造によって正しいです。
世代を超えて 3 つの仕事をします。 ファイルをリンクし、実際のフットガンにフラグを立てます。グループの外に出ているルール、相対パス、「すべてを許可する」という裸の「disallow:」、絶対に「すべてを許可する」、絶対的ではない、不明なディレクティブではない、ブランケット ブロックの外に出るルール。 既存の robots.txt を編集可能なグループに戻し、現在ライブのものを貼り付けて修正できます。 また、実際のクローラーが使用するのと同じ最も長い一致の優先順位でルールに対して URL をテストします。最も具体的な一致パターンが勝ち、ビートが引き分けで許可されないようにします。これにより、展開前にページに到達できることを証明できます。
はっきり言ってもらうべきことの 1 つ: robots.txt は、インデックス作成ではなくクロールを制御し、セキュリティの境界ではありません。 他のページがリンクされていても、ブロックされた URL は、フェッチしたことのない URL をインデックス化できるため、検索結果に表示される可能性があります。 ページをインデックスから除外するには、「noindex」メタ タグまたは X-Robots-Tag ヘッダーが必要です。これは、クローラーがページのフェッチを許可されているかどうかだけを確認できます。 ファイルは公開されています。/robots.txt で誰でも自分のファイルを読むことができるので、そこに秘密のディレクトリをリストすると、それをアドバタイズします。 プライベートなものには認証を使用します。
プリセットを選択 — すべて許可、WordPress、Shopify、Next.js、または AI クローラーをブロック — フォームをワンクリックで埋めるか、Live robots.txt を貼り付けて編集可能なグループに戻します。
クローラーまたはクローラーのセットごとにグループを追加し、既知のボット リストから選択するか、トークンを入力します。 各グループに許可を与えてパスを許可し、目的のエンジンが 1 つをターゲットにしている場合は、クロール遅延を与えます。
1 つ以上の絶対サイトマップ URL を追加します。 バリデーターはすべてのキーストロークで実行され、エラー、警告、および行番号付きのメモを報告します。出荷前に赤色のものを修正します。
パスとユーザー エージェントを入力して、許可または許可されていないことを確認し、正確にどのルールで決定したかを確認します。 期待どおりに動作したら、ファイルをコピーするか、robots.txt をダウンロードして、ドメイン ルートにアップロードします。
RFC 9309 の優先順位を使用して、任意のユーザー エージェントに対してパスをテストします — 最も長い一致パターンが勝ち、ブレーク タイを許可します — そして、それを決定した正確なルールを指定します。
グループ外のルール、相対パス、空白の許可しない行、絶対的なサイトマップ URL、不明なディレクティブ、およびブランケットの禁止をキャッチします。 / サイトのインデックスを外します。
すべてを許可、すべてをブロック、WordPress、Shopify、Next.js、ブロック AI クローラーはそれぞれフォーム全体に賢明で正しい開始点を入力します。
GPTBOT、Claudebot、PerplexityBot、CCBot、Google-Extended、ByteSpider、Anthropic-AI をワンクリックでブロックして、検索エンジンを完全に歓迎します。
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!