DMDigital MansoorAI SEO Consultant
Free SEO tool

Robots.txt Checker

By Digital Mansoor, 14+ years in SEO. Updated November 2026.

Paste your robots.txt, pick a bot and a URL. See whether it is allowed, which rule decided it, and any syntax problems.

  • Free
  • No signup
  • Per bot results
  • Wildcards

Rate this tool

Rated 5 / 5 from 2 user ratings. Click a star to add yours.

Paste and testAny robots.txt text
Per bot resultsGooglebot, Bingbot, GPTBot
Longest matchAllow wins a tie
Wildcards* and $ supported
What it is

A robots.txt checker that tells you which URLs a bot can crawl

Paste your robots.txt, list the URLs you care about, name the bots, and see Allowed or Blocked for each pair with the exact rule that decided it.

Most robots.txt mistakes are small. A missing slash blocks a folder you meant to open. A wildcard catches parameters you wanted crawled. A staging rule gets copied to the live site and the whole domain goes dark for crawlers. You find these by testing real URLs against the file, not by reading it.

This tool applies the rules the way Google documents them: the most specific match wins, and when an Allow and a Disallow tie, Allow wins. It supports the star wildcard and the dollar end anchor. It also flags a missing Sitemap line and a blanket block on the star group.

One limit to know before you rely on it. The tool tests the text you paste. It does not fetch your live file. If your server serves a different file to different bots, or a cache holds an old version, test the live URL in Search Console as well.

At a glance
  • Tests URL and bot pairs
  • Shows the matching rule for each result
  • Warns about site-wide blocks and no Sitemap line
  • Share link and save in your browser
MB

Built by Mansoor BhanpurawalaSEO consultant since 2012. About Digital Mansoor

How to use

Paste the file, list URLs, pick bots

Test the paths that matter most: your homepage, key pages, search pages, parameter URLs and anything you meant to block.

  1. Paste your robots.txt. Copy it from yourdomain.com/robots.txt or from a draft you plan to upload.
  2. List URLs to test. One per line, as paths such as /blog/post/ or with parameters.
  3. Name the bots. Use a comma list, for example Googlebot, Bingbot, GPTBot.
  4. Run the test. Read each Allowed or Blocked result and the rule behind it.
Fields and what they do
FieldWhat to enter
robots.txt contentThe full file text
URLs to testOne path per line
BotsComma separated crawler names
Worked examples

A WordPress file, a staging block and wildcards

The first example is a typical WordPress file. It blocks the admin folder but allows the ajax file, blocks internal search, and blocks GPTBot from the whole site. The homepage and blog posts stay open for Googlebot and Bingbot, while GPTBot is blocked everywhere. The admin ajax file is Allowed for the star group because the Allow rule is more specific than the folder block.

The second is a staging file that disallows everything. The tool also warns that no Sitemap line exists and that the star group blocks the whole site, which is correct on staging and a disaster on production.

The third uses wildcards. A PDF rule blocks guide.pdf but not guide.pdf with a query string, because the dollar sign anchors the end of the path. A sort parameter rule blocks the shop page with sort, and an Allow rule on downloads keeps that folder open.

WordPress file
URLGooglebot
/wp-admin/Blocked
/wp-admin/admin-ajax.phpAllowed
/search/Blocked
/blog/seo-tips/Allowed
Wildcard file
URLGooglebot
/guide.pdfBlocked
/guide.pdf with a queryAllowed
/shop/ with sortBlocked
/downloads/guide.pdfAllowed
Matching rules

How the checker decides

These rules follow Google’s published robots.txt documentation. Other crawlers can differ.

RuleWhat happens
Longest match winsThe rule with the longer matching path takes priority
Allow beats Disallow on a tieEqual length matches resolve to Allow
Star wildcardMatches any run of characters
Dollar anchorMatches the end of the URL only
Specific group firstA bot uses its own group if one exists, otherwise the star group
Empty DisallowAllows everything for that group

Google has documented a size limit for robots.txt files. Check the current figure in Google’s documentation before you rely on a very large file.

Who it is for

Where this checker fits

SEO consultants

Check a client file before a migration and prove which URLs a rule affects.

Developers

Test a new robots.txt in staging before it ships to production.

Ecommerce teams

Make sure filter and sort parameters are blocked the way you planned.

Publishers

Decide which AI bots to allow or block and test the result.

Site owners

Find out why a page stopped appearing in a crawl.

Agencies

Add a robots.txt test to every launch checklist.

Block vs noindex

Robots.txt does not remove pages from Google

This is the most common mistake I see.

GoalUseWhy
Stop crawlingrobots.txt DisallowSaves crawl effort on pages you never want fetched
Keep out of resultsnoindex on a crawlable pageGoogle must fetch the page to see the tag
Keep privateLogin or server rulesRobots.txt is public and not security
Block AI training botsBot specific DisallowWorks only for bots that follow it
Why it matters

One line can hide your whole site

A blocked page can still be listed if other pages link to it. Google then shows the URL without a description. If you want a page out of results, let Google crawl it and add a noindex tag. If you block the page in robots.txt, Google never sees the tag.

Also never block files Google needs to render your pages, such as scripts and styles. Blocking them can hide layout and content from the crawler.

For AI bots, a Disallow only works for crawlers that choose to follow it. Treat it as a request, not a lock. Check each vendor documentation for the current bot names, because they change.

Glossary

Terms used on this page

01

User-agent

The line that names which bot a group of rules applies to.

02

Disallow

A path the bot should not crawl.

03

Allow

A path the bot may crawl, often used to open a part of a blocked folder.

04

Wildcard

The star character, matching any run of characters.

05

End anchor

The dollar sign, matching the end of the URL.

06

Sitemap line

A line that points crawlers to your sitemap file.

Limits and privacy

What this tool cannot do

  • It tests pasted text. It does not fetch your live robots.txt.
  • Rules follow Google documentation. Bing and AI bots may handle edge cases differently.
  • It cannot tell whether a page is indexed. Blocking and indexing are separate.
  • It does not check server headers, redirects or meta robots tags.
  • Your text stays in your browser. The tool makes no network requests. Saved results sit in your own browser storage, and a share link keeps your inputs in the URL after the hash.
Who built this

Built from real launch checks

I am Mansoor Bhanpurawala, an SEO consultant since 2012 with 500+ client projects. A robots.txt test is part of every launch and migration check I run. If a result looks wrong to you, send me the file on WhatsApp and I will check the rule logic.

Questions

Robots.txt Checker FAQ

Answers on crawl rules, blocking and testing.

Basics
What is a robots.txt file?

A text file at the root of your site that tells crawlers which paths they may or may not fetch.

Does Disallow remove a page from Google?

No. It stops crawling. A blocked page can still be listed if other sites link to it. Use noindex on a crawlable page to keep it out.

Where must robots.txt live?

At the root of the host, for example yourdomain.com/robots.txt. A file in a subfolder is not read.

Is robots.txt a security tool?

No. It is public and only polite bots follow it. Use logins or server rules to protect private content.

Do I need a robots.txt file?

Not always. Without one, crawlers assume everything is open. You need one to block paths or to point to your sitemap.

Using the tool
How does the tool pick Allowed or Blocked?

It finds all rules in the bot group that match the URL, takes the longest match, and lets Allow win a tie.

Which bot group does it use?

The group named for that bot if one exists, otherwise the star group.

What does the star wildcard do?

It matches any run of characters. Disallow with a star and a parameter name blocks every URL with that parameter.

What does the dollar sign do?

It anchors the rule to the end of the URL. A PDF rule with a dollar sign blocks the file but not the same file with a query string.

Can I test several bots at once?

Yes. Enter a comma separated list and the tool shows a result for every URL and bot pair.

Why does it warn about no Sitemap line?

A Sitemap line helps crawlers find your sitemap. It is optional, but useful, so the tool nudges you.

Accuracy and privacy
Does it fetch my live robots.txt?

No. It tests the text you paste. Copy the live file or use Search Console to confirm what Google sees.

Will Bing and AI bots behave the same?

Mostly, for simple rules. Edge cases can differ, so check each vendor documentation.

Should I block AI bots?

That is a business decision. A bot specific Disallow works only for bots that follow it. Check each vendor for current names.

Is my file stored or sent anywhere?

No. The test runs in your browser and makes no network requests. Save uses your browser storage and a share link keeps inputs in the URL after the hash.

What should I check after changing robots.txt?

Test your key URLs here, then check the live file and the URL Inspection tool in Search Console.

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 *