Robots.txt Generator & Sitemap.xml Builder
NOUVEAURobots.txt generator with user-agent groups, allow/disallow rules, an AI-crawler block preset and a sitemap.xml builder. Free, validated, in your browser.
Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.
Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.
Presets
robots.txtrobots.txt
User-agent: * Disallow: /admin/ Disallow: /cart/ Disallow: /*?sessionid= Sitemap: https://example.com/sitemap.xml
Upload it to the root of the host: https://your-domain/robots.txt. Each subdomain needs its own file.
Exemples rapides
Des entrées typiques et les résultats produits par cet outil.
Présentation
robots.txt is the plain-text file at the root of a site that tells crawlers which paths they may fetch. This robots.txt generator builds it from groups: one or more user-agents, their Allow and Disallow paths, an optional Crawl-delay and your sitemap URLs. Presets cover allow all, block all, and blocking the published AI training and answer-engine crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot and others).
A second tab turns a pasted list of URLs into a valid sitemap.xml with XML escaping, duplicate removal and optional lastmod, changefreq and priority. Both outputs are validated as you type and generated entirely in your browser.
Pourquoi utiliser cet outil ?
- Block AI crawlers in one click
- Catches paths without a leading slash and relative sitemap URLs
- Explains which directives Google ignores
- Builds a matching sitemap.xml from a URL list
- Nothing is uploaded
Fonctionnalités
User-agent groups
Add as many groups as you need, each with its own Allow, Disallow and Crawl-delay rules.
AI crawler preset
Disallows 18 AI-related user-agents while keeping regular search engines allowed.
Validation warnings
Flags invalid paths, duplicate user-agents, site-wide blocks and non-absolute sitemap URLs.
Sitemap.xml builder
Paste URLs to get an escaped, deduplicated sitemap with optional lastmod, changefreq and priority.
Download both files
Save robots.txt and sitemap.xml with the right file names.
Mode d'emploi
Start from a preset
Click Allow all, Block all or Block AI crawlers, or edit Group 1 directly.
Add rules
Enter user-agents and Allow / Disallow paths, one per line, and your sitemap URL.
Fix warnings
Read the messages under the form and correct anything marked as an error.
Build the sitemap
Switch to the sitemap.xml tab, paste your URLs and pick optional fields.
Download
Download the files and upload them to the root of your domain.