Robots.txt checker and tester

Enter a page URL to test the site’s robots.txt file. The tool shows whether 16 bots, including Googlebot and AI bots, can reach that page, which rule decides the result and which lines are invalid.

The address you enter and the result are not stored.

Rules are evaluated under RFC 9309: the most specific bot group applies, then the longest matching rule. Whether a bot obeys the rules is up to that bot.

This tool is made by Sun Works.Work with the person who built this site

About Robots.txt checker

What is robots.txt?

robots.txt is a plain text file in the root directory of a site that tells bots which URLs they may crawl. The User-agent line says which bot a rule applies to, and the Disallow and Allow lines say which paths are closed or open. If the file is missing, bots can crawl every page.

How do you use the tool?

Enter the full URL of the page you want to test. The tool reads that site’s robots.txt file and gives each bot’s result for the path you entered. If you enter only a domain, the home page is tested. The table shows the rule that decided the result and its line number in the file.

Does Disallow stop a page from being indexed?

No. Disallow only blocks crawling. If other sites link to a blocked page, Google can still index the URL without seeing its content. To keep a page out of search results entirely, leave it open to crawling and use a noindex tag.

How do you manage AI bots?

Bots such as GPTBot, ClaudeBot, PerplexityBot and Google-Extended follow rules written under their own names. If you want your content to be cited in AI answers, you should not block these bots. The table shows the status of each one on your site.

Related articles

Frequently asked questions

Where should my robots.txt file be?

It must sit in the root directory of the site, at exactly /robots.txt. A robots.txt file in a subfolder is not read by bots. Every subdomain has its own file.

Which rule applies when two rules conflict?

The group written most specifically for the bot is chosen first, and within that group the longest matching rule wins. If Allow and Disallow are the same length, Allow applies. The tool shows the deciding rule in the table.

What does Disallow: / mean?

It means the whole site is closed to that bot. If it is written for all bots, the site will drop out of search results over time. Forgetting to remove this line from a development setup when going live is a common mistake.

Should I add my sitemap to robots.txt?

Yes, it is recommended. A line starting with Sitemap: and containing the full URL lets search engines find your sitemap on their own. You can add more than one Sitemap line.

When does a change take effect?

Google usually caches robots.txt for up to 24 hours. You can test the change with this tool as soon as you publish it, but search engines may take a day to apply the new rule.

Come, let's build what you have in mind.

Whether it's an idea for a new website or support for your current one, write to us briefly and we'll decide together how we can help.