Skip to content
crawlwise.

Search Crawlwise

Search tools, articles, guides and your sites

robots.txt generator

The robots.txt generator writes crawl rules for search engines and AI crawlers such as GPTBot and ClaudeBot. You decide which bots to allow; it keeps training opt-outs separate from search access.

  • Free, no sign-up
  • Runs in your browser
  • Generator · 35 free tools
Examples are fictional templates. Replace their details before using the output.
Rule 1

One per line. Use * for the catch-all group.

Absolute URLs, one per line.

  • No Sitemap declared. Add the absolute URL of your sitemap.xml.
robots.txt
User-agent: *
Allow: /

Crawler reference

User-agentOwnerCategory
__usage_ai-trainingShared (IETF AIPREF)training
GooglebotGooglesearch
Googlebot-ImageGooglesearch
Google-ExtendedGoogletraining
AdsBot-GoogleGooglesearch
BingbotMicrosoftsearch
MicrosoftPreviewMicrosoftsocial
DuckDuckBotDuckDuckGosearch
DuckAssistBotDuckDuckGoretrieval
ApplebotApplesearch
Applebot-ExtendedAppletraining
GPTBotOpenAItraining
OAI-SearchBotOpenAIretrieval
ChatGPT-UserOpenAIretrieval
ClaudeBotAnthropictraining
anthropic-aiAnthropictraining
Claude-SearchBotAnthropicretrieval
Claude-UserAnthropicretrieval
PerplexityBotPerplexityretrieval
Perplexity-UserPerplexityretrieval
Google-CloudVertexBotGoogleretrieval
GoogleOtherGoogleresearch
Meta-ExternalAgentMetatraining
Meta-ExternalFetcherMetaretrieval
facebookexternalhitMetasocial
BytespiderByteDancetraining
CCBotCommon Crawlresearch
DiffbotDiffbotresearch
Cohere-aiCohereretrieval
cohere-training-data-crawlerCoheretraining
MistralAI-UserMistralretrieval
AmazonbotAmazontraining
YandexBotYandexsearch
BaiduspiderBaidusearch
TwitterbotXsocial
LinkedInBotLinkedInsocial
SlackbotSlacksocial
DiscordbotDiscordsocial
WhatsAppMetasocial
AhrefsBotAhrefsseo
SemrushBotSemrushseo
DotBotMozseo

Once the file is live, check that the page actually serves it, and that nothing else on the page undoes it. Plans start at $14.99 a month.

How to use the robots.txt generator

  1. 1

    Fill in the fields

    Or press Load example to see a finished version you can edit.

  2. 2

    Watch the output

    The file updates as you type, and missing required fields are flagged.

  3. 3

    Copy or download

    Use the buttons on the output box. Nothing is sent to us unless you press Save.

  4. 4

    Add it to your site

    Paste it where the guide says, then check it with the matching checker.

What this does not measure

We would rather say what a tool cannot see than let a clean result mislead you.

  • robots.txt is a request, not enforcement. A crawler that ignores it is not stopped by it.
  • It does not know which paths exist on your site. Ask the crawl for that.
  • Blocking a training crawler and blocking a search crawler are different decisions with different consequences, and the generator does not make either one for you.

Want the full picture?

This tool answers one question. A full audit runs every check on a page, scores it, and gives you a short list of what to fix first.

Run a free audit

Questions about the robots.txt generator

More in the guides.

Write crawl rules for search and retrieval bots. Training preferences are a separate decision.

No. Every tool in the free toolkit runs without sign-up, card, or email. A full site audit and saved history require an account and credits.

robots.txt is a request, not enforcement. A crawler that ignores it is not stopped by it.

Crawlwise shows the evidence behind each result and prices work in credits. Suites bundle backlinks and ads research; we focus on measurable on-page health and crawler access.

The free tool answers one URL or one question. Add a site in Crawlwise to crawl many pages, export reports, and track changes over time on paid plans.

Nothing outside Google can promise rankings. Fixing real technical issues removes friction for crawlers and readers; it is necessary but not sufficient for visibility.

Keep reading