robots.txt Validator

Paste your robots.txt file to validate syntax, check directives, and inspect crawl rules — runs entirely in your browser.

robots.txt Input
Validation Results

Paste your robots.txt and click Validate to see results.

How to Use

  1. Open your website's robots.txt (usually at https://yoursite.com/robots.txt) and copy its contents.
  2. Paste the file into the Input panel on the left.
  3. Click Validate to run all checks.
  4. Review issues on the right: errors (red), warnings (orange), and info (blue).
  5. The parsed rule groups show exactly which paths each crawler can or cannot access.

About This Tool

A robots.txt file tells search engine crawlers which pages or sections of your site they should or should not request. Syntax errors or misconfigured rules can accidentally block Google or Bing from indexing important pages — or allow them to crawl pages you meant to hide. This validator parses your file line by line, checks for common mistakes like missing User-agent declarations, invalid path patterns, and unreachable Allow rules, and displays each group of directives in a structured view. All validation runs locally in your browser; your file is never uploaded anywhere.

Frequently Asked Questions

Does robots.txt actually block crawlers from visiting a page?

No — it is a polite request, not a technical barrier. Compliant crawlers like Googlebot respect it, but a malicious bot can still visit disallowed URLs. To prevent indexing, use a noindex meta tag or X-Robots-Tag HTTP header instead.

What does Disallow: with an empty value mean?

An empty Disallow: value (just Disallow: or Disallow: ) means the crawler is allowed to access all pages — it is equivalent to no restriction. This is the opposite of Disallow: /, which blocks the entire site.

Which User-agent rule applies when multiple groups match a crawler?

When a crawler matches both a specific User-agent group and the wildcard User-agent: * group, the most specific rule wins. Google's crawlers follow this convention; always prefer a named group for precise control.

Related Tools