Processed online by Toolvito
Robots.txt Generator & Tester
Make a robots.txt that tells crawlers which parts of your site they may read, or test addresses against a site’s robots.txt (fetched live or pasted) to see which rule decides.
How to make robots.txt
- Choose Make robots.txt.
- Add groups: the crawlers they apply to (* for all) and the paths to allow or block, for example /admin/.
- Add your sitemap address.
- Press Make robots.txt and upload the file to the main folder of your site.
How to test
- Choose Test robots.txt.
- Type your website address, or paste the text of a robots.txt you are writing.
- List the addresses to test and choose the crawler, for example Googlebot or GPTBot.
- Press Test.
How crawlers read the rules (RFC 9309)
- A crawler uses the group with its own name; only if there is none does it use the * group.
- The most specific (longest) matching rule wins; when Allow and Disallow are equally long, Allow wins.
- * matches any characters and $ marks the end of the address.
- If robots.txt is missing (404) everything may be crawled; if the server fails (5xx) crawlers stop.
Important
robots.txt is a polite request. It does not hide pages or protect private files; well-behaved crawlers follow it, others may not. To keep a page out of search results, use noindex instead.