Skip to main content
KalkuNet

robots.txt Tester — Is a URL Allowed or Blocked for Googlebot and Other Bots

Test URLs against a robots.txt for any crawler with Google's rules: the exact user-agent group or *, longest match, Allow on ties, * and $ patterns — fetch a site's robots.txt or paste one.

OnlineWeb · SEO & Metadata

robots.txt is fetched through KalkuNet's fetch API when you enter a URL.

group * (line 1) — no specific group for Googlebot

URLResultDeciding rule
https://example.com/✓ allowedno matching rule
/admin/pengaturan/✗ blockedDisallow: /admin/ (line 2)
/admin/bantuan/faq/✓ allowedAllow: /admin/bantuan/ (line 3)
/produk/kopi/?sort=harga✗ blockedDisallow: /*?sort= (line 4)
/katalog/harga.pdf✗ blockedDisallow: /*.pdf$ (line 5)
/katalog/harga.pdf?v=2✓ allowedno matching rule
/robots.txt✓ allowed/robots.txt is always allowed

Sitemaps declared: https://example.com/sitemap.xml

Rules are chosen as Google's documentation and RFC 9309 describe: the group with exactly this crawler's name (otherwise the * group), then the longest matching path; on a tie, Allow wins. * means any characters, $ means the end of the URL, and matching is case-sensitive.

When to use the robots.txt Path & User-Agent Tester

  • Google's actual rules

    The group is chosen by the exact crawler name, otherwise the * group. Among the matching rules the longest path wins, and Allow wins on a tie. The logic is tested against Google's own example tables.

  • Many URLs at once

    Paste a list of URLs or paths and see for each line whether it is allowed or blocked, with the deciding rule and its line number in robots.txt.

  • Fetch it from the site

    Fetch the robots.txt that is live. If the server answers 404, every URL may be crawled; on a 5xx error, Google temporarily treats the whole site as blocked.

  • AI and image bots

    Test as Googlebot, Googlebot-Image, Bingbot, GPTBot, ClaudeBot, Google-Extended or any other name to make sure their specific rules work.

Frequently asked questions

Are paths case-sensitive?

Yes. Disallow: /Admin/ does not block /admin/. Crawler names in User-agent lines, on the other hand, are not case-sensitive.

Where is Google's own robots.txt tester?

Google retired its old tester in 2023 and replaced it with the robots.txt report in Search Console, which shows the version Google read and any errors.

Does Googlebot-Image use Googlebot's rules?

According to Google's robots.txt documentation, a crawler uses the group whose name matches exactly, otherwise the * group. Write a separate group if images need their own rules.

Do blocked URLs disappear from Google?

Not necessarily. Blocking only stops crawling; a URL linked from other sites can still appear without a description. To remove it, use noindex.

Learn more