Skip to content

Web

Test robots.txt rules before publishing

Check whether your pasted rules allow a crawler to request a URL. See the matching rule and its line number.

Paste the robots.txt for the URL's host. No website is fetched. This checks Allow/Disallow rules, specific crawler groups, * wildcards and $ end anchors. It does not check indexing, HTTP errors, meta robots or access permissions.

Example task

Paste the site’s robots.txt rules and test a URL against a selected user agent, then verify that important public pages remain crawlable.

Put your results to work

Use these results to plan your landing pages, measurement and next improvements.

Explore SEO services in Noida

How this works

Paste the robots.txt content for the host you want to check, then enter a full URL and crawler token such as Googlebot. The tool does not fetch the live file, and an empty file allows access.

The tester selects the most specific matching crawler groups, combines equally specific groups and evaluates path rules. A longer matching path takes precedence; Allow wins when matching rules are equally specific. Matching is case sensitive for paths.

Use * for a sequence of characters and $ to anchor a rule at the end. Review reported unsupported fields and invalid lines. Test both a page you want crawled and one you intend to exclude before publishing changes.

Official source: Google: robots.txt interpretation.

Questions

Does allowed mean Google will index the page?+

No. Crawling and indexing are different. Canonicals, noindex directives, content quality and other signals can affect indexing even when robots.txt allows crawling.

Can robots.txt protect private information?+

No. It is a public instruction to cooperating crawlers. Use authentication and access controls for private content.

Does it read my live robots.txt?+

No. This is a local pasted-rule test. It cannot detect a missing file, server error, cached crawler copy or a file published on the wrong host.