Build the rules for search engine crawlers, then check which addresses they can visit.
Start from a template
Rules by crawler
Test a URL
Check an existing file
Everything happens in your browser: nothing you type is sent.
Create and check your file
Start from a template or build your own groups: one or more crawlers, then paths to disallow or allow. The file is written as you go and downloads exactly as shown. Already have a file? Paste it: the tool flags typos and ignored rules before filling in the form.
What is robots.txt?
It is a text file placed at the root of a site, at the address /robots.txt. It tells crawlers which parts they may visit. The major search engines respect it; its syntax is described in the RFC 9309 standard.
How the rules apply
A crawler follows the group bearing its name; otherwise, the * group.
Within that group, the rule with the longest path wins; in a tie, Allow wins.
* stands for any sequence of characters, and $ marks the end of the address.
An address that no rule matches remains allowed.
What robots.txt does not do
It protects nothing: the file is public and a crawler may ignore it. Nor does it remove a page from search results: a disallowed address can still appear there, without a snippet. To remove it, let the crawler read the page and add the noindex meta tag; to protect it, require a password.
The suggested list of artificial intelligence crawlers dates from November 2026: new names keep appearing, so check their publishers' documentation.
Frequently asked questions
Where should I put the file?
At the root of the domain name: https://example.com/robots.txt. A file in a subfolder is ignored, and each subdomain has its own.
How do I allow everything?
With “User-agent: *” followed by “Disallow:” with no path. A site with no robots.txt file is also fully allowed.
Should I disallow CSS and JavaScript files?
No: search engines need them to see the page the way a visitor does.
Is my file sent anywhere?
No. Everything happens in your browser; no website is contacted.