Robots.txt Tester
Test whether any URL is allowed or blocked by your robots.txt rules. Paste your robots.txt content, specify a user agent, and check multiple URLs at once. Highlights the matching rule.
What is robots.txt?
The robots.txt file is a text file placed at the root of a website (/robots.txt) that tells search engine crawlers which pages or sections of a site to crawl or avoid. It uses the Robots Exclusion Protocol — a set of rules defined by User-agent (which bot the rule applies to) and Disallow/Allow directives (which paths to block or permit). It is not a security measure — it is a crawling guideline that well-behaved bots follow voluntarily.
Frequently Asked Questions
noindex meta tag or X-Robots-Tag HTTP header instead.Disallow: / blocks the entire site for that user agent. An empty Disallow: (or omitting it entirely) allows full access — it explicitly permits crawling everything. Do not confuse the two.Disallow: /private/ and Allow: /private/public/ — the Allow wins for /private/public/ because it is more specific.