Robots.txt Generator
Build robots.txt rules, explain them in plain words, and test any URL against them. Nothing is uploaded or stored.
Rules
Add at least one rule.
Test a URL
Result
What the rules mean
How this tool works
Local only. The file is generated in your browser from the rules. Nothing is uploaded, stored or shared, and the tool never crawls other people's websites.
Paths. A path must start with / or * and must not contain spaces or a full URL.
Matching. When a URL matches more than one rule, the longest matching path wins; if two rules match with the same length, Allow wins. A URL that matches no rule is allowed.
Limits. robots.txt is a request, not enforcement — well-behaved search engines follow it, bad bots ignore it. It does not hide pages from people who know the address.