Free SEO tools

Free robots.txt Validator & Generator

Find every line of a robots.txt that a crawler would trip on — then generate a correct one, with or without AI crawlers.

  • free
  • no account
  • a few seconds

robots.txt generator

Pick a policy, add the paths to keep crawlers out of, and copy the file. Then run the validator above on your live site.

AI crawlers



What the validator reports

To see what the file decides for one URL and each AI crawler, with the deciding line, use the AI crawler access test.

Questions

What does the robots.txt validator check?

That /robots.txt answers 200 as plain text (not an HTML page), its size against Google's 500 KiB limit, and every line a crawler would trip on: rules before any User-agent, misspelled or unsupported directives, full URLs where a path belongs, a Sitemap given as a path, and a * group or Googlebot blocked from the whole site. Each finding names its line.

Does Google support noindex in robots.txt?

No — Google stopped honouring noindex, nofollow and crawl-delay rules in robots.txt in September 2019. Use a meta robots tag or an X-Robots-Tag header to keep a page out of the index.

Why does blocking a page in robots.txt not remove it from Google?

robots.txt controls crawling, not indexing. A blocked URL can still be indexed from links pointing at it, shown without a description. To remove a page, let Google crawl it and serve noindex.

How are Allow and Disallow decided when both match?

The longest matching rule wins, and on a tie Allow wins (RFC 9309, and how Google reads it). A crawler with a group of its own ignores the * group entirely; several groups naming the same crawler are merged.

Which AI crawlers does the generator block?

"Block AI training" blocks the 11 training crawlers (GPTBot, ClaudeBot, anthropic-ai, CCBot, Google-Extended, Applebot-Extended, Bytespider, meta-externalagent, MistralAI-Training, DeepSeekBot, QwenBot) and leaves the search and answer agents that cite your pages alone. "Block all AI crawlers" blocks all 31 tokens we track.

More free SEO tools