How to use the Robots.txt Generator
- Choose whether to allow or block all crawlers by default.
- Add the paths to disallow and your sitemap URL.
- Download robots.txt and upload it to your site's root.
Features
- Rules for each user agent
- Optional blocking of common AI training crawlers
- Sitemap directive
Frequently asked questions
Does robots.txt hide pages from Google?
Not reliably. It stops crawling, but a blocked URL can still appear in results if other sites link to it. Use a noindex meta tag to keep a page out of search.
Where does robots.txt go?
In the root of your domain, for example https://example.com/robots.txt. Each subdomain needs its own.