# Robots.txt Builder

> Free Robots.txt Builder. Generate a professional robots.txt file with standard security, SEO, and AI training crawler rules for your website.

---

## Robots.txt Builder

Build precise robots.txt directives that tell search engines and AI bots what to crawl on your site

About This Tool

This is a free educational tool we publish for public use. It does not represent the capacity, depth, or analytical rigor of DSF's in-house systems.

[→ See what the DSF Command Center 500+ check audit covers](/services/website-health-audit/)

## Optimize Your SEO: Generate a Professional Robots.txt

[Google's crawlers download and parse](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt) a site's **Robots.txt** file before crawling the site. The file acts as a gatekeeper for compliant bots, guiding them away from private or resource-heavy directories and toward your most important content.

### How to Use

- **Set Rules:** Choose a bot, an action, and a path.
- **Add to List:** Click “Add Rule” to stack instructions.
- **Platform Presets:** Use “SEO Health Check” for quick setups.
- **Export:** Download the `.txt` or copy the code.

### Pro Tips

- **Don’t hide CSS/JS:** Google needs these to render your site.
- **Sitemaps:** Add your Sitemap URL at the very end.
- **Wildcards:** Use `*` to apply a rule to every bot.
- **AI Bots:** The AI preset disallows seven tokens: the training crawlers GPTBot, ClaudeBot, Meta-ExternalAgent, plus Amazonbot, the control tokens Google-Extended plus Applebot-Extended, then CCBot, the crawler for Common Crawl's public web archive. Search crawlers such as OAI-SearchBot, Claude-SearchBot, or PerplexityBot are not included, because disallowing them removes a site from those search products.

#### Deployment Checklist

- **Root Access:** Upload strictly to `domain.com/robots.txt`.
- **Naming:** Filename must be lowercase `robots.txt`.
- **Visibility:** Ensure the file is public (HTTP 200).

**Bot Guide:** `Googlebot` (Google), `Bingbot` (Bing), `GPTBot` (OpenAI model training). Use `*` for **all** crawlers. `Google-Extended` is a control token for Gemini training, not a crawler.

#### SEO Health Check: Platform Presets

Click to add standard security, SEO, or AI training rules:

User-Agent

Allow
Disallow

Directory or File Path

Crawl-Delay (Seconds)

Sitemap URL (Optional)

#### Test & Validate

[Google Search Console](https://search.google.com/search-console/welcome), [Robots.txt Report Guide](https://support.google.com/webmasters/answer/6062598)

Live Preview
# Generated robots.txt

### Frequently Asked Questions

Where does the robots.txt file go?
At the root of your domain, served at https://yourdomain.com/robots.txt. Crawlers only read it from that exact path, so a robots.txt in any subfolder is ignored. The filename must be lowercase, and the file must return HTTP 200.

Does robots.txt actually block AI crawlers?
Only the ones that choose to obey it. [OpenAI documents](https://developers.openai.com/api/docs/bots) GPTBot as its crawler for model training and OAI-SearchBot as the one that surfaces sites in ChatGPT search. [Anthropic says](https://support.claude.com/en/articles/8896518) its bots, ClaudeBot included, honor robots.txt directives. [Google-Extended](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers) is a control token, not a crawler: disallowing it limits Gemini training and grounding without affecting Google Search. User-triggered fetchers are the exception, because OpenAI says robots.txt rules may not apply to ChatGPT-User and [Perplexity says](https://docs.perplexity.ai/guides/bots) Perplexity-User generally ignores them. A robots.txt file is a published request, not a hard firewall, so pair it with server-level controls for anything you must truly protect.

What is the difference between Disallow and noindex?
Disallow tells a crawler not to fetch a path, but it does not guarantee the page stays out of an index, because the URL can still be listed from external links. To keep a page out of results, allow the crawl and use a noindex meta tag or an X-Robots-Tag header so the engine can read the directive.

Should I block my CSS and JavaScript?
No. Google renders pages the way a browser does, so blocking CSS or JS stops it from seeing your real layout and content, which can lower how well the page is understood. Leave rendering assets crawlable; reserve Disallow for admin, checkout, plus other private directories.

Why add a Sitemap line?
The Sitemap directive points crawlers straight to your XML sitemap, the list of URLs you want crawled. The line must hold an absolute URL, which conventionally sits at the end of the file. A single robots.txt can list more than one sitemap.

What does User-agent: * mean?
The asterisk is a wildcard, so the rules beneath it apply to every crawler that has no block of its own. A crawler obeys the most specific matching group, so a named GPTBot block overrides the wildcard for GPTBot. Order the file from general rules down to specific ones for clarity.

Is a missing robots.txt a problem?
A missing file is treated as full-allow, so crawlers assume every path is open. That is fine for a fully public site, but most sites benefit from disallowing admin paths plus declaring a sitemap. An empty file behaves the same way as a missing one.

### Next Steps

- Generate the structured data for the same pages with the [Schema Builder](../schema-builder/), then add both files to your site.
- Audit a live URL with the [AEO Analyzer](../aeo-analyzer/) to score its served HTML, schema included.
- Check which AI crawlers your robots.txt allows to reach the page in the [AI Readiness X-Ray](../ai-readiness-x-ray/).
- Map your brand's Wikidata connections in the [Entity Constellation](../entity-constellation/).
- Rolling crawl strategy across many templates or a whole site? [Contact us](/contact/) to start an AEO engagement.

MAY THE FORCE BE WITH YOU

[
← RETURN TO BASE
](../)