robots.txt Generator & Analyzer
Generate robots.txt files to control search engine crawlers, or analyze and validate existing ones with syntax checking and URL path testing.
Quick Templates
Custom Configuration
Generated robots.txt
Robots.txt Content
Parsed Directives
Rules by User-Agent
Issues & Recommendations
URL Path Tester
Test whether a specific URL path would be allowed or blocked for a given crawler.
Sitemaps Found
About robots.txt
The robots.txt file tells search engine crawlers which pages or sections of your site they can access. It's placed in the root directory of your website (e.g., https://example.com/robots.txt). This tool parses robots.txt content line by line and validates the syntax against the RFC 9309 Robots Exclusion Protocol standard.
Common Directives
- User-agent: Specifies which crawler the rules apply to
- Disallow: URLs that should not be crawled
- Allow: Exceptions to disallow rules
- Sitemap: Location of XML sitemaps
- Crawl-delay: Time between requests (seconds)
Best Practices
- Place robots.txt in your site's root directory
- Always include a wildcard (*) user-agent group
- Include sitemap references for better crawl coverage
- Don't use robots.txt for security (use proper auth)
- Keep the file under 500 KB (Google's limit)
- Test rules before deploying to production
What Gets Checked
- Syntax validation — Each line is checked for valid directive format
- Directive ordering — User-agent must precede Allow/Disallow rules
- Wildcard patterns — Validates * and $ pattern usage
- Sitemap URLs — Checks for valid absolute URLs
- Common mistakes — Detects typos, duplicate rules, conflicting directives
URL Path Testing
- Pattern matching — Follows standard path-matching rules
- Wildcard support — Handles * (any sequence) and $ (end anchor)
- Specificity — Longer matching rules take precedence
- Agent resolution — Tests against specific or wildcard user-agent
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Cooking
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-