Skip to content

Free tool · runs in your browser

robots.txtgenerator

Choose what Google and AI bots may crawl, and your robots.txt is written in front of you. Copy or download it and upload it to your site's root (public_html).

All bots
AI search bots ChatGPT, Claude and Perplexity when answering
Model-training bots GPTBot, ClaudeBot, Google-Extended, CCBot
  • AI bots included
  • WordPress preset
  • Copy or download

your-site.com/robots.txt

This tool runs in your browser. We don't store what you type and we use no trackers.

How to use it and read the results

What is robots.txt?

A small text file in your site's root, the first thing any bot reads before visiting your pages, telling it what's allowed and what isn't. Google and Bing read it, and so do AI bots today, such as OpenAI's OAI-SearchBot, Anthropic's Claude-SearchBot and PerplexityBot.

Search bots versus training bots

TypeExamplesIf you block it
AI searchOAI-SearchBot, ChatGPT-User, Claude-SearchBot, PerplexityBotYour site won't appear in their answers or get visits from them.
Model trainingGPTBot, ClaudeBot, Google-Extended, CCBotYour content won't be used for training, with no effect on search.

After you create it

  • Upload it to public_html with the File Manager, and make sure it opens at your-site.com/robots.txt.
  • Check the result with Is your site AI-ready?
  • If you don't have an llms.txt yet, the same tool explains how to add one.

FAQ

Where does robots.txt go?

In the site's root, the public_html folder on cPanel hosting, so it opens at your-site.com/robots.txt. Upload it with the File Manager.

Does blocking training bots hide my site from ChatGPT?

No. Training bots like GPTBot collect pages to train models, while showing up in ChatGPT's answers depends on OAI-SearchBot. That's why we keep the two apart.

Does robots.txt protect private pages?

No. It's a request only well-behaved bots follow, and anyone can read it. Protect private pages with a password, not robots.txt.

What's the Content-Signal line?

A newer line proposed by Cloudflare that says how your content may be used: in search, in AI answers and for training. We write it from your choices.

More tools

Free tools