Skip to main content

CometWeb tools

Robots.txt tester

Paste robots.txt, choose a crawler and check whether the rules allow it to fetch your URL.

FreeNo account required
Result

Paste your robots.txt

Copy the file contents and enter the URL you want to test. Analysis runs locally — nothing is uploaded.

This robots.txt tester checks locally in your browser whether pasted rules block a URL for a given crawler. Path matching follows Google’s specification: the longest matching pattern wins, and a tie resolves to Allow. It does not fetch the file from your server — it analyses what you paste.

Why robots.txt blocks too much

The most common mistake is a prefix where a directory was meant. Disallow: /fish also blocks /fishheads and /fish.html — a directory needs the trailing slash.

The second is believing robots.txt removes a page from the index. It does not. It blocks fetching, so the search engine never sees a noindex tag either — the URL can stay in results without a description.

The third is blocking CSS and JavaScript. Without them the search engine renders the page incompletely, which distorts its read of layout and accessibility.

Analysis runs locally in your browser. This tool does not fetch the file from your server and cannot tell you whether a crawler actually obeyed the rules — it shows what the rules say.

Test URLs that should remain accessible

Alongside the blocked directory, test a product page, a category and resources needed for rendering. Repeat for the relevant User-agent. The result depends on the selected bot's rules and path pattern.

Matching rules

*Wildcard
Stands for any run of characters. /*.php matches /index.php and /folder/x.php.file.html.
$End anchor
Pins the pattern to the end of the path. /*.php$ matches /a.php but not /a.php?x=1.
LMLongest match
The longest matching pattern decides, regardless of order in the file.
AWAllow wins
On equal pattern length the least restrictive rule wins, which is Allow.
This tool patches one problem at a time

Indexability, metadata and structure — with priorities and a client report.