Practical templates
Review the risk and platform notes before replacing your current work. Templates are starting points, not universally safe defaults.
or choose a UTF-8 plain-text file (maximum 1 MiB)
Choose only parameters whose URLs you have reviewed. Blocking every parameterized URL can hide important faceted, paginated, or canonicalized pages from crawlers.
Host is non-standard. Unknown imported lines are preserved, but may be ignored by crawlers.
Review the risk and platform notes before replacing your current work. Templates are starting points, not universally safe defaults.
Each focused example includes representative outcomes and a button to load it into the builder.
Specific groups do not inherit wildcard rules. If User-agent: Bingbot matches, that crawler ignores the User-agent: * group. Repeat every generic rule that should also apply to the specific crawler.
| Feature | RFC 9309 | Bing | Practical guidance | |
|---|---|---|---|---|
User-agent | Standard | Supported | Supported | Use a valid product token: letters, underscore, or hyphen; * is the wildcard group. |
Allow | Standard | Supported | Supported | The longest matching path wins; Allow wins an equal-length tie. |
Disallow | Standard | Supported | Supported | An empty value does not block anything. / matches the entire site. |
Sitemap | Outside the core rule grammar | Supported | Supported | Use an absolute URL. A cross-host sitemap can be intentional but requires ownership verification. |
Crawl-delay | Non-standard | Ignored | Supported | Advanced only. Bing warns that large values reduce crawl freshness. |
Host | Non-standard | Ignored | Not documented as a core directive | Advanced only; prefer canonical redirects and consistent sitemap URLs. |
* in a path | Not required by the RFC | Supported extension | Supported extension | Matches zero or more characters. Test crawler-specific behavior. |
$ end anchor | Not required by the RFC | Supported extension | Supported extension | Matches only at the end of the URL path/query string. |
User-agent group.Allow and Disallow paths, resolve validation findings, and test representative URLs.robots.txt and upload it as UTF-8 plain text to /robots.txt on the exact scheme and host it controls.https://example.com, http://example.com, and https://shop.example.com are separate origins.4xx responses generally mean no restrictions. 429 and 5xx responses can temporarily stop or reduce crawling, so monitor availability.No. If every crawler may fetch every public URL, a missing robots.txt normally means there are no crawl restrictions. A file is useful when you need deliberate crawl controls or want to declare sitemap locations.
Upload it as /robots.txt at the root of the exact scheme, host, and port it controls, such as https://example.com/robots.txt. Subdomains and other protocols need their own files.
robots.txt controls crawling. A noindex robots meta tag or X-Robots-Tag controls indexing, but the crawler must be allowed to fetch the URL to see that instruction.
Search engines may discover a URL from links and index the URL without crawling its content. Use an accessible noindex directive or authentication when exclusion from results or privacy is required.
No. The file is public and compliant crawlers may choose whether to follow it. Protect private content with authentication and appropriate 401 or 403 responses.
An asterisk (*) matches zero or more characters and a dollar sign ($) anchors a match to the end of the URL path. These extensions are supported by major search engines but should be tested for each crawler.
No. Google documents User-agent, Allow, Disallow, and Sitemap support and ignores Crawl-delay. Bing supports Crawl-delay, but it is not part of RFC 9309.
No. When a crawler-specific group matches, the User-agent: * rules are not inherited. Repeat every generic rule that should also apply to that crawler.
Open the exact /robots.txt URL, confirm a successful plain-text UTF-8 response, review the Search Console robots.txt report, and use URL Inspection on representative URLs.
Reviewed by Starlight Tools / Starlight Robotics on 16 July 2026 against RFC 9309, Googleโs robots.txt specification, Bing Webmaster guidance, and the Search Console robots.txt report.
User-agent, Allow, and Disallow are standardized by RFC 9309. Sitemap, wildcards, and the end anchor are crawler extensions; Crawl-delay and Host are non-standard and support varies. This browser-based validator models documented matching rules, but only the target crawler can provide a definitive interpretation. A valid file does not guarantee indexing or higher rankings.