🤖

Robots.txt Generator

Build a valid robots.txt file visually. Control crawler access, block AI bots, set crawl delays, and add sitemaps — with a live syntax-highlighted preview.

Quick Presets
User-Agent Rules
Sitemap URLs
Host Directive
Optional. Specifies preferred domain for mirror sites.
Validate & Export
robots.txt — Live Preview
Advertisement
How to use
  1. Pick a preset (Allow All, Block AI Bots, SEO-Friendly, etc.) or start blank.
  2. Tweak User-Agent blocks: add Allow/Disallow paths, set crawl-delay, list sitemap URLs.
  3. Click Validate, then Copy or Download — upload to yourdomain.com/robots.txt.
FAQ

Yes — without one, every crawler indexes everything by default, including admin pages, checkout flows, and duplicate content. A well-configured robots.txt also stops crawl budget being wasted on pages you don't want indexed.

Yes — the Block AI Bots preset adds rules for GPTBot, ChatGPT-User, CCBot, anthropic-ai, and Claude-Web. Ethical AI companies honour these rules; bad actors don't, so pair with server-side rate limiting for critical content.

After uploading, use Google Search Console → Settings → robots.txt tester. Enter any URL on your site and Google reports whether it's allowed. Also confirm https://yourdomain.com/robots.txt loads in your browser.