Skip to content

Robots.txt Generator

This free robots.txt generator creates a complete file for your website in seconds. Choose which AI bots can visit, from ChatGPT and Claude to Perplexity and Google’s AI features, block private folders for every crawler and add your sitemap.

Free · No sign-up

Start from your website

Free No sign-up A few seconds

Check that it worked

Once your new robots.txt is live, see which AI bots can visit your site.

More free tools

About the generator

What the robots.txt AI Rules Generator does

robots.txt is a short text file at the root of your website that tells crawlers which pages they may visit. The generator writes two kinds of rules for you. First, the rules for 15 AI bots, in three groups:

  • Search and citation bots, such as OAI-SearchBot, Claude-SearchBot and PerplexityBot, decide whether your pages can appear and be cited in AI answers.
  • User-triggered bots, such as ChatGPT-User and Claude-User, visit a page when someone asks an AI assistant about it.
  • AI training bots, such as GPTBot, ClaudeBot and Google-Extended, collect content to train AI models. Blocking them does not stop you appearing in AI search.

Second, the rules for every other crawler, including Google and Bing: allow everything, block private folders such as your admin area, cart or search pages, or block the whole site while it is still a staging site.

If you paste your current robots.txt, the generator starts from your existing rules and keeps any it does not manage. The file is written in your browser: nothing you paste or choose is sent to us or stored. If you start from your website, we only read its public robots.txt to fill in the steps.

Frequently asked questions

Is the Robots.txt Generator free?

Yes. It is free and needs no account and no email address. The file is written in your browser. If you start from your website, we only read its public robots.txt to fill in the steps; nothing else is sent to us.

Which folders should I block?

Only areas that should never appear in search, such as an admin area, cart and checkout pages, account pages and internal search results. Do not block your CSS, JavaScript or image folders: search engines and AI systems need them to understand your pages. robots.txt is public, so do not use it to hide private content; use a password or noindex instead.

Which setting should I choose?

For most businesses, “AI search on, training off” is the best starting point. Your pages can still appear and be cited in ChatGPT, Claude, Perplexity and Google’s AI answers, while your content is kept out of future AI training. If you are happy for AI companies to train on your content, choose “Allow all AI bots”.

Will blocking AI bots remove me from Google?

Not with this generator’s presets. Googlebot and Bingbot stay allowed unless you switch them off yourself, because blocking them would also remove your site from normal Google and Bing results. Google-Extended only controls whether Google uses your content for Gemini training and grounding.

Do all AI bots respect robots.txt?

The major AI companies, including OpenAI, Anthropic, Google and Perplexity, say their crawlers follow robots.txt. Some smaller or unknown bots may not. Firewalls and bot protection services, such as Cloudflare, can block bots that ignore the rules.

How long does it take for changes to work?

Bots read robots.txt again regularly, usually within a day, though some may take longer. Once the new file is live, you can check it with our AI Crawler Checker.

I use Squarespace. Can I edit robots.txt?

Squarespace does not let you edit robots.txt directly, but it has a setting to block known AI crawlers. The generator explains where to find it.

Related tools

Want this done for you?

Kutola plans and runs SEO and AI search work for brands that want to grow.

Get in touch