lintpage
~/tools/robots-txt-validator

Robots.txt Validator & Checker

Make sure your robots.txt isn't accidentally blocking every crawler from your site, the #1 cause of zero organic traffic after launch.

§ what this tool checks

What the robots.txt validator tests.

Your robots.txt file is the first thing search engines read when they visit your site. One overly broad Disallow rule can block every crawler from your entire site, and you won't know until your traffic drops to zero. Run this robots.txt tester against your site after every deploy: it fetches the live file and flags a blanket Disallow: / under User-agent: * (naming any crawler whose own group escapes it), a missing Sitemap reference, and a file too large for Google to read in full.

File existence and accessibility at /robots.txt
A blanket Disallow: / under User-agent: *, and which named crawlers escape it
Sitemap reference in robots.txt
File size against the 500 KiB Google reads
§ faq

Questions, answered.

What is robots.txt and why is it important?
robots.txt is a plain text file at the root of your website that tells search engine crawlers which URLs they can and cannot access. It's the first file a search engine bot reads when visiting your site. While it doesn't prevent pages from being indexed (use noindex for that), it controls crawl behavior and can accidentally block search engines from discovering your content entirely.
How do I fix a robots.txt that blocks search engines?
First, check for a "Disallow: /" under "User-agent: *". Unless an "Allow: /" or "Allow: /*" in the same group cancels it, it blocks every crawler without a group of its own. Replace it with specific Disallow rules for only the paths you want to block (like /admin/ or /api/). Make sure your User-agent directive targets the right bots: "User-agent: *" applies to every crawler that has no group of its own, and a crawler named in its own group ignores the * group entirely. Always include a Sitemap directive pointing to your sitemap.xml.
Can a bad robots.txt kill my SEO?
Yes. A "Disallow: /" under "User-agent: *", with no "Allow: /" or "Allow: /*" in the same group to cancel it, tells every search engine without its own group to stop crawling your entire site. This is the #1 cause of zero organic traffic after launch: staging environments often have this rule, and it can easily get deployed to production by accident. LintPage was built specifically to catch this kind of issue.
Should I have a robots.txt file even if I want everything indexed?
Yes. Even if you want all pages indexed, a robots.txt file should exist to reference your sitemap.xml and block paths that don't need crawling (like /api/ or /admin/). An empty or missing robots.txt is a missed opportunity to guide crawlers efficiently and can waste your site's crawl budget.
What is the difference between robots.txt and a noindex tag?
robots.txt controls crawling; a noindex meta tag controls indexing. The two are often used interchangeably and that is where the damage happens: they conflict. If you Disallow a URL in robots.txt, Google cannot fetch the page to see the noindex on it, so a blocked page can still appear in search results as a bare URL with no description. To remove a page from search, allow crawling and serve noindex. To keep crawlers out of a directory that was never meant to be indexed anyway, use robots.txt.
§ run the full audit

Stop guessing. Scan everything in one click.

60 automated checks across meta tags, robots.txt, Open Graph, sitemaps, headings, AI visibility, and more — free, no signup.

run a full scan →
§ other tools

Check another thing.

Single-purpose inspectors for when you need to verify one thing.