Free Tool · No Sign-up Required

Robots.txt
Checker

Instantly fetch and analyze any website's robots.txt file. Spot crawling issues, blocked resources, and missing directives that could be hurting your SEO.

Syntax highlighting Issue detection & fixes Parsed rule breakdown
# robots.txt
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /private/
Sitemap: /sitemap.xml
Checks https://domain.com/robots.txt · No login required · 10 checks/hour limit

Fetching robots.txt…

Connecting to the server and analyzing directives
—
Score
Issues Found 0
What's Good
Declared Sitemaps
Raw robots.txt Content

      
Parsed Directives

What Is robots.txt?

A robots.txt file tells search engine crawlers which pages or sections of your site they can or cannot access.

Crawl Control

Directs bots like Googlebot on which URLs to crawl. Use Disallow to block admin areas, staging pages, or duplicate content from being indexed.

Sitemap Declaration

Declaring your sitemap URL in robots.txt helps all search engines find and process it automatically, speeding up indexation of new pages.

Common Mistakes

Blocking CSS/JS files, setting Disallow: / accidentally, or missing the wildcard (*) user-agent rule are the most common robots.txt SEO errors.

Understanding Your robots.txt File

Your robots.txt file sits at the root of your domain and quietly shapes how search engines crawl your site. It is the first file Googlebot and other crawlers look for, and a single wrong line can hide your best pages from search — or, just as easily, leave the door open to pages you meant to keep out of the index. Because it is plain text with a deceptively simple syntax, small mistakes slip through easily, which is exactly why it is worth checking.

This tool fetches the live file from any domain, reads every directive the way a real crawler would, and points out the issues that actually affect how your site is crawled and indexed. Instead of squinting at raw text, you get a clear picture of what you are allowing, what you are blocking, and whether your sitemap is properly declared.

How to Check a robots.txt File

1. Enter a domain

Paste any website URL or domain. The tool automatically finds and fetches the robots.txt file from the site’s root.

2. We parse every line

Each user-agent block, Allow, Disallow and Sitemap directive is read and interpreted exactly as a crawler would.

3. See the issues

You get a plain-language report of what is blocked, what is allowed, and any rules that could quietly hurt your SEO.

4. Fix with confidence

Use the findings to correct a stray Disallow, add your sitemap, or open up resources you blocked by accident.

Why robots.txt Matters for SEO

Controls crawl budget

On large sites, crawlers only spend so much time per visit. Blocking low-value URLs such as filters, internal search and admin paths keeps that budget focused on the pages you actually want ranked.

Keeps private areas out of search

Staging environments, internal tools and thank-you pages usually should not appear in Google. A correct Disallow rule helps keep them out of the way.

Helps engines find your sitemap

Declaring your sitemap in robots.txt gives every crawler a direct map of your important URLs, which can speed up how quickly new content gets discovered.

Prevents costly accidents

A misplaced “Disallow: /” can wipe an entire site out of search results. A quick check catches that kind of mistake before it costs you traffic.

Common robots.txt Mistakes to Avoid

Blocking CSS and JavaScript

Google needs to render your pages to understand them. Disallowing your CSS or JS folders can hurt how your pages are judged for layout and mobile-friendliness.

Using robots.txt to hide sensitive data

Disallow stops crawling, not access. Anyone can still open the file and read the paths you listed, so never rely on it for anything that needs to stay private.

Forgetting the sitemap line

Leaving out the Sitemap directive means you are hoping crawlers stumble onto your sitemap. Declaring it is a free, easy win.

An accidental site-wide block

A leftover “Disallow: /” from a staging build is one of the most damaging errors there is — it tells crawlers to skip everything.

Assuming every bot obeys the rules

Reputable search engines respect robots.txt, but many scrapers ignore it entirely. Treat it as guidance for good crawlers, never as security.

Frequently Asked Questions

It has to sit in the root of your domain, for example https://example.com/robots.txt. Crawlers only look there, so a file placed in a subfolder will not be read.

Not always. Disallow prevents crawling, but a blocked URL can still be indexed if other sites link to it. To reliably keep a page out of search, use a noindex meta tag or password protection instead.

No. With no file, crawlers assume they can access everything, which is fine for most small sites. You only need one when you want to guide or restrict crawling.

It tells crawlers not to visit any URL on the site. It is sometimes used on staging sites, but on a live site it will remove your pages from search, so it is always worth double-checking for.

Yes. You can create separate user-agent blocks — for example one for Googlebot and a wildcard (*) block for everything else. Each crawler follows the most specific block that matches it.

Any time you change your site structure, migrate, or launch from a staging environment. It is a quick check that can save you from a large, avoidable drop in traffic.