Robots.txt Tester & Validator
Test, validate, and debug your robots.txt file. Check which URLs are allowed or blocked for different search engine bots.
https://www.google.com/robots.txt
https://www.facebook.com/robots.txt
https://www.amazon.com/robots.txt
https://twitter.com/robots.txt
Click any sample to see how major websites configure their robots.txt
Enter your website domain (e.g., https://example.com) - we'll automatically check for robots.txt
Use this if your robots.txt is at a custom location
Perfect for testing changes before uploading or for local development
How to Use This Robots.txt Tester
Enter your domain (e.g., https://yourdomain.com) and click "Fetch robots.txt" - we'll automatically check for your robots.txt file.
Copy and paste your robots.txt content directly to test changes before deploying to production.
After parsing, enter any URL to see if it's allowed or blocked by your robots.txt rules.
Select different user agents (Googlebot, Bingbot, etc.) to see how each bot interprets your rules.
Understanding Your Test Results
The URL can be crawled by the selected bot. No matching Disallow rule was found, or an Allow rule overrides a Disallow.
The URL cannot be crawled. A matching Disallow rule prevents the bot from accessing this URL.
No robots.txt file exists. Search engines will crawl all pages by default. This is normal for many websites.
Robots.txt Syntax Quick Reference
User-agent: *
Applies to all bots
User-agent: Googlebot
Applies only to Google
Disallow: /admin/
Blocks entire /admin/ folder
Disallow: /*?*
Blocks all URLs with parameters
Allow: /admin/public/
Allows subdirectory within blocked folder
Sitemap: https://example.com/sitemap.xml
Specifies sitemap location
Common Robots.txt Issues to Watch For
This blocks ALL search engines from your entire site. Your pages will disappear from Google search results.
No file = no restrictions. All pages can be crawled. This is fine for most sites but you miss crawl budget optimization.
Blocking CSS or JavaScript prevents Google from rendering your pages correctly, harming mobile SEO.
Without a sitemap directive, search engines may miss important pages not linked internally.
You Might Also Like
Frequently Asked Questions
Disallow: /*?* matches any URL containing a question mark (parameter URLs).