Robots.txt Generator
Build a robots.txt file that tells search engines which parts of your site to crawl.
How it works
- Choose to allow everything, block some pages, or block the whole site.
- List the folders to block, one per line, and add your sitemap address.
- Download the file and put it in the top folder of your site.
Privacy
What you type is processed inside your browser. It is not sent to us or anyone else, and it is gone when you close the page.
Frequently asked questions
What does robots.txt do?
It is a file at the top of your site that asks search engines and other crawlers which pages not to visit. Well-behaved crawlers follow it.
Does robots.txt hide a page?
No. It only asks crawlers to skip it, and anyone with the link can still open the page. To keep a page private, protect it with a password. To keep it out of search results, use a noindex tag.
Can I block AI crawlers?
You can ask them to stay away. The tool adds rules for the main AI training crawlers. Crawlers that respect robots.txt will obey, but it is a request and not a lock.
Where do I put the file?
Upload it so it loads at yoursite.com/robots.txt. A robots.txt in a sub-folder is ignored.