Skip to content
Crawling and indexing · free, no sign-up

Robots.txt Checker

Reads the robots.txt of a site, counts its rules, and checks that it points to your sitemap.

Why it matters

robots.txt is the first file a crawler asks for. It tells crawlers what to skip and where the sitemap is. A single wrong line here can hide a whole site from search engines.

How to fix it

  • Create a plain-text file at /robots.txt.
  • Add a line such as "Sitemap: https://yoursite.com/sitemap.xml".
  • Block only what you really need to. Do not block the CSS and JavaScript your pages need.

What a good result looks like

A plain-text file at /robots.txt with valid rules, a Sitemap line, and nothing blocking the pages or the CSS and scripts you need crawled.

Common mistakes

  • Leaving "Disallow: /" in place after moving from a staging site.
  • Using robots.txt to hide a page from results. Blocking crawling doesn't remove it, so use noindex for that.
  • Blocking the CSS or script folders that Google needs to see the page properly.

Questions about the Robots.txt Checker

Does every site need a robots.txt?

No. Without one, crawlers can visit everything. It is still useful for pointing to your sitemap and keeping crawlers out of areas such as internal search results.

Does it keep private pages secret?

No. It is public, and it only asks crawlers to stay away. Protect private content with a login.

Check everything at once

Run our other instant checks on your site in one report.

Full SEO check-up

More crawling and indexing tools