Robots.txt Checker Bookmarklet
Free robots.txt checker bookmarklet: tests the current URL against Googlebot, Bingbot, GPTBot and * rules with longest-match logic and wildcards.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
This bookmarklet fetches the site's /robots.txt and tells you whether the page you are on may be crawled, and why. It evaluates the URL path the way Google does: it picks the most specific user-agent group, applies the longest matching Allow or Disallow rule, supports * wildcards and the $ end anchor, and lets Allow win a tie. For each crawler you see the verdict and the exact rule that decided it.
Results are shown for Googlebot, Bingbot, GPTBot (OpenAI's crawler, now a common question) and the * group that applies to everyone else. Type any other path into the box to test it without leaving the page.
The panel also lists Sitemap lines, shows the full robots.txt, and checks the page's robots meta tag and X-Robots-Tag header, because robots.txt controls crawling while noindex controls indexing, and the two get confused all the time.
What it does
- Fetches /robots.txt and handles 4xx (everything allowed) and 5xx (Google treats as blocked) responses
- Groups rules by user-agent and picks the most specific group, falling back to *
- Longest-match Allow/Disallow evaluation with * wildcards, $ anchors and Allow winning ties
- Verdicts with the deciding rule for Googlebot, Bingbot, GPTBot and *
- Path box to test any other URL path on the same site
- Shows Sitemap lines, robots meta, X-Robots-Tag header and the raw file
How to install the Robots.txt Checker bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open the page you want to test and click the bookmarklet.
- Read the verdict table: Allowed or Blocked, and the rule that decided it.
- Type another path (for example
/search?q=test) into the box and click Test. - Expand Raw robots.txt to see the full file, or click Copy robots.txt.
Crawling vs indexing
A Disallow rule stops compliant crawlers from fetching a URL, but the URL can still be indexed (without content) if other sites link to it. To keep a page out of search results, allow crawling and use noindex instead. Blocking a noindex page in robots.txt means Google never sees the noindex.
Matching here follows Google's documented behavior. Other crawlers may differ: some ignore wildcards, and many AI crawlers do not respect robots.txt at all. Paths are compared as they appear in the URL, including percent-encoding, and rules are case-sensitive.
Bookmarklet code
This is the exact code inside the button above (10,239 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Does Disallow remove a page from Google?
No. It only stops crawling. Use a noindex meta tag or header, and keep the page crawlable so Google can see it.
Which rule wins when Allow and Disallow both match?
For Google, the rule with the longest path wins. If both are equally long, Allow wins.
How do I block AI crawlers?
Add a group such as User-agent: GPTBot with Disallow: /. The panel shows whether GPTBot is currently blocked on this URL.
Related bookmarklets
Free XML sitemap checker bookmarklet: finds sitemaps via robots.txt and common paths, counts URLs, reads sitemap indexes…
Free Google index checker bookmarklet: runs a site: search for the exact page you are on and warns you about noindex tags…
Free SEO meta tag checker bookmarklet: title, meta description, H1, canonical, robots, hreflang, viewport and Open Graph…
Free canonical tag checker bookmarklet: shows the rel=canonical URL, flags duplicates, relative or cross-domain…