Crawl control · Free tool

Robots.txt generator

Create a robots.txt in seconds, with presets for AI crawlers.

Preset
robots.txt — save at your site root
User-agent: *
Disallow: /api/
Disallow: /admin/
Disallow: /dashboard/

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

robots.txt is a request, not a lock. Use authentication for anything private.

How it works

  • Pick a preset, list any paths to keep out of search and add your sitemap.
  • Copy the result into a file called robots.txt at your site root.

FAQ

Where does robots.txt go?

At the root of your domain: https://yoursite.com/robots.txt. Subfolders are ignored.

How do I block AI training but stay in AI search?

Choose “Block AI training, allow AI search”. It blocks GPTBot, Google-Extended, ClaudeBot and others while allowing ChatGPT search and Perplexity.

More free tools

All tools →

Ready to launch?

List your product on ProductComet and get a dofollow backlink.

Submit your product