SEQUENCE
SEO
Free · no signup

Robots.txt Generator: Build Crawl Rules Visually

Build a valid robots.txt without memorizing the syntax: add user-agent groups, Allow and Disallow paths, crawl delays and sitemap URLs, or block AI crawlers with one click. It's for site owners, developers and SEO specialists launching a site or tidying up crawl rules for search engines and AI bots.

Common Disallows

Adds or removes rules in Group 1.

AI Crawlers

GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot and others. Your pages can still be cited in AI search answers.

OAI-SearchBot, ChatGPT-User, Claude-SearchBot, PerplexityBot and others. Your site will stop appearing as a source in their answers.

Group 1

* means all crawlers. Separate several user-agents with commas.

Disallow
Allow

One absolute URL per line. Sitemap lines go at the end of the file.

Generated Code

User-agent: *
Disallow: /admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /search/

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

Save as robots.txt in the root folder of your website

How to use it

  1. 1Keep the default group for all bots (User-agent: *) or add groups for specific crawlers, separating several names with commas.
  2. 2Tick common paths to block, such as admin, cart, checkout, login and internal search, or add your own Allow and Disallow paths.
  3. 3Turn on the AI presets if you want to block AI training crawlers, AI search crawlers or both.
  4. 4Add one or more sitemap URLs.
  5. 5Copy the code or download robots.txt and upload it to the root of your domain.

Robots.txt example and syntax

User-agent: *
Disallow: /admin/
Disallow: /cart/
Disallow: /search/

Sitemap: https://example.com/sitemap.xml
  • The file must live at the root, like https://example.com/robots.txt; each subdomain needs its own.
  • Paths are case-sensitive and match by prefix; * matches any characters and $ marks the end of a URL.
  • Google follows the most specific (longest) matching rule, so Allow: /blog/ can override Disallow: /.
  • Google ignores Crawl-delay; Bing and some other crawlers respect it.
  • The builder fixes paths without a leading slash and flags duplicate rules and invalid sitemap URLs.

How to block AI crawlers with robots.txt

AI companies publish separate user agents for model training and for live search. The builder's presets cover both groups:

PresetExamples of user agents
AI trainingGPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent
AI search and assistantsOAI-SearchBot, ChatGPT-User, Claude-SearchBot, PerplexityBot

Think before blocking the second group: assistants can only cite and link to pages they're allowed to read. Bots that ignore robots.txt have to be blocked at the server or firewall. Our SEO team can help decide what to allow.

FAQ

No. Disallow stops crawling, not indexing. A blocked URL can still appear in results if other pages link to it, usually without a description. To remove a page, allow crawling and add a noindex meta tag or X-Robots-Tag header, or delete the page so it returns 404 or 410.

Put it in the root directory of the host so it opens at https://yourdomain.com/robots.txt, served as plain text with a 200 status. Files in subfolders are ignored. On WordPress, Shopify and similar platforms, edit it through the SEO plugin or theme settings, because the file is often generated automatically.

Usually not. Google renders pages like a browser, and blocking the CSS, JavaScript or data files a page needs can make it look broken to Googlebot and hurt rankings. Block private areas and endless URL variations such as internal search results instead, and test important pages with the URL Inspection tool.

If the file returns 404, crawlers assume everything may be crawled, which is fine for many small sites. Problems start when robots.txt returns a server error (5xx): Google may pause crawling the site until it gets a valid response. A simple file with your sitemap line is still good practice.

SEQUENCE web studio

Need a website or marketing?

We build landing pages, corporate sites, and e-commerce. SEO, branding, and automation — all in one team.

All services