How do I create a robots.txt file?
Add your website URL, choose a user agent, enter paths you want to allow or disallow and add your sitemap URL. Then copy or download the generated robots.txt file.
Create a robots.txt file with crawler rules, sitemap URLs and optional crawl delay settings.
| Check | Result |
|---|---|
| Current status | Waiting for input |
Add your website URL, choose a user agent, enter paths you want to allow or disallow and add your sitemap URL. Then copy or download the generated robots.txt file.
Upload the file to the root of your website. For example, if your site is example.com, the file should be available at https://example.com/robots.txt.
User-agent: * means the rules apply to all crawlers that read robots.txt. You can also create rules for a specific crawler, such as Googlebot.
Disallow: / asks crawlers not to crawl the entire site. Use this carefully because it can stop search engines from crawling your pages.
No. Robots.txt is not password protection. Sensitive files and private pages should be protected with proper access control, not only crawler instructions.
No. The file is generated locally in your browser. This tool is made for quick private robots.txt creation and copying.