Robots & Sitemap Checker

Guides › robots.txt basics

What happens when robots.txt returns 404, 403 or 500

robots.txt responseGoogle's behaviour
200 OKRules are parsed and followed.
3xx redirectFollows up to 5 hops. After that it's treated as a 404.
4xx (404, 403, 410…)Treated as if no robots.txt exists, so everything may be crawled. (429 is treated like a 5xx.)
5xx / timeoutTreated as full disallow, so crawling stops. Google uses a cached copy for up to 30 days. If the file stays unreachable for longer, Google treats the site as having no restrictions as long as the site itself is reachable.

Why this matters

A misconfigured firewall or WAF that returns 403 or 503 to bots on /robots.txt is a common silent problem. A 503 halts crawling site-wide, and a 403 quietly removes every restriction you set. The checker fetches your robots.txt live and flags both. The monitoring plan re-checks daily, because these errors often appear after a CDN or hosting change.

Check your site now

Related

robots.txt syntax: every directive explainedAllow vs Disallow: which rule wins in robots.txt?robots.txt wildcards: how * and $ workNoindex in robots.txt doesn't work: what to do insteadCrawl-delay in robots.txt: who honours it

More free tools from Swift Labs

OG Preview Tool
Preview links on Facebook, LinkedIn, X and Slack, and audit Open Graph tags.
Email DNS Check
Check SPF, DKIM, DMARC and MX records in seconds.
DeadLinkPatrol
Find broken links across your whole site.