robots.txt Generator
Create search-crawler ready robots.txt configurations. Fast, free, and fully client-side.
How the robots.txt Generator Works
Builds a short robots.txt file from a user-agent name, one Disallow path, and a sitemap URL. The output is a single User-agent group with one Disallow line and one Sitemap line, and it does not add Allow rules or extra groups. Runs in your browser and the values are never uploaded.
Usage Example
Generates a file that asks all crawlers to skip a staging folder and points them at the production sitemap.
Frequently Asked Questions
Can I add more than one Disallow path?
No. The generator accepts one path and writes one Disallow line. To block several folders, add a line for each path to the generated file by hand.
What goes in the user-agent field?
The value you enter is written directly into the User-agent line. Enter an asterisk to address every crawler, or a specific bot name to target only that crawler.
Does this file keep pages private?
No. robots.txt is a set of crawling instructions, not access control. Well-behaved crawlers follow it, but the listed paths stay publicly reachable, so private content needs authentication.
Browse more
See all developer reference guides and interactive utilities.
