Robots.txt checker and tester.
Fetch any website's robots.txt, see its rules and sitemaps, and test whether a crawler is allowed to visit a specific URL. It follows the same matching rules Google uses: the most specific rule wins.
- Free, no sign-up
- We check public information only. How your data is handled
How to use the robots.txt Checker & Tester
- Enter a page address. We read the robots.txt on that site.
- Choose a crawler to test, such as Googlebot or GPTBot, and the path to test (it defaults to the page you entered).
- See whether the path is allowed, and which rule decided it.
- Review the full file and the warnings below it.
What robots.txt does, and what it doesn't
robots.txt is a plain text file at the root of a site (example.com/robots.txt) that tells crawlers which parts they may visit. Well-behaved crawlers, including Google, Bing and the major AI companies, follow it.
It controls crawling, not indexing. A page blocked in robots.txt can still appear in Google if other sites link to it, just without a description. To keep a page out of search results, let it be crawled and add a noindex tag instead. And it's not security: anyone can read the file, so never use it to hide private areas.
How the rules are matched
- A crawler follows the group that names it most specifically. If GPTBot has its own group, it ignores the "User-agent: *" group entirely.
- Within that group, the longest matching rule wins. "Allow: /blog/" beats "Disallow: /" for /blog/post.
- When an Allow and a Disallow match with the same length, Allow wins.
- * matches any characters and $ marks the end of the URL, so "Disallow: /*.pdf$" blocks every PDF.
- An empty "Disallow:" means everything is allowed.
Common robots.txt mistakes
- "Disallow: /" left over from a staging site, which blocks the whole site from Google.
- Blocking CSS, JavaScript or image folders, so Google can't render the page properly.
- Trying to hide pages with robots.txt instead of noindex.
- No Sitemap line, which costs nothing to add.
- Accidentally blocking AI search crawlers while trying to block AI training.
robots.txt and AI search
AI companies now publish separate crawlers for training and for live search. You can allow OAI-SearchBot, Claude-SearchBot and PerplexityBot so your pages can be cited, while blocking GPTBot and ClaudeBot from training. Our AI search readiness checker tests all of them at once. If you'd like help deciding, that's part of our generative engine optimisation work.
About the robots.txt Checker & Tester.
Where is my robots.txt file?
Always at the root of the domain: yourdomain.com/robots.txt. Each subdomain has its own.
Does robots.txt stop a page from appearing in Google?
Not reliably. It stops crawling, but a blocked page can still be indexed from links. Use a noindex meta tag, and leave the page crawlable so Google can see it.
What happens if my site has no robots.txt?
Crawlers assume they may visit everything. That is fine for most small sites, though adding one with your sitemap address is good practice.
Is this tester the same as Google's?
It follows Google's published matching rules: most specific user-agent group, longest matching path, Allow wins ties, with * and $ wildcards. Search Console's robots.txt report shows what Google itself last fetched.
How big can robots.txt be?
Google reads the first 500 KB and ignores the rest.
You might also need these.
AI Search Readiness Checker
Can ChatGPT, Claude, Perplexity and Gemini read and quote your site? Check crawler access, llms.txt and content.
Use the toolWebsite SEO Checker
A free on-page SEO audit of any URL: titles, headings, content, links, schema, speed and crawlability.
Use the toolRedirect Checker
Trace every hop of a URL's redirects (301, 302, 307, 308), and check http, https and www all end in one place.
Use the toolWant this done for you?
Free tools show you what to fix. We fix it, measure it, and keep it working while you run the business.