RevealTheme logo

robots.txt生成ツール

robots.txtファイルを視覚的に生成します。主要な検索エンジンやAIボット向けのクロールルールを設定できます。

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/

Sitemap: https://example.com/sitemap.xml

このツールの使い方

  1. 1

    Tick 'Allow all standard crawlers' to add an explicit Allow: / line, or untick it to leave it out.

  2. 2

    Enter the paths you want crawlers to skip in the disallowed box, one per line (for example /admin/ or /api/).

  3. 3

    Optionally tick 'Block AI training crawlers' to add Disallow rules for GPTBot, ClaudeBot, PerplexityBot, CCBot and Google-Extended, and paste your sitemap URL.

  4. 4

    Select the generated text in the preview box, copy it, and save it as a file named robots.txt at your domain root.

robots.txt生成ツールとは何ですか?

robots.txtは、ウェブクローラーに対してどのページにアクセスしてよいか、いけないかを指示します。これは任意の協定です。行儀のよいクローラーはこれを尊重しますが、悪意のあるボットは無視します。この生成ツールは、標準に準拠したrobots.txtファイルを作成します。複雑なルールについては、robotstxt.orgと完全な仕様をご参照ください。

よくある活用例

  • Keeping crawlers out of admin, API, or internal paths like /admin/ and /api/ while leaving the rest of the site open.

  • Generating a starter robots.txt for a brand-new site that does not have one yet.

  • Blocking the five named AI training crawlers (GPTBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended) so your content is not scraped for model training.

  • Adding or correcting the Sitemap: line so search engines can discover your sitemap.xml.

  • Drafting rules quickly to paste into a CMS or static-site config, then hand-editing for anything advanced.

  • Teaching teammates what a minimal, readable robots.txt looks like before they edit the real one.

よくある質問

robots.txtはどこにアップロードすべきですか?
サイトのルートにアップロードしてください(example.com/robots.txt)。必ずルートに置く必要があり、サブディレクトリでは機能しません。
AIボットはブロックすべきですか?
それはあなた次第です。許可すれば、ChatGPTやPerplexityがあなたのコンテンツを参照できるようになります。ブロックすれば、学習データのためのクロールは防げますが、可視性は下がります。

関連ツール