What is the Robots.txt Tester?
Your robots.txt file tells crawlers which parts of your site they may visit. A single wrong line can hide a whole section from Google, or let AI companies train on content you meant to protect. Since Google retired its own robots.txt tester, it is harder to check what a rule really does.
This tester reads your live robots.txt (or one you paste to try before uploading) and applies Google's exact rules: the most specific User-agent group wins, the longest matching path wins, and Allow wins a tie, with support for * and $ wildcards. It tells you whether the address is allowed or blocked and shows the line that decides it.
A table shows the answer for 18 crawlers at once: Googlebot, Bingbot, Applebot and other search engines, and AI crawlers like GPTBot, OAI-SearchBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot and Bytespider. It also warns about lines search engines ignore, such as noindex and Crawl-delay for Google.
Features
Google's exact rules
Most specific group, longest match, wildcards.
AI crawlers
GPTBot, ClaudeBot, Google-Extended and more.
The deciding rule
With its line number.
Test before upload
Paste a new robots.txt to try it.
Warnings
Ignored and invalid lines explained.
Sitemaps
Lists the sitemaps your file announces.
How to use the Robots.txt Tester
- 1
Type the address you want to test.
- 2
Pick a crawler, or paste a new robots.txt to try it before you upload it.
- 3
Press Test and read the rule that decides it.
Who it is for
A page is not indexed
Check that robots.txt is not blocking it.
Blocking AI training
Confirm GPTBot, CCBot and Google-Extended are blocked.
Before a change
Test a new file without risking your live site.
Tips for better results
- Blocking a page in robots.txt does not remove it from Google; use a noindex tag and let it be crawled.
- Never block CSS and JavaScript files that pages need to render.
- Google-Extended controls Gemini training only; it does not affect Google Search.
- List your sitemap with a full address: Sitemap: https://example.com/sitemap.xml.
Your privacy: what happens to what you enter
- This tool needs our server to do the work, so what you enter is sent to it over an encrypted (HTTPS) connection and used only to produce your answer.
- We do not save what you enter in a database or keep a history of what you checked, and we never sell or share it.
- When a check needs public data, such as domain registries, DNS or a website you name, our server asks for it. Those services see our server, not you.
- A short counter of checks per minute protects the service from abuse; it holds no content.
Questions people ask
How do I block ChatGPT and other AI bots?
Add a group like "User-agent: GPTBot" with "Disallow: /", and do the same for CCBot, ClaudeBot and Google-Extended. Then test it here.
What happens if robots.txt is missing?
Crawlers may visit every page, which is fine for most sites. If it answers with a server error, Google stops crawling the site, which is serious.
Does Google read Crawl-delay?
No. Bing and Yandex do. Google sets its own speed.
Why is a page blocked when I wrote Allow?
A longer Disallow rule wins over a shorter Allow rule. The tester shows which line decided.