Join the waitlist

Robots.txt Checker

Free robots.txt checker: fetch or paste a file, validate syntax, test any path against Googlebot, and see which AI crawlers (GPTBot, ClaudeBot, Google-Extended, and more) are allowed on / — no signup.

Fetch robots.txt from a URL

Live fetch uses the serpvi public check API once per origin (SSRF-safe; ~20 requests/minute per IP; paste mode works offline with no limit).

Results appear once you fetch a URL or paste a robots.txt body.

Check a robots.txt file (URL fetch or paste)

A robots.txt checker answers three questions before you ship: is the file syntactically sane, which paths does each User-agent allow or block, and did you accidentally Disallow Googlebot or an AI crawler you still want? Paste the body, or fetch https://{host}/robots.txt through the form above. Google's robots.txt introduction is clear: the file manages crawl access — it is not a reliable way to keep a URL out of search results.

Test URLs against user-agents (Googlebot and others)

Path matching is case-sensitive and prefix-based. Use the path + User-agent fields to ask “Can Googlebot fetch /pricing/?” or “Is /api/ open to GPTBot?” Per How Google interprets robots.txt, longer paths beat shorter ones; equal length prefers Allow. Empty Disallow: means allow-all for that line.

Rule setupPath testedGooglebot resultWhy
Disallow: /admin/
Allow: /admin/public/
/admin/public/xAllow/admin/public/ is longer than /admin/
Disallow: / under GPTBot only/Allow (Googlebot)Named GPTBot group does not apply to Googlebot; * (if open) does
Disallow: (empty) under */anythingAllowEmpty Disallow is ignored as a block — treat as allow-all
No matching rule for that agent/blog/AllowDefault is crawlable when no Disallow matches

AI crawlers in robots.txt (GPTBot, ClaudeBot, and friends)

This page also covers the merged “AI crawler checker” job: show whether common AI User-agent tokens can fetch /. Tokens such as GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Google-Extended, Bytespider, and PerplexityBot appear in the matrix. Matching is by the token string publishers document — serpvi does not IP-validate crawler identity (first-party bot scoring elsewhere is UA-based too). Vendor docs change; always confirm the current token name before you ship a block.

Token (examples)Typical product intentCommon robots patternCheck in this tool
GPTBotOpenAI training / browsing crawlDisallow: / to opt out of sitewide crawl“Is GPTBot blocked?” banner + matrix row
ChatGPT-User / OAI-SearchBotUser-initiated fetch / search featuresOften left allowed while GPTBot is blockedSeparate matrix rows — do not conflate with GPTBot
ClaudeBotAnthropic crawlerNamed group Allow/DisallowMatrix + path tester
Google-ExtendedGoogle AI / Gemini training control (separate from Googlebot)Block Extended while leaving Googlebot openMatrix row — verify Googlebot still allows
BytespiderByteDance crawlerNamed Disallow if you want to opt outMatrix row

Worked example — block training crawl, keep search crawl, leave Googlebot on * rules:

User-agent: GPTBot
Disallow: /

User-agent: ChatGPT-User
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: *
Disallow: /admin/
Allow: /admin/public/
Sitemap: https://example.com/sitemap.xml

Common syntax errors and Allow vs Disallow

Most production incidents are boring: a typo in User-agent, a path missing the leading /, a relative Sitemap URL, or Disallow: / copied under * during a staging lock-down and never reverted. The checker lists unknown directives and path-shape issues with line context. Google documents only User-agent, Allow, Disallow, and Sitemap as supported fields — Crawl-delay is widely ignored by Googlebot.

How to check robots.txt (step-by-step)

  1. Fetch or paste the live file for the exact host users hit (www vs apex often diverge).
  2. Scan syntax notes, then run path tests for your money pages under Googlebot.
  3. Read the AI matrix for / — confirm GPTBot / Google-Extended match your policy, not a leftover staging block.
  4. Confirm Sitemap lines are absolute https://… URLs, then spot-check those sitemaps in the sitemap checker.
  5. After deploy, re-fetch once — CDNs and multi-region origins can serve different robots.txt bodies.

Pre-launch diagnostic checklist

Where this fits next to search traffic

Crawl access and click quality are related but not the same signal. Use this checker for file-level allow/block decisions; use how serpvi works and your connected data sources when you want Search Console coverage next to session drops on sites you connect. First-party human/bot quality scoring needs the serpvi script installed on that site — it is not inferred from robots.txt alone.

Browse other free SEO tools, including the SERP preview, CTR calculator, and today's llms.txt generator (different job: LLM-oriented summary file, not crawl rules).

Related tools

Questions

How to check robots.txt file?
Open https://your-domain/robots.txt in a browser, or paste the file into this robots.txt checker (or fetch the origin URL). Confirm User-agent groups, Allow/Disallow paths, Sitemap lines, then test the exact paths you care about for Googlebot and any AI crawlers you named.
Is robots.txt legal?
The Robots Exclusion Protocol is a voluntary convention, not a statute that forces crawlers to obey. Respectable bots (Googlebot, Bingbot, and many AI crawlers that publish a token) honor it; scrapers may ignore it. For secrets, use authentication — not Disallow alone.
Is robots.txt good for SEO?
Yes when you use it to manage crawl budget and keep soft URLs out of the crawl queue. It is a poor way to hide pages from search results: Google can still index a disallowed URL if other sites link to it, usually without a snippet. Prefer noindex or access control when you need the URL out of results.
Does robots.txt still work?
Yes. Google still fetches and caches robots.txt (documented refresh behavior is on the order of a day, faster when it notices changes). Named AI crawlers that publish a User-agent token also read it. Always re-test after deploys — a single Disallow: / under the wrong agent can blank crawl access.
How do I block GPTBot in robots.txt?
Add a group that names GPTBot and Disallow the paths you want blocked (Disallow: / blocks the whole site for that agent). Load the sample above or paste your file and read the “Is GPTBot blocked?” row. Also decide separately for ChatGPT-User and OAI-SearchBot — OpenAI documents them as different products.
What are the limits of this checker?
Live URL mode is one robots.txt fetch via the public check API with SSRF guards, a modest per-IP rate limit (~20/minute), and no sitewide crawl. Paste mode is unlimited and offline. Matching is User-agent token + path prefix — not IP-validated crawler identity.
How are Allow and Disallow conflicts resolved?
Google’s documented rule: the most specific (longest) matching path wins; on a tie, the least restrictive rule wins (Allow beats Disallow). An empty Disallow line means allow-all for that rule. Bots without a named group fall back to *.