FREE ONLINE TOOLTechnical SEO

Robots.txt rule tester

Test supplied URLs against your pasted robots.txt rules

Compare sample URLs with User-agent, Allow and Disallow rules without contacting a website.

  • No account needed
  • Practical guide included
  • Clear data boundaries
Robots.txt rule tester
Private by design

Preparing your workspace…

Robots.txt rule tester features and uses

A small robots.txt change can affect many crawl paths. Compare proposed rules with representative URLs before publishing, and see which supported rule wins. This is an offline simulation of the rules you paste, so you can investigate a draft without changing a live website.

Paste the rules you intend to publish and test several representative paths for the intended user agent. This local parser covers the documented rule subset; it does not fetch a live file or replace testing against the relevant crawler's implementation.

Continue this task with Robots.txt generator and URL inspector.

For a worked publishing workflow, read Why Is My Website Not Showing Up on Google? A Diagnostic Guide.

Common uses

  • Check a private directory and its public exception.
  • Compare a crawler-specific group with the wildcard group.
  • Review query-string and wildcard path examples.

How to use this tool

Follow these steps to prepare your input, run the tool and review its output.

  1. Paste the intended rules

    Include the relevant User-agent groups and their Allow or Disallow lines. Keep the original line order so reported line numbers remain useful.

  2. Choose a crawler and sample paths

    Enter one crawler product token, such as Googlebot, and one to 200 full HTTP or HTTPS URLs. Include both expected matches and exceptions.

  3. Inspect the winning rule

    Read each decision alongside its matching rule and source line. Resolve unexpected matches before testing the published robots.txt separately.

Example input and output

A public exception inside a restricted directory

Illustrative example
Starting input
User-agent: *
Disallow: /private/
Allow: /private/public/

URLs: https://example.com/private/a
https://example.com/private/public/a
What to look for
/private/a is blocked by the supplied rules; /private/public/a is allowed by the longer matching rule.

This describes the pasted rules, not a live crawler visit or indexing decision.

How to interpret the results

The comparison selects the most specific supported crawler group, then the longest matching path rule. Allow wins an equal-length tie.

A result without a matching restriction means these supplied rules do not block that path. It does not establish that the URL is accessible or indexable.

Before you use the result

  • Do not treat robots rules as access control for private information.
  • Review ignored directives rather than assuming they were applied.
  • Percent-encoding normalization and server responses are outside this simulation.

Frequently asked questions

Answers about using this tool, interpreting its results and how it handles your data.

How we handle your data
Does the tool download robots.txt?

No. Paste the exact file or draft you want to inspect; no website is contacted.

Are wildcard rules supported?

The supported subset includes * wildcards and a terminal $. Other crawler behavior may differ.

How many URLs can I test?

Use one to 200 URLs. The selected group is limited to 1,000 rules, each no longer than 2,048 characters.

Does Allowed mean Google will index the page?

No. The label describes supplied-rule matching only. Indexing depends on additional evidence and search-engine decisions.

Is this tool free, and do I need to sign up?

This tool is free to use without an account or subscription. Supply your input in the workspace on this page, then run the tool. Your browser needs to support the features used by the tool; keep an original copy and review any generated output before applying it to a live website.

Are my files or text uploaded to your server?

This tool processes the supplied input locally in your browser. It does not upload your files or text to our server for processing. Copy or download the result you want to keep; the tool does not publish changes to your website automatically.