Upload the file to the root of your website so it opens at yourdomain.com/robots.txt. Robots.txt is a request to crawlers, not a security tool.
Robots.txt Generator Online Free – Create a robots.txt File in Seconds
Build a correct robots.txt file for your website. Pick a preset or add your own allow and disallow rules, set a sitemap link, then copy or download the file.
How to use the Robots.txt Generator
- Choose a preset such as Allow everything or WordPress.
- Add any paths you want to block or allow, one per line.
- Add your sitemap URL.
- Copy the text or download robots.txt and upload it to your site root.
Frequently asked questions
Where do I put the robots.txt file?
Put it in the root folder of your site so it opens at yourdomain.com/robots.txt.
Does robots.txt hide a page 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 tag to keep a page out of search.
What does Disallow: / mean?
It tells the crawler not to visit any page on the site. Use it only on test sites.
Should I add my sitemap?
Yes. A Sitemap line helps search engines find your sitemap faster.
Looking for more? Browse all SEO tools.