Agenvix Enterprise Suite
Crawl Control Studio

Robots.txt Generator with AI Crawler Controls

Build a valid robots.txt with per-bot rule groups, CMS templates for WordPress, WooCommerce, Shopify, Drupal, Joomla and Next.js, one-click blocking of AI and SEO scrapers, sitemap declarations and live validation.

How It Works
AI Bot Blocklist
CMS Templates
Syntax Validation
Zero Server Logs
Agenvix Studio v2.0
Valid Syntaxrobots.txt
User-agent:
*
Disallow:
/wp-admin/ Allow: /wp-admin/admin-ajax.php
Sitemap:
https://example.com/sitemap.xml
● 13 AI crawlers blocked0 warnings
Quick Test Presets:Click to load
13 AI crawlers blocked
100% Free

Robots.txt Workspace

Start from a CMS template, add rule groups, choose which AI and SEO crawlers to block, then download the file.

Rule groups (1)

AI crawlers

|

SEO & backlink crawlers

robots.txt
# robots.txt generated with Agenvix — https://agenvix.com/robots-txt-generator/

User-agent: *
Disallow:

Sitemap: https://example.com/sitemap.xml
Groups
1
Rules
0
Warnings
0
No syntax warnings. Upload the file to the root of your domain and test it in Google Search Console.

Why Site Owners Use the Agenvix Robots.txt Generator

One misplaced slash can de-index a site. The generator checks the output as you build it.

Up-to-Date AI Bot List

Block or allow GPTBot, OAI-SearchBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot, Bytespider and others with a single switch each.

Platform Templates

Sensible starting rules for WordPress, WooCommerce, Shopify, Drupal, Joomla and Next.js that keep assets crawlable while hiding admin and cart paths.

Live Validation

Warnings for Disallow: / on all bots, paths without a leading slash, blocked CSS or JS, relative sitemap URLs and crawl-delay directives Google ignores.

Nothing Leaves Your Browser

Your site structure, admin paths and sitemap URLs are never sent to a server.

Simple as 1-2-3

How the Robots.txt Generator Works

From template to deployed file in three steps.

01

Pick a Template

Choose Allow everything or a CMS template. Each loads an editable rule group for all crawlers.

02

Refine the Rules

Add groups for specific bots, list Allow and Disallow paths one per line, toggle AI and SEO crawler blocks and add your sitemap URLs.

03

Download and Upload

Copy or download robots.txt and place it at the root of your domain, for example https://example.com/robots.txt.

Directive Reference

Robots.txt Directives

What each directive does and how major search engines treat it.

Feature / SpecificationBest Use CaseEngine / Output StandardPrivacy & SecurityPerformance RatingAction
User-agentStart a rule groupRFC 9309RequiredCore
Disallow / AllowPath prefixes, * and $ wildcardsLongest match winsPer groupCore
SitemapPoint crawlers to XML sitemapsAbsolute URL, any positionGlobalRecommended
Crawl-delayThrottle Bing / YandexIgnored by GooglePer groupPartial
AI crawler blockingOpt out of model trainingGPTBot, ClaudeBot, CCBot…Voluntary compliancePolicy
NoindexRemoving pages from resultsNot supported in robots.txtUse meta robotsUnsupported
Comprehensive SEO Guide

Robots.txt Done Right

1. What robots.txt can and cannot do

Robots.txt tells well-behaved crawlers which URL paths they may request. It controls crawling, not indexing: a page blocked in robots.txt can still appear in search results if other sites link to it, just without a description. To keep a page out of the index use a noindex meta tag or header and leave the page crawlable so the directive can be read. The protocol is standardised as RFC 9309 and the file must live at the root of the host, in UTF-8, served with a 200 status.

2. Rule groups, wildcards and precedence

Each group starts with one or more User-agent lines followed by Allow and Disallow rules. A crawler obeys only the most specific group that matches its name, so a Googlebot group completely replaces the * group for Googlebot. When Allow and Disallow both match a URL, Google and Bing apply the rule with the longest path.

  • * matches any sequence of characters, $ anchors the end of the URL.
  • Paths are case sensitive and must start with /.
  • An empty Disallow line allows everything; Disallow: / blocks the whole site.

3. Blocking AI and SEO scrapers

Most large AI companies publish user-agent names and state that they honour robots.txt: GPTBot and OAI-SearchBot for OpenAI, ClaudeBot for Anthropic, Google-Extended for Gemini training, PerplexityBot, Applebot-Extended, CCBot for Common Crawl and Bytespider for ByteDance. Blocking them is a policy choice; note that Google-Extended does not affect Google Search rankings while blocking OAI-SearchBot removes you from ChatGPT search citations. Compliance is voluntary, so robots.txt is not a security control.

4. Mistakes that hurt rankings

The most damaging errors are leaving a staging Disallow: / on a live site, blocking CSS, JavaScript or image folders so Google cannot render pages, blocking paginated or faceted URLs that are the only path to products, and using Crawl-delay expecting Google to slow down. The validator in this generator flags each of these before you download the file. After deploying, test the file in Google Search Console and request a recrawl.

Frequently Asked Questions

Everything you need to know about robots.txt

Placement, syntax, AI crawlers and common pitfalls.

Where do I put the robots.txt file?

At the root of the host, so it is reachable at https://yourdomain.com/robots.txt. Files in subdirectories are ignored, and each subdomain and protocol needs its own file.

Does robots.txt stop a page from being indexed?

No. It stops compliant crawlers from fetching the page, but the URL can still be indexed from external links. Use a noindex meta tag or X-Robots-Tag header for pages that must stay out of results, and do not block those pages in robots.txt.

How do I block ChatGPT and other AI crawlers?

Enable the toggles in the AI crawlers section. The generator writes a Disallow: / group for each selected user agent such as GPTBot, ClaudeBot, Google-Extended, PerplexityBot and CCBot.

Is Crawl-delay supported?

Bing, Yandex and some smaller crawlers honour Crawl-delay in seconds. Googlebot ignores it; set crawl rate in Google Search Console instead. The generator includes it only when you enter a value and shows a reminder.

Can I use wildcards?

Yes. Google, Bing and most modern crawlers support * for any characters and $ for end of URL, for example Disallow: /*.pdf$ blocks PDF files anywhere on the site.

Should I block CSS and JavaScript?

No. Google renders pages to evaluate them and needs those files. The validator warns when a rule appears to block .css or .js paths or common asset folders.

Do I need a Sitemap line?

It is recommended. Adding Sitemap: https://example.com/sitemap.xml lets every crawler discover your sitemap without a Search Console account. Use absolute URLs and one line per sitemap.

Is my configuration stored anywhere?

No. The file is generated in your browser and only exists where you copy or download it.

Contextual Workflows

Related Developer Utilities

Discover companion utilities engineered for zero-log speed and browser-side execution.