- Home
- Website Tools
- Robots.txt Generator
Robots.txt Generator
Create a simple robots.txt file and download it.
How it works
Set the user-agent (use * for all crawlers), the path you want to block and your sitemap URL. The tool writes the file and downloads it as robots.txt, ready to upload to the root of your site.
Leave the disallow path empty to allow everything. Remember that robots.txt is a request to well-behaved crawlers, not a security measure, so never rely on it to hide private pages.
Frequently asked questions
Where does robots.txt go?
At the root of your domain, for example https://example.com/robots.txt.
Does robots.txt keep pages private?
No. It only asks crawlers not to fetch pages. Use authentication to protect private content.
Can I add several rules?
This generator writes one rule. Add more lines by hand in the downloaded file if you need them.