Free AEO audit

Free robots.txt Validator

Check robots.txt syntax and see which rules apply to each AI bot.

By AEO Lists Editorial TeamUpdated November 29, 2026Free, no sign-up
Short answer

The robots.txt Validator loads your robots.txt file, checks the syntax, and lists every user-agent group with its Allow and Disallow rules. It flags common errors such as rules before a User-agent line, missing sitemap lines and conflicting rules.

Key takeaways

  • Check robots.txt syntax and see which rules apply to each AI bot.
  • Pages are fetched through a relay and analyzed in your browser. We do not store them.
  • Free to use with no sign-up and no API key.
  • Watch out: Putting Disallow lines before any User-agent line.

What does the robots.txt Validator do?

Use it after editing robots.txt, when a crawler behaves unexpectedly, or when you inherit a site. You can fetch a live file or paste the text to test a draft before you upload it.

How do you use the robots.txt Validator?

  1. Enter a domain, or paste the file contents.
  2. Run the validator.
  3. Fix any errors shown in red.
  4. Test a specific path and bot to confirm the result.

How do you read the results?

Errors mean a line is malformed or sits outside a group, so crawlers may ignore it. Warnings point to risky but valid choices, such as blocking everything with Disallow: /.

When rules conflict, the most specific matching path wins under the Robots Exclusion Protocol. If two rules are equally specific, Allow wins.

What mistakes should you avoid?

  • Putting Disallow lines before any User-agent line.
  • Blocking CSS or JavaScript that pages need to render.
  • Using robots.txt to hide private pages. It is public and does not secure anything.

Frequently asked questions

Where must robots.txt be located?

It must sit at the root of the host, such as https://www.example.com/robots.txt. Each subdomain needs its own file.

Does robots.txt remove pages from search?

No. It controls crawling, not indexing. A blocked URL can still appear if other pages link to it. Use noindex or authentication to keep pages out.

Are rules case sensitive?

Paths are case sensitive, while directive names and user-agent names are not.

Sources

Find out how AI search sees your site

Run the free AEO page audit. It takes seconds and needs no sign-up.

Run the free audit