Build the file
Next: upload the file to the site root, then run the robots.txt checker on the live address.
How to use the robots.txt generator
- Leave Open site on unless the address is a staging copy.
- Pick a starting set or list the paths that should not be crawled: carts, account pages, internal search, URLs with sort and session parameters.
- Decide about AI crawlers. Training and AI search are separate switches, so you can opt out of one and stay in the other.
- Add the full sitemap address.
- Download the file and place it at
https://your-site/robots.txt. Each subdomain needs its own file. - Open the live address in the robots.txt checker to confirm that Googlebot and Bingbot still reach the home page.
What to close and what to leave open
| Part of the site | Close it? | Why |
|---|---|---|
| Cart, checkout, account | Yes | Personal pages with no search value; crawling them wastes requests |
| Internal search results | Yes | They create endless URL combinations |
| Sort, filter and session parameters | Usually | The same list in another order is a duplicate |
| CSS, JavaScript, images | No | Google renders the page and needs these files |
| A page you want out of search | No | Leave it crawlable and add a noindex tag; a blocked page can still be listed by its URL |
| Admin login | Optional | Robots.txt is public and is not protection. Use a password |
AI crawlers: three jobs, three decisions
AI companies now run separate bots for training, for search and for pages a person asks the assistant to open. The first two follow robots.txt; the third often does not.
| Token | Company | What it does | If you block it |
|---|---|---|---|
GPTBot | OpenAI | Collects pages that may train models | New content stays out of training. ChatGPT search is a separate bot |
OAI-SearchBot | OpenAI | Finds pages for ChatGPT search | Pages are not shown in ChatGPT search answers |
ChatGPT-User | OpenAI | Opens a page when a person asks | OpenAI says robots.txt may not apply to it |
ClaudeBot | Anthropic | Collects pages that may train models | Future content is left out of training data |
Claude-SearchBot | Anthropic | Indexes pages for search answers in Claude | Lower visibility in those answers |
Claude-User | Anthropic | Opens a page when a person asks | Claude cannot read the page for that person |
PerplexityBot | Perplexity | Indexes pages for Perplexity search | Pages may not be cited in Perplexity |
Perplexity-User | Perplexity | Opens a page when a person asks | Perplexity says it generally ignores robots.txt here |
Google-Extended | A switch, not a crawler: Gemini training and grounding | No effect on Google Search | |
Applebot-Extended | Apple | A switch, not a crawler: training of Apple models | Applebot still crawls for Siri and Spotlight |
meta-externalagent | Meta | Crawls for AI training and product indexing | Content is left out of that crawl |
CCBot | Common Crawl | Builds an open dataset that many AI projects use | New pages stay out of the dataset |
The usual choice for a business site is to opt out of training if that matters to you and to keep AI search open, because that is where new visitors come from. The page on AI search visibility covers the rest of the setup.
One rule that surprises people
A crawler with its own group ignores the general User-agent: * group. The generator only writes own groups for bots you block completely, so your path rules keep applying to everyone else.
After the upload
- Open
/robots.txtin a browser. It must answer 200 as plain text. - Check a page that must rank and a page that must stay closed.
- Changes are not instant. Google usually refreshes its copy of the file within a day; OpenAI says its search systems need about 24 hours.
Monitor this automatically
Save your site in Traffivio and get scheduled audits, health checks and agent proposals.
Sign up free ↗Questions
Where does the robots.txt file go?
In the root of the host, so it opens at https://example.com/robots.txt. A file in a folder is ignored, and every subdomain needs its own.
Does blocking GPTBot remove my site from ChatGPT?
No. GPTBot collects training data. ChatGPT search uses OAI-SearchBot, and OpenAI treats the two settings separately.
Does Disallow remove a page from Google?
No. It stops crawling, not indexing. A blocked URL can still appear when other sites link to it. To remove a page, keep it crawlable and add a noindex tag.
Should I add Crawl-delay?
Googlebot ignores it. Bing and some other crawlers read it. Leave it out unless crawling really loads the server.
Is anything I type sent to Traffivio?
No. The generator runs in your browser. The text is not uploaded or stored.
Do I need an account?
No. The generator works without signing in. An account is only for scheduled audits of a saved site.