robots.txt Checker

Built by

Find the line that blocks a page or lets a crawler through.

Check a URL

Use the rules from the same site as your URL. Your text and URL stay in this browser.

Leave blank to test an empty file.

Why did this rule win?

The checker picks the rules for the crawler you chose. It uses the * group if there is no matching crawler group. A longer matching path takes priority. If an Allow and a Disallow rule match at the same length, Allow wins.

Which robots.txt should I paste?

Use the file from the root of the site you want to test. Match the URL’s protocol, host and port. For example, use https://example.org/robots.txt for a page on https://example.org.

What does the result tell me?

The checker reads the pasted rules and tests the URL path and query string. A crawler may also face a login, a server error or other limits when it visits the page. To check indexing, inspect the page in Search Console.

Read the robots.txt standard or see Google’s rule examples.

What to do with your result

Review the winning rule in your site’s robots.txt. After an edit, copy the new file and test both the affected URL and one URL that should keep its old result.