Use the free robots.txt generator
Files and text are processed in your browser. Nothing is uploaded to Improve Your State.
How to use this tool
- Enter the paths crawlers should avoid.
- Optionally add allowed paths and sitemap URL.
- Download robots.txt and upload it to your website root.
Frequently asked questions
Does Disallow protect private pages?
No. robots.txt is only a request to compliant crawlers. Use authentication for sensitive files.
Will this prevent Google indexing?
Not necessarily. A disallowed URL may still be indexed from external links. Use appropriate noindex controls when applicable.