robots.txt tester
Paste your robots.txt and the URLs or paths you want to test. Matching follows Google's rules: the most specific (longest) rule wins, Allow wins ties, and * and $ wildcards are supported.
Testing a whole site? Our Sitemap URL Validator checks every URL in your sitemap and flags pages that are blocked, noindexed, redirected or broken.
Common robots.txt mistakes
Disallow: /left over from a staging site blocks everything.- Blocking CSS/JS files stops Google from rendering pages properly.
- robots.txt does not remove pages from Google: use
noindexfor that, and don't block the page or Google can't see the noindex. - Rules are case-sensitive for paths.