robots.txt and sitemap.xml generator

Write your site's robots.txt (rules per user-agent, Allow, Disallow, Crawl-delay, Sitemap, AI crawler blocking) and build a sitemap.xml from a list of addresses. With checks for the most common mistakes.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Adds a group with Disallow: / for GPTBot, ClaudeBot, CCBot, Google-Extended and others. robots.txt is a polite request: those who ignore it are not stopped.

Group 1

robots.txt

User-agent: *
Disallow:

Checks

No problems found.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

How to use it

  1. In robots.txt write the user-agents (* means all) and the paths to block (Disallow) or allow (Allow); add a group for each crawler you want to treat separately.
  2. If you like, turn on blocking of AI training crawlers and give the absolute address of the sitemap.
  3. For the sitemap switch to sitemap.xml and paste the addresses, one per line; optionally set lastmod, changefreq and priority.
  4. Read the checks, then copy or download the file and put it in the root of the site (for example https://example.com/robots.txt).

Frequently asked questions

Does robots.txt protect private pages?

No: it is a polite request, and anyone can read it. A path in Disallow may even reveal that it exists. For private pages you need a password or a block on the server.

Does it really block AI crawlers?

Only those that follow the rules: the operators of the main ones (OpenAI, Anthropic, Google, Common Crawl, Apple, Meta) say they do, others do not. Blocking Google-Extended does not remove the site from Google Search. The list changes over time: check it now and then.

Which rule wins between Allow and Disallow?

For Google the most specific rule wins, meaning the one with the longest path; on a tie Allow wins. Other crawlers may behave differently, so avoid conflicting rules.

What are the limits of a sitemap?

At most 50,000 addresses and 50 MB uncompressed per file, all absolute and on the same site. Beyond that, create several sitemaps listed in an index file.

Is a path without a leading / a mistake?

Yes: Disallow: admin is not read the way you expect. Write /admin. To block a whole file type use a wildcard, for example /*.pdf$.

Privacy

Everything happens in your browser: rules and addresses are not sent or saved.

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain