Robots.txt Tester

Test and validate robots.txt files. Check if URLs are allowed or blocked for any crawler, parse directives, and bulk-test multiple URLs.

Updated

Share:
Home/SEO Tools/Robots.txt Tester

Robots.txt Tester

Test and validate robots.txt files. Check if specific URLs are allowed or blocked for any crawler, parse directives, detect issues, and bulk-test multiple URLs.

Sample Presets

Robots.txt Content

Test Settings

Frequently Asked Questions

What does it test?

Parses your robots.txt and checks whether specific URLs would be allowed or blocked for any user-agent crawler, using Google-style matching rules.

How does matching work?

Most specific (longest) matching rule wins. Allow beats Disallow at equal specificity. Supports * wildcards and $ end-of-URL anchors.

Can I test multiple URLs?

Yes — Bulk URL Test tab accepts multiple URLs and shows ALLOWED/BLOCKED verdict per URL with summary counts.

Is the Robots.txt Tester free to use?

Yes, the Robots.txt Tester is 100% free with no registration, no hidden fees, and no usage limits. All processing happens locally in your browser, ensuring complete privacy.

Is my data safe with this tool?

Absolutely. The Robots.txt Tester processes everything client-side in your browser. No data is uploaded to or stored on any server. Your content remains private on your device at all times.

Does the Robots.txt Tester work on mobile devices?

Yes, the Robots.txt Tester is fully responsive and works on smartphones and tablets. You can use it on any device with a modern web browser -- no app download required.

Do I need to create an account to use this tool?

No account or registration is needed. Simply open the Robots.txt Tester in your browser and start using it immediately. There are no sign-up walls or usage restrictions.

Does this tool follow Google's latest guidelines?

Yes, the Robots.txt Tester is built following current Google Search guidelines and best practices. We regularly update the tool to reflect changes in search engine requirements.

How do I use the Robots.txt Tester?

Simply enter your input in the provided field, adjust any settings to your preference, and the tool will process it instantly. You can then copy the result to your clipboard or download it.

Which browsers are supported?

The Robots.txt Tester works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For the best experience, use the latest version of your preferred browser.

What is the difference between blocking a page in robots.txt and adding a noindex tag?

Robots.txt controls crawling, not indexing. A Disallow rule tells crawlers not to request a URL, but it does not remove that URL from search results — if other pages link to it, Google can still index the link with no description, since it was never allowed to read the page. A noindex meta tag or HTTP header, by contrast, lets the crawler fetch the page and then explicitly keeps it out of the index. The catch is that noindex only works if the page is crawlable, so blocking it in robots.txt actually prevents Google from ever seeing the noindex directive. To reliably hide a page, allow crawling and use noindex; to save crawl budget on truly worthless URLs, use Disallow. This tester shows you the exact ALLOWED or BLOCKED verdict so you can confirm a page is reachable before relying on noindex.

What do the * and $ wildcards mean in a robots.txt rule?

The asterisk (*) matches any run of characters, and the dollar sign ($) anchors a rule to the end of the URL path. Together they let one line cover many URLs. For example, Disallow: /*?sort= blocks any path containing a sort parameter, which is handy for faceted-search and filter URLs that create endless duplicate pages. Disallow: /*.pdf$ blocks only URLs that end in .pdf, so a path like /guide.pdf?ref=email would not match because something follows the extension. Google and most modern crawlers support both symbols, but they are easy to get subtly wrong, and a misplaced wildcard can block far more than you intended. Paste your file and test a sample URL here to see whether your wildcard rule matches the way you expect.

How do I block AI crawlers like GPTBot without blocking Google?

You target each bot by name in its own user-agent group. Search crawlers and AI training crawlers use different user-agent strings, so a rule under one does not affect the other. To keep Googlebot and Bingbot indexing your site while shutting out AI bots, leave User-agent: * set to Allow, then add separate Disallow: / groups for agents such as GPTBot, ChatGPT-User, Google-Extended, anthropic-ai, ClaudeBot, CCBot, PerplexityBot, and Bytespider. Because the most specific matching group wins, each named bot follows its own block while search engines stay on the permissive default. Note that compliance is voluntary — well-behaved bots honor robots.txt, but it is not a security barrier. This tester includes a Block AI Bots preset and lets you simulate each crawler individually to confirm search engines are still allowed in while AI bots are blocked.

Why is my robots.txt being ignored or not working?

The most common reason is location: a robots.txt file must sit at the root of the host it governs, at exactly /robots.txt, and rules are scoped per protocol, subdomain, and port. A file at /folder/robots.txt or one on the apex domain will not control a subdomain. Other silent failures include Allow or Disallow lines placed before any User-agent line (crawlers ignore them), duplicate user-agent groups that get merged unexpectedly, an unreachable Allow rule shadowed by a more specific Disallow, and a missing User-agent: * default group. Typos in directive names and negative Crawl-delay values are also commonly dropped. This tester parses your whole file, flags these structural problems with line numbers, and names the exact directive deciding each URL, so you can pinpoint why a rule is not behaving as you expected.

Does Crawl-delay in robots.txt actually slow down Googlebot?

No — Google does not support the Crawl-delay directive and ignores it entirely, so adding it will not change how fast Googlebot requests your pages. To adjust Google's crawl rate you rely on its automatic adaptive crawling, which responds to your server's speed and error responses. Crawl-delay is, however, honored by some other crawlers, including Bingbot and Yandex, where it sets the minimum number of seconds a bot waits between requests. A negative value is invalid and gets dropped. Because support varies by engine, it is worth confirming which crawler reads the directive and what value applies to it. This tester surfaces the Crawl-delay value for whichever user-agent you select, parses it from your file, and warns you about invalid negative values, so you can see at a glance which bots your delay will actually affect.

About the Robots.txt Tester

The Robots.txt Tester is a free tool for checking exactly how a search engine or AI crawler will read your robots.txt rules. Paste the contents of a robots.txt file, pick a crawler, and enter a URL — the tester reports an instant ALLOWED or BLOCKED verdict, names the directive that decided it, and points to the line number. It is built for SEOs, developers, and site owners who need to confirm that important pages are crawlable and that admin paths, faceted search URLs, or AI training bots are kept out.

A robots.txt file is a plain-text file at the root of a domain (/robots.txt) that tells crawlers which paths they may or may not request. It controls crawling, not indexing — a blocked URL can still appear in search results if other pages link to it — which is exactly the kind of subtle behavior this tester helps you reason about before you ship a change.

Everything runs locally in your browser. The robots.txt you paste and the URLs you test are never uploaded to a server, so you can safely check rules for an unreleased staging site. There is no sign-up and no usage limit, and you can copy or download the file you are working on as a robots.txt.

How the allow/blocked check works

The tester applies Google's matching algorithm, so the verdict reflects how Googlebot and most modern crawlers actually behave:

  • Most specific rule wins. When several Allow and Disallow lines match a URL, the one with the longest path (ignoring wildcards) takes priority.
  • Allow beats Disallow on a tie. If an Allow and a Disallow are equally specific, the URL is permitted.
  • Wildcards are supported. * matches any run of characters and $ anchors the match to the end of the URL — so Disallow: /*.pdf$ blocks PDF files specifically.
  • Specific user-agent groups override the * group. If the crawler you select has its own block, the tester uses it instead of the catch-all rules.

You can test one URL at a time or switch to the Bulk Test tab, paste many URLs (one per line), and get a per-URL verdict plus a summary count of how many are allowed versus blocked.

Crawlers you can simulate

The tester ships with the user-agents that matter most today, including Googlebot, Googlebot-Image, Bingbot, Applebot, DuckDuckBot, Yandex, and Baiduspider — plus AI crawlers such as GPTBot and ChatGPT-User. You can also type any custom user-agent string. This makes it straightforward to confirm that you are letting search engines in while blocking AI training bots, a common goal addressed by the built-in "Block AI Bots" preset.

Validation, parsed rules, and presets

Beyond the verdict, the tester parses your whole file and flags problems that quietly break crawling:

  • A missing User-agent: * default group.
  • Duplicate user-agent groups that get merged.
  • Allow or Disallow lines that appear before any User-agent line and are ignored.
  • Invalid or unrecognized directives, and negative Crawl-delay values.
  • Potentially unreachable Allow rules shadowed by a more specific Disallow.

It also lists every parsed group, shows which directives apply to the selected crawler, surfaces any Sitemap and Host entries, and reports the Crawl-delay for that bot. To get started fast, load a preset — Allow All, Block All, Block AI Bots, Standard WordPress, or a Complex Google-style file with multiple groups, wildcards, and anchors — then edit it to match your own site and re-test.

Paste your robots.txt above, choose a crawler, and test a URL to see the verdict and the exact rule behind it.