Zahid Awais Get a free audit

Robots.txt tester

Free, private and instant. Nothing you type leaves your browser.

By Zahid Awais · Published · Updated · 4 min read

Result
Blocked: googlebot cannot crawl /wp-admin/settings

This tester follows Google’s published rules: the most specific matching rule wins, and ties go to Allow. Always confirm important changes in Google Search Console.

The robots.txt tester is free, runs in your browser and needs no sign-up.

Quick answer

This free robots.txt tester checks whether a URL path is allowed or blocked for a crawler such as Googlebot. Paste your robots.txt, enter a path and user agent, and the tool applies Google’s matching rules, where the most specific rule wins and ties go to Allow.

Screenshot of the Robots.txt tester on zahidawais.com
The Robots.txt tester with example inputs.

What is a robots.txt tester?

A robots.txt tester reads your robots.txt rules and tells you whether a given crawler may fetch a given URL path.

How do you use it?

  1. Paste your robots.txt content
  2. Enter the URL path you want to test, such as /blog/
  3. Enter the user agent, such as Googlebot
  4. Read the result and the rule that matched

How does Google choose between Allow and Disallow?

Google’s Google robots.txt specification says it uses the most specific rule based on path length, and when rules conflict it uses the least restrictive one.

Does robots.txt stop a page from being indexed?

No. It stops crawling, not indexing. A blocked page can still be indexed from links. Use a noindex tag to keep a page out of Google, and do not block that page in robots.txt. If Search Console already lists pages, follow my guide to fixing blocked by robots.txt.

What do * and $ mean in robots.txt?

The asterisk matches any sequence of characters, and the dollar sign marks the end of the URL. Google supports both.

Quick reference

RuleMeaningExample match
Disallow: /wp-admin/Block the folder/wp-admin/settings
Allow: /wp-admin/admin-ajax.phpAllow one file inside it/wp-admin/admin-ajax.php
Disallow: /*?Block URLs with parameters/shoes?color=red
Disallow: /*.pdf$Block PDF files/guide.pdf

Example

Example

Example: with Disallow: /wp-admin/ and Allow: /wp-admin/admin-ajax.php, the path /wp-admin/admin-ajax.php is allowed because the Allow rule is longer and more specific.

Frequently asked questions

Is this the same as Google’s tester?

It follows Google’s published matching rules. Always confirm important changes in Search Console.

Where is my robots.txt file?

It lives at the root of your domain, for example yourwebsite.com/robots.txt.

How big can robots.txt be?

Google reads up to 500 KiB. Content after that is ignored.

Should I block AI crawlers?

That is a business choice. If you want AI tools to cite you, allow their crawlers.

Can robots.txt hide private pages?

No. The file is public. Use passwords or noindex for private content.

Does the tester send my rules anywhere?

No. It runs entirely in your browser.

Sources

Facts checked on 8 October 2026 against these official pages. Read how I check facts in my editorial policy and disclaimer.

More free tools

All tools

Want a full audit instead?

Send your website and I will check it for you, free.

Get my free audit
Chat on WhatsApp