RevealTheme logo

Générateur de robots.txt

Générez un fichier robots.txt de façon visuelle. Configurez les règles d'exploration pour les principaux moteurs de recherche et bots d'IA.

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

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

Comment utiliser cet outil

  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.

Qu'est-ce que le générateur de robots.txt ?

robots.txt indique aux robots d'exploration web les pages auxquelles ils peuvent et ne peuvent pas accéder. C'est un protocole volontaire : les robots qui se comportent bien le respectent ; les bots malveillants l'ignorent. Ce générateur crée des fichiers robots.txt conformes au standard. Pour des règles complexes, consultez robotstxt.org et la spécification complète.

Cas d'usage courants

  • 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.

Questions fréquentes

Où dois-je téléverser robots.txt ?
À la racine de votre site : example.com/robots.txt. Il doit se trouver à la racine ; dans les sous-répertoires, il ne fonctionne pas.
Dois-je bloquer les bots d'IA ?
C'est à vous de décider. Les autoriser signifie que ChatGPT/Perplexity peuvent référencer votre contenu. Les bloquer empêche la collecte de données d'entraînement, mais réduit la visibilité.

Outils connexes