Working area
Create crawler rules that are easy to review
Start from a preset, tune path rules for each user-agent, add sitemap URLs, then copy or download a ready-to-publish robots.txt file.
Presets
Start from a common policy
Rules
User-agent groups
Discovery
Sitemap and host
Output
Generated robots.txt
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /private/
Disallow: /api/
Disallow: /cart/
Disallow: /checkout/
Sitemap: https://example.com/sitemap.xml
Checks
Publish readiness
User-agent
pass1 user-agent group configured.
Crawl policy
passThe default policy does not block the entire site for all crawlers.
Sitemap
pass1 absolute sitemap URL included.
Output
info9 lines ready to publish at /robots.txt.
GuideHow it works3 steps
Choose a starting preset
Begin with allow-all, block private paths, or block-all, then adjust the rules for your site.
Add allow, disallow, and sitemap lines
Enter path rules per user-agent and reference one or more sitemap URLs for crawler discovery.
Copy or download robots.txt
Review the readiness checks, then publish the generated file at your site root as /robots.txt.
More toolsRelated tools
FAQFrequently asked questions
Where should robots.txt be published?
Publish it at the site root, for example https://example.com/robots.txt. Crawlers look for that exact location.
Does robots.txt hide private pages from search results?
No. It guides crawling. Pages can still appear if they are linked elsewhere. Use authentication or noindex for stronger control.
Should I block my whole site with Disallow: /?
Only if the site should not be crawled. A site-wide block prevents search engines from discovering useful pages.
Can I list more than one sitemap?
Yes. Add one sitemap URL per line. Large sites often keep separate sitemaps for posts, products, or languages.