robots.txt Generator & Validator
NetworkGenerate and validate robots.txt files, and build or parse robots meta tags and X-Robots-Tag headers, in one place
About robots.txt Generator & Validator
Everything that tells crawlers what to do, on one page with four modes. Generate a robots.txt from User-agent groups, Allow and Disallow rules, an optional Crawl-delay and your Sitemap URLs; validate an existing robots.txt and get flagged on rules placed before any User-agent, unknown directives, relative Sitemap URLs, malformed Crawl-delay values and duplicate rules; and build or parse the page-level controls, the robots meta tag and the X-Robots-Tag response header, from directives like noindex, nofollow, nosnippet, max-snippet and unavailable_after. Keeping them together matters because they do different jobs: robots.txt controls crawling, while noindex controls indexing, and a page blocked in robots.txt can still be indexed because the crawler never sees its noindex. Everything runs in your browser.
How to use robots.txt Generator & Validator
- 1.Start in Generate robots.txt to build a file from crawler groups and rules, then copy it to the root of your site.
- 2.Switch to Validate to paste an existing robots.txt and see each User-agent group parsed out with any syntax problems flagged by line.
- 3.Use the Robots meta tag mode for per-page HTML control, or the X-Robots-Tag mode for files that have no HTML head, such as PDFs and images.
- 4.Scope any meta tag or header to a single crawler (for example googlebot) when you only want to change how one search engine treats a page.