Use this tool to create a robots.txt file for your website. Fill in the rules below, then copy or download the file and upload it to your website's root directory (e.g., https://yoursite.com/robots.txt).
The robots.txt file is a plain text file placed in the root of your website. It tells search engine crawlers (like Googlebot) which pages or folders they are allowed or not allowed to crawl and index.
Note: robots.txt is a suggestion, not a guarantee. Malicious bots may ignore it. Also, blocking a page with robots.txt does not remove it from Google's index — use a noindex meta tag for that.