robots.txt generator
Pick what crawlers should stay away from and get a file that's ready to upload. AI crawlers get their own setting, because some of them train models on your content and others look up answers for someone who's asking ChatGPT right now.
Your robots.txt file
Runs in your browser. Nothing you type here is sent anywhere or stored.
How to use it
- Choose what your site runs on. For WordPress and online stores, the generator adds the folders crawlers shouldn't browse on its own: the admin area, the cart, customer accounts and on-site search results.
- Decide what AI crawlers can do.
- Paste your sitemap URL, the file that lists all your pages (usually
yoursite.com/sitemap.xmlorsitemap_index.xml). It helps crawlers find new posts sooner. - Copy the result or download the file, then upload it to your site's root folder.
What this file actually does
robots.txt is the first thing a crawler asks for before it starts browsing your site. Each group starts with User-agent, the crawler's name (an asterisk means all of them), followed by paths it shouldn't visit (Disallow) and exceptions (Allow).
On a small business site, the file is usually three or four lines, and that's enough. You block things that make no sense in search: the admin area, the cart, internal search. You don't block CSS and JavaScript files, because Google needs to see the page the way a person does.
The most common mistake
Disallow: / under User-agent: *. That one slash blocks your entire site. It often gets left behind after a launch, when the developer blocked the work-in-progress version and forgot to remove the block. If your site hasn't shown up in Google for months, check this file first.
Two kinds of AI crawlers
| Crawler | Owner | What it does |
|---|---|---|
| GPTBot | OpenAI | collects text to train models |
| OAI-SearchBot, ChatGPT-User | OpenAI | finds and opens pages when someone asks ChatGPT |
| ClaudeBot | Anthropic | collects text to train models |
| Claude-SearchBot, Claude-User | Anthropic | finds and opens pages when someone asks Claude |
| Google-Extended | permission to use your content in Gemini (doesn't affect regular Google search) | |
| PerplexityBot, Perplexity-User | Perplexity | builds Perplexity's search index and opens pages for people asking questions |
| CCBot | Common Crawl | a public web archive that many models learn from |
| Bytespider, meta-externalagent, Applebot-Extended | ByteDance, Meta, Apple | collect text to train models |
Questions
Where do I upload robots.txt?
yoursite.com/robots.txt. Crawlers won't find it anywhere else. In WordPress, the easiest way is the Yoast or Rank Math plugin, since both come with a file editor. In Webflow, it's under your site settings, in the SEO tab.Will robots.txt remove a page from Google?
noindex tag and don't block it in robots.txt, or the crawler will never see that tag.Should I block AI crawlers?
Do crawlers have to follow robots.txt?
Do I need Crawl-delay?
More free tools
FAQ schema generator
Your questions and answers as FAQPage code (JSON-LD), ready to paste on your page.
Openllms.txt generator
A short guide to your business for AI models. Fill in the fields and download a ready-made llms.txt file.
OpenLocal business schema generator
Your name, address, phone and hours as LocalBusiness code (JSON-LD), ready to paste on your site.
Open