Skip to content

robots.txt File Generator

Design custom search directives and control access for traditional search crawlers and AI bots.

Free · no account needed to get started

Permisos de Rastreo

Googlebot (Búsqueda de Google)
Bingbot (Microsoft Bing)
OAI-SearchBot (OpenAI Search)
Claude-SearchBot (Anthropic Search)
GPTBot (OpenAI training)
ClaudeBot (Anthropic training)
PerplexityBot (Perplexity AI)

Archivo robots.txt Generado

User-agent: *
Allow: /
Disallow: /wp-admin/
Disallow: /checkout/
Disallow: /api/

User-agent: Googlebot
Allow: /

User-agent: Bingbot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /
Weekly newsletter

Access copy and download options

Join Odiseo's weekly newsletter and access this resource now.

One useful email a week and one-click unsubscribe.

The Robots.txt File: Governing Standard Web Crawlers and AI Bots

A robots.txt file is a lightweight text file hosted in your domain's root folder (e.g. https://yourdomain.com/robots.txt). It provides search engine spiders and AI indexers with clear guidelines on which directories they can or cannot crawl.

Incorrect configurations in this file are a major risk factor: a single misconfigured slash (/) directive can drop your entire domain from Google index within a day.

Understanding Robots.txt Directives

  • User-agent: Declares which bot the rule targets. An asterisk (*) represents a catch-all ruleset for all global scrapers.
  • Disallow: Restricts access to specific paths. Protect private backend routes like admin portals (/wp-admin/), payment checkouts, or private APIs.
  • Allow: Declares crawl exceptions for sub-folders nested inside a disallowed directory.
  • Sitemap: Points crawlers directly to your absolute XML sitemap URL to accelerate discovery.

Protect Your Crawl Health Automatically

Odiseo monitors your robots.txt to ensure your templates remain crawlable for CSS and JS assets, keeping you visible and ranked in Google and ChatGPT.

Start Your Free Trial

Before you start

Frequently asked questions

Where does the robots.txt file go?
Always at the root of the domain, at /robots.txt. It is not read from a subdirectory, and every subdomain needs its own file.
Does Disallow keep a page out of Google?
Not entirely. Disallow prevents crawling, but a blocked URL can still appear if other sites link to it. Removing it from the index requires noindex, which Google must be able to crawl to see.
How do I block only AI crawlers?
Use dedicated User-agent blocks for GPTBot, ClaudeBot, PerplexityBot or Google-Extended and leave the Googlebot block untouched. Traditional SEO stays unaffected.
Your next step

You know what to improve. Let Odiseo get to work.

Connect your site and bring analysis, your calendar, articles and results together. You review and approve.

Start with Odiseo