Skip to content
Jellykit

Robots.txt Generator

Build robots.txt rules for each crawler with Allow, Disallow and Sitemap lines, then test any address against them.

  • Runs on your device
Loading tool

About Robots.txt Generator

Write a robots.txt file without memorising its syntax. Add a group for every crawler, or one for all of them with *, list the paths each may and may not visit, and add your sitemap addresses. The file updates as you type, with a mistake such as a path without its leading slash pointed out before it reaches your server.

Then check the result: type an address and a crawler name, and the tool tells you whether that crawler may fetch it and which rule decided. It follows the matching rules of RFC 9309, the robots.txt standard, including * wildcards, the $ end marker and the longest-match rule.

How it works

  1. Each group lists its user agents first, then its Allow and Disallow lines. A group with no paths gets an empty Disallow line, which the standard reads as "allow everything".
  2. To test, the tool takes the groups whose user agent equals the crawler name, ignoring case, and combines them; if there are none, it uses the * groups. Among their rules the longest matching path decides, and Allow wins a tie.
  3. Paths match from the start of the address path, query string included. * stands for any run of characters and a $ at the end means the path must stop there. Letters outside ASCII are compared in their percent-encoded form, as crawlers send them.

Questions

Does Disallow keep a page out of search results?

No. It stops well-behaved crawlers from fetching the page, but the address can still be listed if other sites link to it. To keep a page out of results, let it be crawled and give it a noindex robots meta tag.

Do all crawlers follow these rules?

Major search engines do. The file is a request, not a lock: badly behaved bots ignore it, so never rely on it to hide private content.

Why is Crawl-delay not offered?

It is not part of the standard, and the largest search engine ignores it. Rate limits are better set in that engine’s webmaster tools or on your server.

Does the tester match each search engine exactly?

It follows RFC 9309, which the major engines implement. Some crawlers add their own habits, such as falling back from a specialised crawler name to a general one, which the tester does not imitate.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.