robots.txt Generator & Checker
Generate robots.txt and check User-agent, Allow, Disallow, Sitemap and common mistakes locally. Separate search access from selected AI training crawlers.
Data handling: common local tools process inputs in your browser; network queries, server execution and optional AI follow their separate data-use notes.
What is robots.txt Generator & Checker?
robots.txt tells cooperative crawlers which URLs they may fetch. Generate a public-site template excluding API and admin paths, with optional blocks for GPTBot, ClaudeBot and Google-Extended. The text checker flags missing groups, invalid paths and sitemap URLs, whole-site blocks, and Google's unsupported Noindex and Crawl-delay directives. It does not fetch your site, test URL matching or guarantee indexing or AI citations.
How to Use
- Enter a site origin and choose the training-crawler policy
- Generate a template or paste existing text and review the line checks
- Verify the paths, copy and publish at /robots.txt
- Check actual crawl results in webmaster tools and submit your sitemap
FAQ
- Does robots.txt prevent indexing?
- No. Blocked URLs may still appear through external links. Use authentication or a crawlable noindex page for exclusion. Robots is not access control.
- Are AI search and training crawlers the same?
- No. OAI-SearchBot is for ChatGPT search while GPTBot is for training. Google Search crawling is also separate from Google-Extended. Consult each provider's documentation.
- Do specific agent groups inherit the * group?
- No. Repeat exclusions in the matching agent group. Identical agent groups can be combined, but the wildcard group is not an inherited default.
- Does this test a URL's actual crawl permission?
- This tool only lints text and generates templates. It does not implement URL matching or fetch your site. Check HTTP responses, caches, network blocks and crawler behavior separately.
Practical tutorials
- robots.txt for SEO and AI search: groups, sitemaps and noindex
A practical robots.txt template and crawl debugging workflow. Understand agent groups, search versus training, and why crawl access does not guarantee indexing or citations.
Related Tools
Last updated 2026-10-12