Robots.txt Generator & Tester

Robots.txt Generator & Tester: Matches user-agent rules and path prefixes against RFC 9309 specification.

Loading tool module...

About this robots.txt generator & tester

Robots.txt Generator & Tester — browser-based utility.

How this tool works

Implements client-side Robots.txt Generator & Tester operations. Matches user-agent rules and path prefixes against RFC 9309 specification specifically designed for an seo manager tests whether googlebot is allowed to crawl a checkout url under current `robots.txt` rules.

  1. Credential & Payload Ingestion: Accepts raw request body strings, timestamp headers, and shared signing secrets.
  2. Canonical String Construction: Assembles the canonical signing payload (e.g. timestamp + '.' + body for Stripe signatures).
  3. Cryptographic Hash Evaluation: Uses Web Crypto subtle.sign with HMAC-SHA256 to compute the reference digest.
  4. Constant-Time Verification: Compares computed signature against received header using constant-time byte iteration.

Worked example

Scenario: An SEO manager tests whether Googlebot is allowed to crawl a checkout URL under current `robots.txt` rules.

Sample input:

Robots.txt: User-agent: * Disallow: /checkout/ Test URL: https://czoa.com/checkout/pay

Processing: Matches user-agent rules and path prefixes against RFC 9309 specification.

Illustrative output:

Verdict: DISALLOWED (URL matches path prefix 'Disallow: /checkout/' for User-agent: *).

Limits and verification

Requires exact raw byte representations of JSON bodies; any whitespace formatting change invalidates cryptographic HMAC signatures. Flags timestamp drift exceeding 5 minutes (300 seconds) to prevent replay attacks.

Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.

Browser processing boundary

Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.

Relevant references

These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.

Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology

How to use it

  1. Enter, paste, or select your input data into the Robots.txt Generator & Tester workspace controls.
  2. Review available parameter fields, units, formats, or options configured for your task.
  3. Click the action button or observe immediate live calculations rendered in your browser runtime.
  4. Inspect the resulting output and any diagnostic messages, then copy or download the result if needed.

Frequently asked questions

What does Robots.txt Tester count?+

It trims nonblank lines, counts User-agent directives and Allow, Disallow or Crawl-delay directives, extracts Sitemap values, and warns only if no User-agent directive exists.

What did the robots fixture verify?+

A group for *, one Disallow, one Allow and a Sitemap URL returned one group, two directives, that sitemap value and no warnings.

Which robots semantics are not evaluated?+

It does not apply longest-match logic, parse agent-specific group membership, validate URL paths, fetch a site, enforce crawl delay, honor comments beyond trimming or predict crawler behavior.

Does this tool block a crawler?+

No. It summarizes text only; live robots delivery, cache, bot support and crawler policy are outside the page.