Home / Tools / Robots.txt Generator
Free SEO tool

Robots.txt Generator, Visual Builder, No Syntax Errors

Build a valid robots.txt file visually. Allow, block, and control exactly which bots can crawl your site, including 2026 AI crawlers like GPTBot, ClaudeBot, and PerplexityBot. No competitor tool has this yet.

FREE NO SIGN-UP AI CRAWLER CONTROLS, 2026

Robots.txt generator tool

Visual rule builder
User-agent
seconds between requests
AI crawler settings
Unique to this tool, control 2026's AI crawlers individually.
Blocking AI crawlers may reduce your visibility in ChatGPT and Gemini local recommendations, 45% of consumers now use AI tools for local search (BrightLocal 2026).
Sitemap
YOUR ROBOTS.TXT
How to use

Build, download, upload.

STEP 01

Build your rules

Pick a preset or build from scratch. Select which bots to allow, block paths, and toggle AI crawler access. The output updates live.

STEP 02

Copy or download

Copy the generated text to your clipboard, or download it directly as a ready-to-use robots.txt file.

STEP 03

Upload to your domain root

Place the file at your domain root so it's accessible at yourdomain.com/robots.txt, it won't work anywhere else.

The basics

What is robots.txt?

Robots.txt is a plain text file at the root of your domain that tells web crawlers which parts of your site they're allowed to access. It's the first thing most well-behaved bots check before crawling anything else, Googlebot, Bingbot, and increasingly, AI crawlers like GPTBot and ClaudeBot.

What it does not do: robots.txt is not a security measure. It's a voluntary instruction that well-behaved bots choose to follow, it cannot stop a malicious scraper, prevent someone from visiting a disallowed URL directly, or hide sensitive content from anyone determined to find it. Never rely on it to protect private data; use proper authentication instead.

Common mistakes: accidentally disallowing your entire site with Disallow: / under User-agent: *, forgetting to declare your sitemap, and confusing robots.txt with meta robots tags, they control different things and often need to be used together.

AI crawlers in 2026: the landscape has expanded significantly. Beyond traditional search engine bots, you now have crawlers that feed large language models and AI answer engines. Whether to allow them is a genuine strategic decision, not just a technical one, covered further below.

Quick reference

Common presets explained.

πŸ”§ WordPress site
Blocks /wp-admin/, /wp-includes/, and /cgi-bin/, while explicitly allowing /wp-admin/admin-ajax.php, since many plugins need this endpoint accessible even though it's technically inside the admin folder.
πŸ›’ E-commerce
Blocks /cart/, /checkout/, /account/, and /order-history/, pages that are functionally necessary but offer nothing for search engines to index, and can create thin or duplicate content issues if crawled.
πŸ€– Block AI crawlers
Disallows GPTBot, CCBot, PerplexityBot, ClaudeBot, OAI-SearchBot, Bytespider, and Diffbot, while leaving Googlebot and Bingbot untouched, so your traditional search presence is unaffected.

Should you block AI crawlers?

There's no universally correct answer, it depends on what you're optimising for. Blocking AI crawlers keeps your content out of training data and away from AI-generated summaries that might reduce clicks to your site. But it also risks invisibility in a fast-growing discovery channel: 45% of consumers now use AI tools like ChatGPT and Gemini to find local businesses, up from just 6% in 2025 (BrightLocal LCRS 2026). For most local businesses, the safer default is to allow AI crawlers and focus on strengthening the signals, schema markup, review quality, that influence how favourably you're represented when you do appear.

Common questions

About robots.txt.

Not reliably. Robots.txt controls crawling, not indexing. A page can still appear in search results without a description if it's linked from elsewhere, even if crawling is disallowed. To reliably prevent indexing, use a noindex meta tag instead.
Most crawlers are forgiving of minor syntax issues and will simply ignore malformed lines. However, a badly structured file can accidentally block your entire site from being crawled, so it's worth validating before uploading.
Upload the file to the root directory of your domain so it's accessible at yourdomain.com/robots.txt. It must be at the root, a robots.txt placed in a subfolder will not be recognized by crawlers.
It depends on your goals. Blocking protects your content from AI training data, but may reduce visibility when consumers ask ChatGPT or Gemini for recommendations, a channel 45% of consumers now use (BrightLocal 2026).
Crawl-delay asks a bot to wait a specified number of seconds between requests to your server, which can help large sites manage server load. Google no longer honors this directive, though some other search engines and bots still do.
Google generally respects robots.txt directives, but it's not an enforceable security boundary, well-behaved crawlers follow it voluntarily, and it cannot stop malicious bots or prevent direct access to a disallowed URL.
Robots.txt sorted. What's next?

Get a full GBP audit.
Free, no obligation.

Chat on WhatsApp