For SEOs and developers

Test whether robots.txt blocks a URL

The robots.txt Tester fetches a site's live robots.txt and shows whether a page may be crawled by Googlebot, Bingbot, Googlebot-Image, GPTBot, ClaudeBot, PerplexityBot or any bot you name, with the exact rule that decides it. You can edit the rules in the browser and see the result change at once, before you touch the live file.

  • Free, no sign-up
  • Results in seconds
  • Input not stored
mohitgoyal.in/tools/robots-txt-tester

robots.txt Tester

Test if a URL is blocked by robots.txt

Your input

The page you want checked. Its site's /robots.txt is fetched.

Not saved on this site. Only public websites can be checked.

Result· Ready

Your result will appear here

Fill in the form, or press Try an example to see what you get:

  • Allowed or blocked for Googlebot, Bingbot and four more bots
  • The User-agent group and the exact rule that decides each verdict
  • A test for any other bot you name
  • An editor to try new rules before you publish them
  • The sitemaps the file lists

How it works

How to use the robots.txt Tester

  1. Enter a page

    Paste the full address of the page you want to test. The tester fetches robots.txt from that site.

  2. Read the verdicts

    Each bot shows allowed or blocked for that page, the User-agent group it obeys and the rule that decided.

  3. Try a change

    Edit the rules, change the page or add another bot's name. The verdicts update as you type, and nothing is sent anywhere.

What you get

Inside every result

  • Allowed or blocked for Googlebot, Bingbot and four more bots
  • The User-agent group and the exact rule that decides each verdict
  • A test for any other bot you name
  • An editor to try new rules before you publish them
  • The sitemaps the file lists

Who it's for

Built for

  • SEOs finding out why a page isn't being crawled
  • Developers checking robots.txt before and after a launch
  • Site owners who blocked something by accident
  • Anyone writing a new rule who wants to test it first

How robots.txt rules are matched

The tester follows the robots.txt standard, RFC 9309. A bot obeys the group that names it and, if none does, the group for *. Within that group the longest matching Allow or Disallow rule wins, and Allow wins a tie.

In a rule, * matches any run of characters and $ marks the end of the address. Rules are case-sensitive and match from the start of the path, so Disallow: /blog also blocks /blog-archive.

Blocked from crawling is not removed from Google

robots.txt controls crawling, not indexing. A blocked page can still appear in search results, without a description, if other sites link to it. To keep a page out of results, let it be crawled and add a noindex tag, or put it behind a login.

The opposite mistake is common too: blocking CSS, JavaScript or image folders, which stops Google from seeing the page the way visitors do.

When there is no robots.txt

If robots.txt answers with a 404 or another 4xx error, bots may crawl everything. If it answers with a server error, or doesn't answer, bots treat the whole site as blocked until it works again, so a broken robots.txt can take a site out of crawling.

Guides and services

Questions

Frequently asked

How do I test my robots.txt file?+

Enter the address of a page on your site. The tester fetches your live robots.txt and shows, bot by bot, whether that page may be crawled and which rule decides it.

Is this tester free? Does it use AI?+

Yes, it is free with no sign-up and no daily limit. It does not use AI: it applies the robots.txt matching rules in code, in your browser.

Can I test a rule before putting it on my site?+

Yes. Edit the robots.txt text in the tester and the verdicts update at once. Your edits stay in the browser, so the live file doesn't change until you upload it yourself.

Does Google still have a robots.txt tester?+

Google removed the robots.txt tester from Search Console in late 2023 and replaced it with a robots.txt report, which shows the file Google fetched but doesn't test single URLs.

Does Disallow remove a page from Google?+

No. It stops crawling, not indexing. A disallowed page can still be listed if other pages link to it. Use a noindex tag on a crawlable page to keep it out of results.

Do all bots obey robots.txt?+

robots.txt is a request, not a lock. Search engines and most AI crawlers follow it, but scrapers can ignore it. To enforce a block, use your firewall or CDN.

More free tools

Try another tool

All 29 tools →

Let's build

Have a site that needs to be fast, rank and convert?

Open to Work. Usually replies within a day.