⚡
usefultools.dev
🤖

Robots.txt Generator & Sitemap.xml Builder

NOVO

Robots.txt generator with user-agent groups, allow/disallow rules, an AI-crawler block preset and a sitemap.xml builder. Free, validated, in your browser.

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

Presets

Group 1

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.

⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

Preset
Preset: Block AI crawlers
18 bots, Disallow: /
Preset
Preset: Allow all
User-agent: * Disallow:
Check
Disallow: admin
Error: path must start with /
Sitemap
https://example.com/a?x=1&y=2
<loc>…/a?x=1&amp;y=2</loc>
📖

Visão geral

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.

Por que usar esta ferramenta?

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

Recursos

👥

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.

🛠️

Como usar

1

Start from a preset

Click Allow all, Block all or Block AI crawlers, or edit Group 1 directly.

2

Add rules

Enter user-agents and Allow / Disallow paths, one per line, and your sitemap URL.

3

Fix warnings

Read the messages under the form and correct anything marked as an error.

4

Build the sitemap

Switch to the sitemap.xml tab, paste your URLs and pick optional fields.

5

Download

Download the files and upload them to the root of your domain.

🤔

Perguntas frequentes