Robots.txt Generator
Generate a robots.txt file in seconds. Control search and AI crawlers per bot — with AI presets and the AI-training usage signal.
100% FreeNo sign-upNothing stored
AI crawler presets
One click sets every AI crawler at once. You can still change individual bots below.
Default for all robots
The * rule applies to every crawler that has no rule of its own.
* (all crawlers)
Default rule for every bot
Crawl-delay (seconds, optional)
Asks polite crawlers to wait between requests. Not all crawlers respect it.
Sitemap URL
Added as a Sitemap: line so crawlers can find your sitemap.
Search engines
The crawlers that build search results.
Googlebot
Google Search
Bingbot
Bing Search
Applebot
Apple Search & Siri
AI crawlers
Bots that fetch pages for AI search answers and model training. Block them, or let them crawl while opting out of training.
Google-ExtendedAI
Google AI products (Gemini, AI Overviews)
GPTBotAI
OpenAI web crawler (ChatGPT training & search)
ChatGPT-UserAI
ChatGPT browsing on user request
OAI-SearchBotAI
OpenAI Search
ClaudeBotAI
Anthropic Claude crawler
anthropic-aiAI
Anthropic AI training crawler
CCBotAI
Common Crawl (used to train many AI models)
PerplexityBotAI
Perplexity AI search
DuckAssistBotAI
DuckDuckGo AI answers
BytespiderAI
ByteDance (TikTok) AI crawler
Your robots.txt — live preview
Save this as robots.txt in the root folder of your website.
# robots.txt — generated with SEO Audit Wizard # https://seoauditwizar.online/robots-txt-generator/ User-agent: * Allow: / User-agent: Googlebot Allow: / User-agent: Bingbot Allow: / User-agent: Google-Extended Allow: / User-agent: GPTBot Allow: / User-agent: ChatGPT-User Allow: / User-agent: OAI-SearchBot Allow: / User-agent: ClaudeBot Allow: / User-agent: anthropic-ai Allow: / User-agent: CCBot Allow: / User-agent: PerplexityBot Allow: / User-agent: Applebot Allow: / User-agent: DuckAssistBot Allow: / User-agent: Bytespider Allow: / Sitemap: https://seoauditwizar.online/sitemap.xml
How to use
How to use the Robots.txt Generator
Set rules per crawler — or use a preset
Choose Allow, Disallow or custom paths for each bot. The AI presets set all ten AI crawlers at once.
Add a sitemap and crawl-delay
Point crawlers at your sitemap and, if your server is small, ask polite crawlers to wait between requests.
Copy, download and upload
Save the file as robots.txt in your site’s root folder. That is all — crawlers will read it on their next visit.
What is robots.txt in SEO?
A robots.txt file is the doorman of your website. Before a crawler fetches a page, it usually checks robots.txt to see whether that page is open to it. The file does not hide pages from people, and it is not security — anyone can read it. Its job is to guide well-behaved crawlers: keep them out of admin areas, login pages, internal search results and other parts of the site that should never appear in search.
In 2026 the file has a second job: controlling AI crawlers. Bots from OpenAI, Anthropic, Google, Perplexity and others fetch pages for AI search answers and model training. With per-bot rules you can let them answer questions from your content, block them entirely, or let them crawl while opting out of training use.
What is robots.txt for, and who uses it?
Site owners use it to protect crawl budget and keep unfinished or private areas out of search. Developers use it to keep staging copies and admin panels away from crawlers. Bloggers use it to stop internal search pages and tag archives from being indexed. And since AI crawlers arrived, publishers use it to decide who may train on their content.
The file follows the robots exclusion protocol, formalised as RFC 9309 in 2022. It is a voluntary standard: honest crawlers obey it, scrapers and bad bots ignore it.
Benefits of a correct robots.txt
A correct file earns its place in four ways:
- Crawl budget saved — crawlers spend their visits on pages that matter instead of admin areas and duplicate URLs.
- Cleaner search results — internal search pages, login screens and staging copies stay out of the index.
- Faster indexing of new pages — with fewer low-value URLs to crawl, important pages get visited sooner.
- AI control — per-bot rules decide which AI crawlers may fetch your content and whether it may be used for training.
Purpose of directives
A robots.txt file is built from a few simple directives:
- User-agent — which crawler the following rules apply to. * means every crawler.
- Allow — a path the crawler may visit. Allow: / opens the whole site.
- Disallow — a path the crawler should not visit, e.g. Disallow: /admin/.
- Crawl-delay — how many seconds a polite crawler should wait between requests. Not all crawlers respect it.
- Sitemap — the address of your XML sitemap, so crawlers can find it without guessing.
- __usage_ai-training — an emerging signal to opt out of AI training use of your content.
Difference between a sitemap and a robots.txt
They do opposite jobs and you usually need both. A robots.txt file tells crawlers what NOT to visit. An XML sitemap tells crawlers what DOES exist and is worth visiting. Robots.txt is a gate; a sitemap is a map.
Put the sitemap address inside robots.txt as a Sitemap: line, and crawlers will find both in one place.
How to make a robots.txt file
Use the generator above: set the rules, copy the result, and save it as a file named exactly robots.txt in your site’s root folder. Then open example.com/robots.txt in a browser to check it loads. Google Search Console shows your robots.txt under Settings, with any errors it found.
Best practices — and common mistakes
Most robots.txt disasters come from a short list of avoidable errors:
- Never write Disallow: / for all crawlers unless you mean to block the whole site — it is the most common way to accidentally de-index a site.
- Do not use robots.txt to hide private content — the file is public, and blocked pages can still appear in results if other sites link to them. Use noindex or a password instead.
- Do not block CSS, JavaScript or image files that Google needs to render the page — blocking them can hurt how the page is understood.
- Always add a Sitemap: line pointing at your sitemap, so crawlers find it without guessing.
- Test before uploading — paste the file into the validator in this tool and check it in Search Console after publishing.
FAQ
Frequently asked questions
A robots.txt file is a plain-text file in the root of a website that tells crawlers which parts of the site they may and may not visit. Search engines read it before crawling; so do AI crawlers like GPTBot and ClaudeBot.
Keep going