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.
robots.txt is fetched through KalkuNet's fetch API when you enter a URL.
group * (line 1) — no specific group for Googlebot
| URL | Result | Deciding rule |
|---|---|---|
| https://example.com/ | ✓ allowed | no matching rule |
| /admin/pengaturan/ | ✗ blocked | Disallow: /admin/ (line 2) |
| /admin/bantuan/faq/ | ✓ allowed | Allow: /admin/bantuan/ (line 3) |
| /produk/kopi/?sort=harga | ✗ blocked | Disallow: /*?sort= (line 4) |
| /katalog/harga.pdf | ✗ blocked | Disallow: /*.pdf$ (line 5) |
| /katalog/harga.pdf?v=2 | ✓ allowed | no 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.
Similar tools
- Canonical Tag Checker & Link AuditorCheck a page's canonical the way Google reads it: in <head> or pushed into <body>, self or another URL, duplicates, the Link header, og:url and noindex conflicts — from a live page or pasted HTML.
- hreflang Tag & ISO Region GeneratorBuild hreflang annotations with ISO 639-1 / 3166-1 checks (en-UK → en-GB), x-default and self-reference checks, as HTML <link>, an XML sitemap or an HTTP Link header.
- JSON-LD Schema Markup GeneratorCreate Schema.org JSON-LD for Article, Product, FAQPage, LocalBusiness, BreadcrumbList and Organization with required-field checks, as a <script> tag or .json.
- Long-Tail SEO Keyword Variation GeneratorLong-tail keyword ideas from seed keywords: questions, prepositions, buying intent, comparisons, year and A–Z prompts, in Indonesian or English, exported as .txt or .csv.