What is robots.txt?
robots.txt is a small text file that lives at the root of a website — for example example.com/robots.txt. It tells bots which pages they may visit and which pages they must skip.
Bots read it before they crawl. Googlebot reads it before Google Search visits your pages. GPTBot reads it before OpenAI's tools visit. Every big bot follows it — it is a request, not a lock, but honest bots respect it.
Some people call this kind of tool a robots.txt validator. It checks the same file and flags lines that look wrong. Others search for a robots txt checker, without the dot — it is the same tool, and it does the same job: read the file and tell you the truth about it.
How the rules work
A robots.txt file is made of groups. Each group starts with one or more User-agent lines, then the rules for those bots. Three ideas decide the result:
- The most specific group wins. If a bot has its own group (for example
User-agent: GPTBot), only that group counts for it. The general group (User-agent: *) is ignored for that bot. - The longest matching rule wins. If a group has both
Disallow: /andAllow: /public/, a bot may visit/public/but nothing else. On a tie, Allow wins. - Wildcards work. A star (
*) in a rule matches anything, and a dollar sign ($) at the end means "the path must end here". For exampleDisallow: /*.pdf$blocks all PDF files.
This checker follows those exact rules. The tester below shows you the rule that decided each test, so you see the reason, not just the answer.
What the AI crawler access score means
The score is one number from 0 to 100. It answers a simple question: how open is your site to the AI crawlers that decide whether your pages show up in AI answers?
Our formula is public, so you can check the maths yourself:
- AI retrieval bots allowed — 60 points. We test 6 bots that fetch pages for AI answers: OAI-SearchBot, ChatGPT-User, Google-Extended, ClaudeBot, PerplexityBot, and CCBot. The points are the share allowed — all 6 allowed is 60 points, 3 of 6 allowed is 30 points.
- File exists — 15 points. A robots.txt file was found at your site.
- No errors — 15 points. The file has no error-level problems.
- Sitemap line — 10 points. The file points bots to your sitemap.
A high score means AI crawlers can reach your pages. It does not mean they will visit, and it does not mean any AI tool will cite your site — that depends on your content.
How to use the robots.txt checker (3 steps)
- Type your website address above. Use the full address, like
https://example.com. If you skip thehttps://part, we add it for you. - Press "Check my robots.txt". The check takes a few seconds. We fetch the live file from your site — once.
- Read the groups and the notes. The groups table shows every rule, grouped by bot. The notes list problems in plain words, like a rule that blocks the whole site or a line that bots cannot read.
How to use the result (3 steps)
- Fix the red and yellow notes first. A
Disallow: /on the general group blocks every bot, including Google. A line bots cannot read is ignored — fix its spelling or remove it. The "Recommended fixed file" box above applies the fixes for you. - Test the pages that matter. Use the robots.txt tester above: type your page addresses (one per line), pick the bot you care about, and check each page is allowed. Test your home page, your best article, and any page you want AI tools to read.
- Save and check again. Upload the fixed file to the root folder of your site (the same place as before, next to your home page), then run this checker again to confirm the fix worked.
What this tool does NOT check
Here is the honest answer: this tool reads the file, not the server.
It shows you what your robots.txt file says right now. It cannot see server-side blocks, firewalls, or login walls that stop bots in other ways. A bot can be "allowed" in robots.txt and still be stopped by your server.
It also checks access, not citations. "Allowed" means a bot may visit your pages. It does not mean the bot will visit, and it does not mean any AI tool will cite your site. Being cited depends on your content: clear pages, real facts, and answers to real questions.
One more honest note: the result is a snapshot. If someone edits the file later, the result changes. Run the check again after any edit.
More free tools
More free tools that go with this one:
- llms.txt Generator & Validator — make a clean llms.txt file for your site in 2 minutes, and check any file against the basic rules.
- AI Crawler Checker — see whether GPTBot, ClaudeBot, PerplexityBot and 20 more AI crawlers can reach your site, or your robots.txt blocks them.
- Schema Markup Generator — make valid JSON-LD code for your pages, so search engines understand what each page is about.
- robots.txt Generator — make a new robots.txt file from scratch: pick which bots may visit, add your sitemap, and download the file.
- AI Crawler Diagnostic Tool — diagnose your site for AI crawlers: find what blocks them and get the exact fix for each problem.
- AI Crawler Monitoring — keep watch after the check: spot AI bot visits in your server logs, Cloudflare analytics, and GA4.
- AI Agent Directory — the full list of 23 AI crawlers: who runs each one, what it does, and how to check a real visit.
- Secure Password Generator — generate a secure password or a word-based passphrase in one click. Made in your browser, never stored or sent anywhere.
- QR Code Generator — make a free QR code that never expires, for a link, text, Wi-Fi, email or phone. No account, no tracking, nothing uploaded.
- Password Strength Checker — check a password you already have: entropy, crack time, and pattern warnings, all in your browser.
- API Key Generator — make random API keys, secrets, and JWT signing secrets for your apps. Made in your browser, never stored or sent anywhere.
- QR Code Reader — scan a QR code from an image or your camera and see what it holds, with a warning for risky links. Nothing uploaded.
- UUID Generator — make random UUIDs in one click — v4, v1, or the modern time-ordered v7. Made in your browser, never stored or sent anywhere.
- Lorem Ipsum Generator — generate lorem ipsum in one click — paragraphs, sentences, words, characters or lists, as plain text, HTML, Markdown or JSON. Made in your browser, never stored or sent anywhere.
- Timestamp Converter — convert a Linux timestamp to a date and back — seconds, milliseconds, microseconds or nanoseconds, in any timezone, with copyable date commands. Made in your browser, never stored or sent anywhere.
- DNS Leak Check — check for DNS leaks: WebRTC test, visible IP + ISP + ASN, IPv6 exposure, encrypted-DNS reachability, and a DNS resolver identifier. Honest about its limits, no VPN ad.
- Tip Calculator — calculate a tip, the total and each person's share — bill, tip %, split, round-up, service presets and a comparison table. Free, no sign-up, nothing stored.
Frequently asked questions
What is robots.txt?
It is a small text file at the root of a website (for example example.com/robots.txt). It tells bots — like Googlebot or GPTBot — which pages they may visit and which pages they must skip. Bots read it before they crawl a site.
Is this robots.txt checker free?
Yes. This robots.txt checker is 100% free. You do not need an account. You can check as many sites as you like. Some people call this kind of tool a robots.txt validator — it checks the same file and flags lines that look wrong.
How do I check my robots.txt file?
Type your website address in the box above and press 'Check my robots.txt'. The tool fetches the live file from your site, shows every rule grouped by bot, and flags problems in plain words. To check several sites at once, use the bulk checker below the tester — up to 10 sites, with a CSV download of the results.
What does Disallow: / mean?
It means 'stay away from the whole site' for the bots in that group. If the group is User-agent: *, it blocks every bot — including Google. Only keep it if you really want no bot to visit your site.
What does Allow do in robots.txt?
Allow opens one path inside an area that is blocked. For example, Disallow: /private/ with Allow: /private/public-page/ lets bots visit that one page but nothing else in /private/. When two rules match a page, the longest rule wins.
Why does my site have no robots.txt?
Some sites never made one. That is fine — with no robots.txt file, every bot may visit every page. A file is still useful for extra rules, like pointing bots to your sitemap. You can make one in two minutes with our free robots.txt generator.
What is a Sitemap line in robots.txt?
It is one line that tells bots where your sitemap is, like 'Sitemap: https://example.com/sitemap.xml'. It is optional, but it is an easy win: bots find your pages faster.
Can I test pages against one bot?
Yes. Use the robots.txt tester below the results: type up to 20 page addresses (one per line), pick a bot — Googlebot, GPTBot, OAI-SearchBot, PerplexityBot, ChatGPT-User, ClaudeBot, CCBot, or any custom user-agent — and press Test. Each row tells you Allowed or Blocked, and shows the exact rule and line number that decided it.
Can I test a robots.txt file before I publish it?
Yes. Use the 'Test a draft file' box below: paste your file and press 'Test this draft file'. The file is checked in your browser — nothing leaves your computer — and you get the same checks, the same tester, and the same per-bot table as a live check.
What is the AI crawler access score?
It is one number from 0 to 100 that sums up how open your site is to AI crawlers. 60 points come from AI retrieval bots (OAI-SearchBot, ChatGPT-User, Google-Extended, ClaudeBot, PerplexityBot, and CCBot) being allowed, and 40 points come from file health: the file exists (15), it has no errors (15), and it has a sitemap line (10). The score is about access only — it does not mean AI tools will cite your site.
Does this tool check if AI will cite my site?
No. This tool checks access only: whether a bot may visit your pages. Being cited depends on your content: clear pages, real facts, and answers to real questions. No tool can promise citations.
Is my site address stored?
No. The check runs on our server, but we do not store your address or the results. We fetch your robots.txt file once, show you the answer, and forget it.