How it works
Use the robots.txt generator in three steps
- 01
Enter your sitemap URL and paths that should not be crawled.
- 02
Choose whether to include common AI crawler directives.
- 03
Copy the file to /robots.txt at the root of your domain.
Free · no signup required
Generate a straightforward robots.txt policy that tells compliant crawlers which paths they may request. Review every rule before publishing it.
User-agent: * Allow: / Disallow: /admin/ Disallow: /checkout/ Sitemap: https://example.com/sitemap.xml
How it works
Enter your sitemap URL and paths that should not be crawled.
Choose whether to include common AI crawler directives.
Copy the file to /robots.txt at the root of your domain.
What it provides
Common questions
Not reliably. It controls crawling, while removal from search generally requires appropriate indexing controls such as noindex on an accessible page.
No. The file is public and compliant crawlers may honor it, but it is not authentication or access control.
At the root of the relevant host, such as https://example.com/robots.txt.
Need implementation help?