robots.txt checker

Enter your website to fetch and read its robots.txt the way search engines do. You'll see whether it blocks your homepage or the files your pages need, what Google, Bing and the AI crawlers may fetch, which lines no crawler can read, and whether its sitemap lines lead anywhere. Enter a page's full address to test that page instead of the homepage.

What it checks

What a good robots.txt looks like

For most small-business sites, this is all it needs:

User-agent: *
Disallow: /search
Allow: /

Sitemap: https://www.example.com/sitemap.xml

Keep it short, block only what genuinely shouldn't be crawled (internal search results, cart and account pages), and never block the folders that hold your CSS, JavaScript or images. Your site builder's SEO settings usually have a robots.txt box; on other hosts it's a plain text file in your site's top folder.

What this check can't see

Questions

Do I need a robots.txt at all?

No. A site with no robots.txt (one that answers 404) is crawled freely — that's the safest default there is. A robots.txt is worth having to name your sitemap and to keep crawlers out of things like internal search results, not because crawlers need permission.

Does Disallow keep a page out of Google?

Not reliably. Disallow stops crawling, not indexing: a blocked page that other sites link to can still appear in results, just without a description. To keep a page out of search, let it be crawled and add a noindex meta tag — a crawler that is blocked never sees the tag.

What happens if my robots.txt returns an error?

A 404 means "no rules", and everything may be crawled. A server error (5xx) is different: Google treats it as "crawl nothing for now", and if it keeps failing your whole site can drop out of the crawl. Fix a failing robots.txt before anything else.

Why does blocking CSS or JavaScript matter?

Google renders pages the way a browser does. If robots.txt blocks the stylesheets or scripts a page needs, Google sees a broken or unstyled version and judges the page — including whether it works on a phone — on that.

Is Crawl-delay worth setting?

Rarely. Google ignores it. Bing and a few others honour it, and a long delay slows how quickly they pick up new pages. If a crawler is overloading your server, your host or CDN has better tools.

Does a group for Googlebot add to the * rules?

No — it replaces them. A crawler follows the most specific group that names it and ignores the * group entirely, so rules you want everywhere must be repeated in each named group.

The background, in plain English: robots.txt for small businesses: what to allow, what to block