Яндекс.Метрика

Robots.txt checker

Fetch a site's robots.txt, review its rules and list the sitemaps it declares.

0 of 0 ratings

What robots.txt is

Robots.txt is a plain text file at the root of a site that tells automated crawlers which paths they may request. It is part of the Robots Exclusion Protocol, a long-standing convention that search engines and other well-behaved crawlers follow. The file can also declare the location of XML sitemaps, helping crawlers discover important URLs.

This checker retrieves the robots.txt file, confirms whether it exists, lists the disallowed paths and collects any sitemap declarations.

How the file is structured

Rules are grouped by user agent. Each group lists a crawler name followed by directives such as Allow and Disallow. A Disallow directive with a path blocks that path for the specified crawler; an empty Disallow means everything is allowed. The wildcard character can match patterns, and the end-of-match character pins a rule to the exact path. Sitemap directives are separate from the user-agent groups and apply site-wide.

What to review

  • Confirm that important sections such as product pages or articles are not accidentally blocked.
  • Check that staging or admin paths are excluded if they should not be crawled.
  • Make sure the sitemap URL is correct and reachable.
  • Look for rules that block CSS or JavaScript needed to render pages, which can hurt how search engines understand them.
  • Verify that the file is served with a 200 status and the correct content type.

Common mistakes

A frequent error is using robots.txt to hide sensitive content. The file is public and readable by anyone, so it should never contain secrets. Another common issue is blocking a path that later becomes important, which silently removes pages from search. Overly broad wildcard rules can also block more than intended. Review changes carefully and test the resulting crawl behavior.

Limitations

Robots.txt is a convention, not an enforcement mechanism. Malicious crawlers may ignore it entirely, which is why it should not be used as a security control. The checker reports the file contents but does not simulate how every crawler will interpret the rules.

Similar tools

404 page checker

Verify that a website correctly returns a 404 status code for a nonexistent URL.

5
Noindex checker

Check whether a page is blocked from search indexing by meta tags, headers or robots.txt.

34
HTTP headers lookup

Inspect the HTTP response headers returned by a URL for a standard GET request.

8

Popular tools