SEO & Crawl • Technical SEO

robots.txt Path Matcher & sitemap.xml SEO Auditor

Simulate Googlebot longest-match robots.txt Allow/Disallow precedence against any URL path while auditing sitemap.xml `<loc>` URL counts, trailing slashes, and localhost leaks.

Input & Options Local JS Execution
Evaluates User-agent: * / Googlebot groups using longest matching path length.
Path starting with / (e.g. /admin/export or /llm-vram-calculator/).
Checks <loc> tags, HTTP vs HTTPS consistency, duplicate URLs, and invalid localhost domains.
Parsed Output & Diagnostics Ready
Status
...

Google RFC 9309 Crawl Directive Precedence

Rule PairWinnerWhy
Disallow: /admin/ vs Allow: /admin/publicAllow winsLongest matching path rule (/admin/public = 13 chars > 7 chars)
Equal-length Allow and DisallowAllow winsRFC 9309 breaks exact-length ties in favor of Allow
Disallow: /*?session=Wildcard supported* matches zero or more chars; $ anchors end of URL
No Sitemap: directiveStill crawlable, slower discoveryExplicit Sitemap: URL aids Search Console indexing

Parser Methodology & Privacy Guarantees

Implements RFC 9309 robots.txt path prefix/wildcard matching with longest-pattern precedence, and validates `<loc>` nodes in pasted `sitemap.xml` content.

  • Evaluates both `Allow:` and `Disallow:` lines (`*` and `$` anchors) and ranks winner by matched rule character length.
  • Audits accidental `Disallow: /` production blocks and missing `Sitemap:` declarations.
  • Inspects `<loc>` URLs for HTTP links, localhost hosts, duplicates, and the 50,000-URL sitemap ceiling.

Scope & limitations: Evaluates pasted text offline without making network HTTP fetches to live remote domains.

Frequently Asked Questions

Does Disallow in robots.txt remove a URL already in Google's index?
No. robots.txt blocks crawling, not indexing if external links point to the URL. Use a meta robots noindex header/tag (while keeping crawling allowed) to drop indexed pages.
How does longest-match rule precedence work in robots.txt?
Rule order in the file does not matter under RFC 9309: the rule whose pattern has the longest character match wins, and exact ties favor Allow.
Why should sitemaps exclude duplicate or non-HTTPS URLs?
Mixed http/https or duplicate URLs waste crawl budget and dilute canonical signals across duplicate variants.

Related Developer Parsers

Every parser on DevParse runs 100% inside your browser with zero backend telemetry, zero file uploads, and zero cookie banners. Support development via Fourthwall or sponsor a clean developer slot.