Robots.txt Tester

Validate syntax errors, find rule conflicts, and test URL path accessibility against Googlebot, Bingbot, and other custom crawlers dynamically client-side.

Workspace Settings & Inputs

Upload Local File
robots.txt Editor & Validator
Loading editor...

Live Rule Matching Simulator

Verify path accessibility and priority resolutions under the REP rules.

BLOCKEDCrawler: GooglebotPriority specificity: 10
/wp-admin/

Explicitly blocked by rule 'DISALLOW: /wp-admin/ (line 3)'.

ALLOWEDCrawler: GooglebotPriority specificity: 28
/wp-admin/admin-ajax.php

Explicitly allowed by rule 'ALLOW: /wp-admin/admin-ajax.php (line 7)'. Overrides parent disallow block due to longer specificity.

ALLOWEDCrawler: Bingbot
/articles/robots-exclusion-protocol

No rules in the matching user-agent block '*' match path. Access allowed by default.

robots.txt Health Score

100%
Errors0
Warnings0
Perfect health score! Your robots.txt conforms with REP standards and sitemaps are correctly linked.

Interactive Visualizations

Allow vs Disallow Ratio1 Allow / 4 Disallow
20% Allow
80% Disallow

Directives Count by Crawler Block

User-agent: *5 rules

Distribution of File Elements

1Groups1Allow4Disallow2Sitemaps

Export Report & File

Complete Guide to Robots.txt Rule Validation & Simulation

Search engine optimizers and developers rely on robots.txt to steer crawl budgets towards conversion pages and keep admin directories, search filters, and utility paths out of indexes. However, even a minor typo (like omitting a leading slash) or block duplicate can lead to indexing drops. A live validator helps you check and confirm your settings before deploying them to production.

How Path Matching Specificity Works (REP Rules)

Google and Bing parse the rules by comparing the character lengths of matching patterns:

  • Wildcards (*): Matches any sequence of characters in the path. For example, Disallow: /images/*.jpg blocks any JPEG in the images folder.
  • End Anchors ($): Forces matching to stop at the end of the URL. For example, Disallow: /admin$ blocks /admin exactly, but allows /admin/ and /admin/settings.
  • Longest Match Priority: If a crawler checks path /wp-admin/admin-ajax.php against:
    Disallow: /wp-admin/ (length 10)
    Allow: /wp-admin/admin-ajax.php (length 28)
    The Allow directive wins because 28 characters is longer than 10 characters.
  • Tie Resolution: If two conflicting rules match and have the exact same pattern length (e.g. Allow: /wp and Disallow: /wp), the Allow directive takes precedence.

Common Robots.txt Mistakes Checked by This Tool

  • Syntax Errors: Directives that are misspelled (e.g. Useragent without hyphen) or lines missing the colon (:) identifier.
  • Relative Sitemap URLs: Sitemaps should always utilize absolute URLs (including https:// protocol schemes).
  • Missing Leading Slashes: Path directives (Allow and Disallow) must start with a forward slash (/) or a wildcard (*).
  • Duplicate User-agent Groups: Grouping rules in separate blocks for the same bot is confusing and hard to debug. Merging them improves crawl reliability.

Frequently Asked Questions

A Robots.txt Tester is a simulator that parses your site's robots.txt rules and checks them against specific user-agents (like Googlebot) and URL paths. It confirms whether the paths are allowed or blocked by your directives and highlights why, mapping rules to their exact line numbers.

According to the Robots Exclusion Protocol (REP), search engines find the block with the most specific match to their user-agent token. Inside that block, they match paths. The rule with the longest path pattern length wins. If an Allow and Disallow rule both match with the exact same length, the Allow directive wins.

No. Googlebot ignores Crawl-delay rules completely. To control Google's crawl rate, use settings inside Google Search Console. However, Bingbot, YandexBot, and Baiduspider respect Crawl-delay and will slow down requests accordingly.

No. Anyone can view your robots.txt file by navigating to your domain (e.g., domain.com/robots.txt). Disallowing paths stops search engines from indexing them, but does not block public access. For private directories, use password protection (HTTP authentication), firewall restrictions, or 'noindex' meta tags instead.

No. The ToolZeno Robots.txt Tester runs entirely in your local browser sandbox using client-side JavaScript. No file uploads, URLs, or pasted code lines are transmitted or logged on any server, ensuring total privacy and data confidentiality.