robots.txt Generator

Generate a clean, standards-compliant robots.txt file for Googlebot, Bingbot, GPTBot, and all crawlers — with Allow/Disallow paths, Crawl-delay, Sitemap URL, and instant download.

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

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

How to use robots.txt Generator

  1. 1Set default policy (Allow All or Block All) and add disallowed paths (e.g. /admin, /api).
  2. 2Optionally toggle AI crawler rules (GPTBot, CCBot) and add your XML Sitemap URL.
  3. 3Copy or download robots.txt ready to place in your website root.

Frequently Asked Questions

Where do I upload robots.txt?

Place it at the root of your domain (e.g. https://yourdomain.com/robots.txt).

Can I validate an existing robots.txt?

Yes — open our Robots.txt Tester tool linked below.