Robots.txt Syntax Checker
Validate pasted robots.txt directives, User-agent blocks, Allow/Disallow rules, and Sitemap URLs.
Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.
Interactive Browser Workspace
Loading the interactive Robots.txt Syntax Checker workspace. Enable JavaScript in your browser to run calculations and conversions locally.
How to Use Robots.txt Syntax Checker
- Paste the contents of your `robots.txt` file into the editor.
- Review line-by-line errors, warnings, parsed user-agents, and sitemap declarations.
Methodology & Accuracy
Parses lines according to RFC 9309 Robots Exclusion Protocol rules in browser memory.
Examples
- Verify `User-agent: *`, `Allow: /`, and `Sitemap: https://example.com/sitemap.xml`.
Scope & Limitations
- Validates the text you paste locally; it does not crawl live remote servers or simulate Googlebot fetch status codes.
Frequently Asked Questions
Must Sitemap URLs in robots.txt be absolute?
Yes. Sitemap directives must start with `https://` or `http://`.
Related Tools
- Sitemap XML Validator - Validate pasted XML sitemap syntax, <urlset>/<sitemapindex> structure, <loc> URLs, and <lastmod> dates.
- SERP Snippet Preview (Title & Description) - Preview desktop and mobile Google-style search snippets with meta title and meta description character counts and pixel-width budgets.