Webmaster Tools

Robots.txt Generator

Create a clean and SEO-friendly robots.txt file for your website. Generate your robots.txt rules quickly using this free online tool.

Enter your website URL.
Choose which search engine crawler the rules should apply to.
Enter one allowed path per line.
Enter one path per line that you don’t want crawlers to crawl.
Add your XML sitemap URL if available.

Generated robots.txt

Tip: After generating your robots.txt file, upload it to the root directory of your website. It should normally be accessible at yourdomain.com/robots.txt.

Frequently Asked Questions

A robots.txt file is a text file placed on a website that provides instructions to compatible search engine crawlers about which areas of the website they may or may not crawl.
The robots.txt file should normally be placed in the root directory of your website. For example: https://example.com/robots.txt
The asterisk (*) represents all crawlers. A rule using User-agent: * is intended for crawlers that are not specifically targeted by another user-agent rule.
Disallow tells a compatible crawler not to crawl the specified path. For example, Disallow: /admin/ indicates that the /admin/ path should not be crawled.
Yes. You can add a Sitemap directive to robots.txt to tell crawlers where your XML sitemap is located.
Yes. This tool generates robots.txt rules directly in your browser using HTML, CSS, and JavaScript. No account or server-side processing is required.
Scroll to Top