πŸ› οΈ Developer Tools
Β· 1 min read

Free robots.txt Generator


Configure crawler rules and get a ready-to-use robots.txt.

<div style="margin-top:0.6em;font-size:0.85em;color:#666;">Save as <code>robots.txt</code> in your site's root directory (usually <code>public/</code>).</div>`;

}

genRobots();

Presets included

  • Allow all β€” let every crawler in
  • Block all β€” hide from search engines (staging sites)
  • Block AI crawlers β€” block GPTBot, CCBot, ClaudeBot, Google-Extended, and others from scraping your content
  • Standard β€” allow crawling but block admin, API, and private paths
  • Next.js / Astro / WordPress β€” framework-specific recommendations