Robots.txt Generator

Create robots.txt files for your website. Control how search engines and AI crawlers access your site with Allow, Disallow rules, and sitemap references.

Quick Templates
Rule Group 1
Sitemaps
Options
robots.txt Output

Place robots.txt in your website root directory (e.g., example.com/robots.txt)

Robots.txt Directive Reference

DirectiveDescriptionExample
User-agentSpecifies which crawler the rules apply toUser-agent: Googlebot
DisallowBlocks access to a path or patternDisallow: /admin/
AllowExplicitly permits access to a pathAllow: /api/public
SitemapPoints to XML sitemap locationSitemap: https://example.com/sitemap.xml
Crawl-delaySeconds between requestsCrawl-delay: 10
HostPreferred domain (Yandex)Host: https://www.example.com

Sample Robots.txt for E-commerce

User-agent: *
Disallow: /cart
Disallow: /checkout
Disallow: /account
Disallow: /admin/
Disallow: /api/
Disallow: /*?*

User-agent: GPTBot
Disallow: /

User-agent: CCBot
Disallow: /

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

Features

  • Visual Rule Builder

    Create complex robots.txt rules with an intuitive interface. No syntax knowledge required.

  • Multiple User Agents

    Support for Googlebot, Bingbot, GPTBot, and 15+ other crawlers with predefined options.

  • Quick Templates

    Start with pre-built templates for common scenarios: Allow All, Block All, Block AI Bots, E-commerce.

  • Sitemap Integration

    Add multiple sitemap URLs to help search engines discover your content more efficiently.

  • AI Bot Blocking

    Easily block AI crawlers like GPTBot, ChatGPT-User, CCBot, and Anthropic bots from your site.

  • Advanced Options

    Set crawl-delay directives and host preferences for fine-grained crawler control.

Common Use Cases

SEO Optimization

Control which pages search engines can index. Block admin areas, duplicate content, and internal pages.

AI Content Protection

Prevent AI companies from using your content for training by blocking GPTBot, CCBot, and similar crawlers.

E-commerce Sites

Block cart, checkout, and account pages from indexing while allowing product pages to be crawled.

Development Sites

Block all crawlers from staging or development environments to prevent them from appearing in search results.

Frequently Asked Questions

Automate Your Business with AI

Love our free tools? Discover our AI-powered products that help businesses automate customer communication.