Skip to main content

Web Tools

Robots.txt Tester

Test whether a page is allowed by robots.txt. Free online tool — no sign-up required.

See how to use this tool

Robots.txt Tester

Check whether a public page is allowed or blocked by robots.txt.

Only public HTTP/HTTPS targets on standard ports are allowed.

Run the tool to see the result.

Privacy: remote checks are requested by the ToolConv server against public URLs; private, local, and internal addresses are blocked.

About Robots.txt Tester

ToolConv's robots.txt tester fetches the /robots.txt file at a domain you specify, parses it according to Google's robots.txt specification (the RFC 9309 successor), and lets you test whether a specific URL path is allowed or blocked for a given user-agent. It handles the directive precedence rules that catch most site owners: longest-match path rules, the trailing-slash distinction, $ end-of-path anchors, and * wildcards.

Because the only way to test a live robots.txt is to fetch it, the tool sends the domain you enter to a fetch endpoint that retrieves https://<domain>/robots.txt and parses the directives. It reports crawl-delay, sitemap declarations, and the allow/disallow decision for any URL path you type in, with an explanation of which rule matched and why. Common errors — a Disallow: / that blocks everything, a User-agent: * that overrides a more specific bot, a missing sitemap line — are surfaced explicitly.

How to use it

  1. 1Enter the domain (e.g. example.com) whose robots.txt you want to test.
  2. 2The tool fetches https://<domain>/robots.txt and parses its directives.
  3. 3Pick a user-agent (e.g. Googlebot, Bingbot, or *) and enter a URL path to test.
  4. 4Read the allow/disallow verdict and the specific rule that matched.
  5. 5Review the directive summary for sitemap lines, crawl-delay, and conflicting rules.

When to use it

  • ✓Confirming that a staging subdomain's robots.txt blocks all crawlers with Disallow: /.
  • ✓Checking whether Googlebot can crawl a faceted-URL pattern like /search?color=red.
  • ✓Verifying a sitemap line is declared so Google can discover new URLs faster.
  • ✓Diagnosing why a specific product page disappeared from search after a robots.txt edit.

Features

  • •Full RFC 9309 / Google-spec parsing: User-agent grouping, Allow, Disallow, Sitemap, Crawl-delay.
  • •Longest-match path resolution with * wildcard and $ end-of-path anchor support.
  • •Per-user-agent path tester that explains which rule won and why.
  • •Surfaces common mistakes: Disallow: / blocking everything, missing sitemap, conflicting groups.
  • •Server-side fetch of the robots.txt at the domain you enter.

Related tools

FAQ

What is the difference between Allow and Disallow precedence?

Per the Google/RFC 9309 specification, the rule with the longer matching path pattern wins, regardless of whether it is Allow or Disallow. So 'Disallow: /a' and 'Allow: /a/b' results in /a/b being allowed because /a/b is the more specific (longer) match. The tester shows the matched rule length so you can see the precedence in action.

Does a trailing slash matter in Disallow paths?

Yes. 'Disallow: /private' blocks both /private and /private/page, while 'Disallow: /private/' blocks only /private/ and its children but allows the bare /private URL. The tester reports the exact match so you can confirm which form you need.

How do * and $ wildcards work?

* matches any sequence of characters (including none) and $ anchors the pattern to the end of the path. 'Disallow: /*.pdf$' blocks any URL ending in .pdf, while 'Disallow: /*.pdf' also blocks /file.pdf.html. The tester evaluates these exactly as Googlebot does.

Is the domain I enter sent to a server?

Yes. To fetch and parse a live robots.txt, the domain you enter is sent to our fetch endpoint, which performs an outbound HTTPS request to https://<domain>/robots.txt. Only public domains can be tested; do not enter internal hostnames. The file content is parsed and discarded, not stored.

Does robots.txt force Google to remove an already-indexed URL?

No. robots.txt prevents crawling, not indexing. If a URL is already indexed, blocking it via robots.txt means Google can no longer crawl it but may still show it as a URL-only result. To remove a URL from search, use a noindex meta tag or the URL Removal tool in Google Search Console instead.

Why is my User-agent: Googlebot rule being ignored?

The most common cause is record ordering: the robots.txt spec says only the first matching record for a user-agent is used, and subsequent records for the same agent are ignored. If you have a 'User-agent: *' block before 'User-agent: Googlebot', the * rules may win. The tester shows which record was selected for the agent you typed.