Robots.txt Tester

Test whether URLs are allowed or blocked for a crawler using RFC 9309 matching, with longest-match and wildcards.

Nothing you paste or open is uploaded, and this page cannot fetch other websites, so you give it the page source yourself (browser menu: View Source, or save the page as .html).
robots.txt content
For example Googlebot, Bingbot, GPTBot, or * for the default group.

About Robots.txt Tester

The Robots.txt Tester shows whether specific URLs are allowed or blocked for a crawler under your robots.txt rules, using the official RFC 9309 matching with longest match and wildcards.

The most common surprise

A group for a named crawler, such as Googlebot, replaces the * group instead of adding to it, so rules in * no longer apply to that crawler.

Test the important pages

Check your home page, a product or article page and your sitemap, not only the pages you meant to block.

Blocking is not removing

Disallow stops crawling, not indexing; a blocked page can still appear in results.

Private

Everything runs in your browser. Nothing you paste is uploaded or fetched.

What is robots.txt?

A plain text file at the root of a site, such as example.com/robots.txt, that tells crawlers which paths they may visit.

Can bots ignore it?

Yes. Google and other major search engines follow it, but bad bots can ignore it, so never rely on it to hide private pages.

How to use Robots.txt Tester

  1. Paste your robots.txt text into the first box, or use Open file.
  2. Enter the crawler name, for example Googlebot, Bingbot or GPTBot, or * for the default group.
  3. List the URLs or paths to test, one per line, up to 500.
  4. Read the table: Allowed or Blocked, the deciding rule and line number, and the reason.

Help & FAQ

Which rule wins when several match?

The longest matching path wins, as defined in RFC 9309. If nothing in the group matches, the URL is allowed.

Does a specific crawler group add to the * group?

No. When a group names the crawler, that group is used and the * group is not applied to that crawler, so repeat any shared rules in both.

Does Disallow remove a page from Google?

No. It stops compliant crawlers from fetching the URL. A blocked URL can still appear in results if other pages link to it. Use noindex on a crawlable page, or a login, to keep it out.

What crawler name should we enter?

Use the product token, for example Googlebot, Bingbot or GPTBot, or * for the default group. Matching is case-insensitive.

How do we test our robots.txt online?

Open your live robots.txt in a browser tab, copy the text into the tester, enter a crawler name and list the URLs you want to check.

Why is a page still indexed after we disallowed it?

Disallow blocks crawling, not indexing. A page already indexed, or linked from elsewhere, can stay listed. To remove it, allow crawling and add noindex, or use the removal tools of the search engine.

Are wildcards supported?

Yes. * matches any sequence of characters and $ marks the end of the URL, for example Disallow: /*.pdf$.

Does the tester fetch our live robots.txt?

No. It works on the text you paste or open. It cannot fetch other websites, and nothing you enter is uploaded.

How many URLs can we test at once?

Up to 500, one per line.

Does it tell us how Google treats Googlebot-Image?

No. It does not apply vendor-specific fallbacks. Enter the exact token you want to test.

Is robots.txt a security tool?

No. The file is public and only asks well-behaved crawlers to stay away. Protect private files with authentication.

Can we test AI crawlers such as GPTBot?

Yes. Enter the crawler's product token, for example GPTBot, and the tool uses its group, or * if it has none.

More in SEO & Website

See all 15 in SEO & Website