DMDigital MansoorAI SEO Consultant
Free tool · Runs in your browser

Robots.txtChecker:TestURLsbyGooglebot,GPTBot

Paste a robots.txt file, list the URLs you want to test and name the bots. You get an allowed or blocked verdict for every URL and bot, the exact rule that decided it, and warnings for a missing sitemap line or a blanket block.

FreePer bot verdictsMatching rule
Test robots.txt ↓

By Mansoor Bhanpurawala, SEO consultant, 14+ years in SEO.

Inputrobots.txt text, URLs, bot namesBots are comma separated. Up to 50 URLs. The tool reads pasted text only and never fetches your site.
OutputGrid of verdictsAllowed or blocked per URL and bot, with the rule that decided it.
Rule logicLongest match winsIf Allow and Disallow tie, Allow wins. * matches any characters and $ anchors the end.
WarningsMissing sitemap, blanket blockAlso notes that robots.txt controls crawling, not indexing.
MethodRuns in your browserCounts groups, sitemaps and blocked checks.
01

The same file blocked GPTBot everywhere and Googlebot almost nowhere

On 29 November 2026 I loaded the WordPress example. It has a star group that blocks the admin area and search pages, a group for GPTBot with Disallow: /, and one sitemap line. I tested 5 URLs for Googlebot, Bingbot and GPTBot, so 15 checks. The tool reported 9 blocked.

The home page and the blog URL were allowed for Googlebot and Bingbot with no matching rule, and blocked for GPTBot by Disallow: /. The admin path was blocked for all three, but admin-ajax.php was allowed for Googlebot and Bingbot through its own Allow line.

02

A query string slipped past a pdf rule

I used the wildcard example: Disallow: /*.pdf$ and Disallow: /*?sort=. The URL /guide.pdf was blocked. The URL /guide.pdf?v=2 was allowed with no matching rule, because the dollar sign requires the path to end in .pdf.

The rule behaves as written. If your file links carry tracking parameters, an end anchor will not match them.

03

A longer Allow beat a Disallow, and ties went to Allow

In the same example, /downloads/guide.pdf matched the pdf Disallow but was allowed through Allow: /downloads/. The Allow line is longer, so it wins.

I then tested Disallow: /private/ against Allow: /private/ for /private/file.html. Both rules are the same length. The tool allowed the URL, which matches its stated rule that Allow wins a tie.

04

Staging file: blocked everything and flagged it

For a staging file with only User-agent: * and Disallow: /, all 4 checks (2 URLs, 2 bots) were blocked. The tool also warned that there is no sitemap line and that the star group blocks the whole site for bots without their own group.

The file you paste is not fetched from your site. Check that the live file at your domain root matches what you tested.

06

Questions about the verdicts

Why was my URL allowed with no matching rule?

No Allow or Disallow line matched that path for that bot. In my 29 November 2026 test, /guide.pdf?v=2 slipped past Disallow: /*.pdf$ because of the end anchor.

Which rule wins when Allow and Disallow conflict?

The longest matching rule. If they are the same length, Allow wins. My Allow: /private/ against Disallow: /private/ test came back allowed.

Does a block remove the page from Google?

No. The tool states that robots.txt controls crawling, not indexing, and that a blocked URL can still appear in results if other sites link to it.

Does it read my live robots.txt?

No. The field takes pasted text, so test a copy of the live file.

Why did GPTBot show blocked everywhere?

The example file has a GPTBot group with Disallow: /, so every URL is blocked for that bot only.

Done for you

Want this done for your site?

Send your URL on WhatsApp and I will tell you what to fix first.

Message me on WhatsApp

Comments

2 responses to “Robots.txt Checker”

  1. […] block on everything with “GPT” in the name removes both. Run your file through a robots.txt checker and read the result line by line before you assume […]

  2. […] A short technical check costs little and sometimes ends the investigation. Open URL Inspection for a flagged page and look at what Google saw. Confirm that the page returns a normal 200 status, that no noindex directive sits in the HTML or HTTP header, and that robots.txt allows the crawl. You can test the rules with a robots.txt checker. […]

Leave a Reply

Your email address will not be published. Required fields are marked *