Robots.txt generator
Tell crawlers where they may go. Keep admin and checkout pages out, point search engines at your sitemap and decide whether AI companies may train on your content.
How it works
- Choose whether crawlers may visit the site.
- List the paths to keep out and add your sitemap address.
- Press Generate and save the file as /robots.txt.
Does robots.txt hide a page from Google?
No. It stops crawling, not indexing: a blocked page can still appear if others link to it. Use a noindex meta tag to keep a page out of results.
Which AI crawlers are blocked?
GPTBot and ChatGPT-User (OpenAI), ClaudeBot (Anthropic), Google-Extended, PerplexityBot, CCBot, Bytespider, Amazonbot and Applebot-Extended.
Where does the file go?
At the root of the domain: https://example.com/robots.txt. Each subdomain needs its own.
Use it from ChatGPT, Claude or your own agent
This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.
Fields
policy("allow-all" | "block-all", optional): Crawlersdisallow(text, optional): Paths to keep out (one per line)sitemap_url(text, optional): Sitemap URLblock_ai_crawlers(true | false, optional): Opt out of AI training crawlerscrawl_delay(integer, optional): Crawl delay (seconds). Optional. Google ignores it; Bing honours it
A call that works
POST https://orkosi.com/api/v1/public/tools/robots-txt-generator/run
Authorization: Bearer <api_key>
{
"input": {
"policy": "allow-all",
"disallow": "/admin\n/checkout\n/api/",
"sitemap_url": "https://example.com/sitemap.xml",
"block_ai_crawlers": true
}
}Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.