Skip to content

Robots.txt Tester

Test whether a crawler may fetch a URL under your robots.txt.

  • 100% Free
  • No Sign Up
  • Works in Your Browser

Robots.txt tester

Check whether a URL is allowed for a crawler

More SEO Tools

View all tools

Every everyday SEO tool, right in your browser.

No installs. No uploads. No signup.

Browse all 26 tools
SEO tools
26
Reference guides
7
Bytes uploaded
0

How to use the robots.txt tester

Three steps, all in your browser.

  1. 1

    Paste robots.txt

    Paste the file, then enter a URL and a user agent to test.

  2. 2

    Set the rules

    Add rules or URLs. The result updates instantly.

  3. 3

    Copy the result

    Copy what you need in one click. Nothing is saved or sent anywhere.

Robots.txt Tester: what to know

The robots.txt tester checks whether a URL may be crawled under a robots.txt file. Paste the file, enter a URL path and a user agent such as Googlebot, and it shows whether the URL is allowed or blocked and which rule decided it. It follows the matching rules in RFC 9309, the Robots Exclusion Protocol standard that Google helped write.

Two rules decide most cases. First, a crawler uses only the group whose User-agent matches it most specifically, compared case-insensitively, and falls back to the * group only when no group names it. Second, within that group the rule with the longest matching path wins, and when an Allow and a Disallow match with the same length, Allow wins. Wildcards count toward length, * matches any sequence of characters and $ anchors the end of the URL.

Testing matters because small mistakes have big effects: Disallow: / blocks a whole site, a missing slash blocks more than you meant, and paths are case-sensitive. The tester works on the text you paste, so you can try changes before uploading them. Remember that robots.txt only stops compliant crawlers from fetching; it doesn't remove indexed pages.

Popular uses

  • Checking a URL isn't blocked before a launch
  • Debugging why a page isn't crawled
  • Testing new rules before uploading them
  • Verifying what an AI crawler is allowed to fetch

Tips for the best result

  • Test real URLs from your site, including query strings.
  • Test the same URL for Googlebot and * to catch group mix-ups.
  • Remember Google caches robots.txt for up to 24 hours, so changes aren't instant.

Read how JustYourSEO works and our privacy details. Text, HTML and images you use here are processed in your browser and are never sent to our server.

Frequently asked questions