Free robots.txt generator
Choose what crawlers may fetch, block GPTBot, ClaudeBot and other AI crawlers (or only the ones that train models), and add your sitemap. You get a robots.txt file to copy or download, checked against Google's rules. Free, no sign-up, and it all runs in your browser.
Short answer
A robots.txt file tells crawlers which URLs they may fetch. It lives at the root of your site (yoursite.com/robots.txt) and holds groups: a User-agent line naming a crawler, then Disallow and Allow lines with paths. Pick your rules below and the generator writes the file, then reads it back the way Google does so you can see who gets in.
One per line. A path blocks everything that starts with it, so /admin/ covers every page in that folder. * matches anything and $ marks the end of the URL.
Blocks /wp-admin/ but allows admin-ajax.php, like WordPress does.
Optional, one per line. Use the full URL. Any host works, but list each one you want crawlers to find.
Your robots.txt
User-agent: * Allow: /
Upload it to the root of your site, so it opens at yoursite.com/robots.txt. A file in a folder is ignored.
Who may crawl your home page
Read back from the file above with the robots.txt tester's rules (Google's).
- GooglebotAllowed
- BingbotAllowed
- GPTBotAllowed
- OAI-SearchBotAllowed
- ChatGPT-UserAllowed
- ClaudeBotAllowed
- Claude-SearchBotAllowed
- Claude-UserAllowed
- PerplexityBotAllowed
- Perplexity-UserAllowed
- Google-ExtendedAllowed
- Applebot-ExtendedAllowed
- CCBotAllowed
- meta-externalagentAllowed
- Meta-WebIndexerAllowed
- meta-externalfetcherAllowed
Want to check other URLs, or a file you already have? Paste it into the robots.txt tester.
Serpwright finds the searches your site shows up for but has no page for, then writes and publishes the articles you approve, then checks in Search Console whether Google has indexed each one.
3 days free, no card.
AI crawlers and what each one does
From each company's own crawler page, checked November 13, 2026. Tokens are not case-sensitive.
GPTBot
OpenAI · Training
OpenAI's crawler for content that may be used to train its AI models.
OAI-SearchBot
OpenAI · AI search
Shows sites in ChatGPT search. OpenAI says sites that block it won't be shown in ChatGPT search answers, though they can still appear as navigational links.
ChatGPT-User
OpenAI · User fetch
Opens pages for actions a ChatGPT user asks for. OpenAI says robots.txt rules may not apply.
ClaudeBot
Anthropic · Training
Anthropic's crawler for content that may be used to train its AI models.
Claude-SearchBot
Anthropic · AI search
Indexes pages to improve Claude's search results. Blocking it stops that indexing.
Claude-User
Anthropic · User fetch
Opens a page when a Claude user's question needs it. Anthropic says it follows robots.txt.
PerplexityBot
Perplexity · AI search
Shows and links sites in Perplexity's search results. Perplexity says it isn't used to train AI models.
Perplexity-User
Perplexity · User fetch
Opens a page when a Perplexity user asks. Perplexity says it generally ignores robots.txt.
Google-Extended
Google · Training
Not a separate crawler: it decides whether pages Google crawls may train Gemini and ground Gemini's answers, so blocking it does both. Google says it doesn't affect Google Search.
Applebot-Extended
Apple · Training
Doesn't crawl: it decides whether pages Applebot crawls may train Apple's AI models. Apple says blocked pages can still show in its search.
CCBot
Common Crawl · Open dataset
Builds Common Crawl's free, open archive of web pages, which anyone can download and use, AI researchers included.
meta-externalagent
Meta · Training
Meta's crawler for training AI models and for indexing content for its products.
Meta-WebIndexer
Meta · AI search
Improves Meta AI's search results and helps it cite and link your pages.
meta-externalfetcher
Meta · User fetch
Fetches a link when a user asks, including for AI that completes tasks on sites. Meta says it may bypass robots.txt.
How the generator writes the file
One group for everyone
Your site-wide rules go in a single User-agent: * group. Googlebot, Bingbot and every AI crawler you leave alone follow it.
One group per blocked AI crawler
Each AI crawler you block gets its own group with Disallow: /. A crawler that finds a group with its name ignores the * group, so that group has to block everything on its own.
Paths written the way crawlers read them
Every path starts with /. A full URL is cut to its path, a # comment is dropped, a space becomes %20 (a crawled URL never has a bare space), and a pasted Allow or Disallow line keeps its meaning whichever box it's in.
Read back before you copy
The file is checked with the same code as our robots.txt tester, which follows Google's rules: the longest matching rule wins, and Allow wins a tie.
What the companies say
Checked November 13, 2026.
- OpenAI: “Each setting is independent of the others,” so a site can allow OAI-SearchBot to appear in search while blocking GPTBot. For ChatGPT-User, “robots.txt rules may not apply” (OpenAI's crawlers).
- Anthropic: blocking ClaudeBot “signals that the site's future materials should be excluded from our AI model training datasets”; blocking Claude-SearchBot or Claude-User stops search indexing or user fetches (Anthropic's crawler help).
- Google: Google-Extended “does not impact a site's inclusion in Google Search nor is it used as a ranking signal” (Google's common crawlers). For AI Overviews and AI Mode, robots.txt rules for Googlebot are the control (AI features and your website).
- Apple: “Applebot-Extended does not crawl webpages”, and pages that block it “can still be included in search results” (About Applebot).
- Perplexity-User “generally ignores robots.txt rules” because a user asked for the page (Perplexity's crawlers). Meta says meta-externalfetcher “may bypass robots.txt rules” and lists meta-externalagent and Meta-WebIndexer (Meta's web crawlers), and Common Crawl documents CCBot (CCBot).
- Google reads only user-agent, allow, disallow and sitemap, and “other fields such as crawl-delay aren't supported” (How Google interprets the robots.txt specification).
The read-back uses Google's matching rules for every crawler. Most crawlers follow the same standard (RFC 9309), but each company's page has the final word on its crawler. Companies add and rename crawlers; we re-check these pages and update the list.
Pages worth crawling
Serpwright reads your Search Console data, finds the searches your site shows up for but has no page for, then writes and publishes an article for each one you approve.
- Articles go to WordPress, Ghost, Webflow or Shopify, with their title, description and schema markup.
- With Search Console connected, it checks each article a day after it goes live, again after a week if it isn't indexed yet, and tells you in the app if it still isn't.
- Nothing goes live until you approve it.
3 days free, no card.