Robots.txt Generator — Free SEO Tool

Create a clean robots.txt file with crawler rules, allowed or blocked paths and a sitemap directive. Copy the result or download a ready-to-upload robots.txt file.

Robots.txt Generator SEO File
Used to build the sitemap URL and preview location.
Select the crawler group these rules apply to.
Optional directive used by some crawlers.
Use the absolute URL of your XML sitemap.

Crawl rules

Paths normally begin with /. Use an empty Disallow value to allow crawling of everything.
Generated robots.txt
Valid structure

How to use the Robots.txt Generator

The Robots.txt Generator creates a plain-text crawler instruction file for your website. Choose a user-agent, add Allow or Disallow rules, include your sitemap URL and download the finished file.

Upload the generated file to the root directory of your website so it is available at yourdomain.com/robots.txt. Review every blocked path carefully before publishing because an incorrect rule can stop search engines from crawling important pages.

Robots.txt Generator for SEO crawl rules

This Robots.txt Generator helps website owners, developers and SEO specialists create crawler rules for blogs, ecommerce stores, WordPress websites, staging environments and custom websites without writing the syntax manually.

Frequently Asked Questions

A robots.txt file gives web crawlers instructions about which areas of a website they may or may not crawl.
Upload it to the website root so it can be accessed at a URL such as https://example.com/robots.txt.
Robots.txt controls crawling, not guaranteed indexing. Use the correct noindex method when a page must be excluded from search results.
Yes. It runs entirely in your browser. Your site URL and crawl rules are not uploaded to a server.