DNS RobotDNS Propagation Checker
HomeDNS LookupWHOIS LookupIP LookupSSL Check
DNS RobotDNS Propagation Checker

Next-generation DNS propagation toolkit

Privacy PolicyTerms of ServiceAbout UsBlogContact

DNS Tools

DNS LookupDNS Speed TestDomain to IPNS LookupMX LookupView all

Email Tools

Email CheckerSPF Record CheckerDMARC CheckerDKIM CheckerSMTP Test ToolView all

Website Tools

Website Down CheckerWHOIS LookupHosting CheckerDomain AvailabilitySubdomain FinderView all

Network Tools

Ping ToolTraceroutePort CheckerHTTP Headers CheckSSL Certificate CheckView all

IP Tools

IP LookupWhat Is My IPIPv6 TestWebRTC Leak TestDNS Leak TestView all

Utility Tools

QR Code ScannerQR Code GeneratorUPI QR Code GeneratorWiFi QR Code GeneratorMorse Code TranslatorView all
© 2026 DNS Robot. Developed by ❤ Shaik Brothers
All systems operational
Made with
  1. Home
  2. /
  3. SEO Tools
  4. /
  5. Robots.txt Checker

Robots.txt Checker & Tester

Fetch any website's robots.txt, test whether a URL is allowed or blocked for Googlebot, Bingbot and AI crawlers like GPTBot, and find syntax errors line by line. Paste a draft to test robots.txt changes before you publish them.

URL TesterGooglebot & AI BotsErrors by LineFree, No Signup

We fetch robots.txt from our server with the user agent DNSRobot-SEOChecker and don't store the result. Testing URLs runs in your browser.

Advertisement

What Does a Robots.txt Checker Do?

Robots.txt is the plain-text file at the root of a website (https://example.com/robots.txt) that tells crawlers which URLs they may fetch. One wrong line can hide an entire site from Google, or let AI crawlers read pages you meant to keep out.

This checker downloads the file the way a crawler does, reads every rule with Google's matching logic, and tells you for any URL and any bot whether it's allowed or blocked, and which line decided it. Google retired its own robots.txt Tester from Search Console in December 2023, so this is a quick way to test rules before and after you change them.

Robots.txt checker result showing a URL tested against Googlebot with the matching Disallow rule and line number
Test any path against any crawler: the result names the rule and the line that decided it.

How to Test Your Robots.txt

1
Enter a website

Type a domain such as example.com, or a full page URL to test that page right away. The checker fetches /robots.txt from the site's root and follows redirects.

2
Read the status

A 200 response means the rules apply. A 404 means crawlers may fetch everything. A server error makes Google stop crawling the site until the file loads again.

3
Test a URL

Enter a path like /blog/post?id=1 and pick a crawler. You'll see allowed or blocked, plus the exact rule and line number that matched.

4
Fix and re-test

Switch to Paste robots.txt to edit a draft and see the result instantly, then publish it and check the live file again.

Advertisement

How Crawlers Read Robots.txt

Google, Bing and most well-behaved crawlers follow RFC 9309, the robots exclusion standard. These four rules decide almost every result:

User-agentOne group per crawler

A crawler obeys only the group with the most specific User-agent that matches its name. If Googlebot has its own group, it ignores the User-agent: * group completely.

PrecedenceLongest match wins

When several rules match a URL, the one with the longest path wins. Allow: /shop/sale/ beats Disallow: /shop/ for pages under /shop/sale/.

GoogleAllow wins a tie

If an Allow and a Disallow rule are equally long, Google picks the less restrictive one, Allow.

PatternsWildcards * and $

* matches any characters and $ marks the end of the URL. Disallow: /*.pdf$ blocks every PDF but not /file.pdf?download=1.

What the HTTP Status of Robots.txt Means

Crawlers react to the response code before they read a single rule. This is how Google handles each case:

Rules apply200 OK

The file is read and its rules are followed. Google reads the first 500 KiB and ignores anything after that.

Followed3xx redirect

Google follows at least five redirects. If it still hasn't reached a robots.txt, it treats the file as missing.

Crawl all4xx (404, 403, 410)

Treated as if there were no robots.txt: every URL may be crawled. 429 Too Many Requests is the exception.

Crawl none5xx, 429 or unreachable

Google treats the whole site as blocked while the error lasts. After 30 days it falls back to the last cached copy, or assumes no restrictions if it has none.

Advertisement

Blocking AI Crawlers With Robots.txt

AI companies use separate crawler names for model training, AI search and on-demand fetches, so you can block one without the others. Blocking Google-Extended stops your content being used for Gemini but doesn't affect Google Search; blocking Googlebot would.

The checker's AI crawlers table shows at a glance which of 13 AI bots your robots.txt lets in. To block the main training crawlers, add:

Block AI training crawlers
User-agent: GPTBot User-agent: ClaudeBot User-agent: Google-Extended User-agent: CCBot User-agent: Applebot-Extended Disallow: /

Common Robots.txt Mistakes

  • A leftover `Disallow: /` from a staging site blocks everything. It's the most common reason a new site never appears in Google.

  • Using robots.txt to hide pages. A blocked URL can still be indexed from links, just without a description. To keep a page out of search, let it be crawled and add a noindex meta tag or X-Robots-Tag header.

  • `Noindex:` lines in robots.txt. Google stopped supporting them in September 2019; they're ignored.

  • Blocking CSS and JavaScript. Google renders pages like a browser; blocked files can make your pages look broken to it.

  • Wrong letter case. Directive names aren't case-sensitive, but paths are: Disallow: /Admin/ doesn't block /admin/.

  • One file for every subdomain. Robots.txt applies only to its own host and protocol. blog.example.com needs its own file.

  • Crawl-delay for Google. Googlebot ignores it. Bing honours it.

Advertisement

Robots.txt Examples

Copy the pattern you need, then paste your full file into the checker to test it:

Allow everything
User-agent: * Disallow:
Block one folder, except a subfolder
User-agent: * Disallow: /admin/ Allow: /admin/public/
Block URLs with parameters and PDFs
User-agent: * Disallow: /*? Disallow: /*.pdf$
Point crawlers to your sitemap
Sitemap: https://example.com/sitemap.xml

More SEO and Crawling Tools

Build and check the rest of your crawl setup:

Robots.txt Generator

Build a robots.txt with presets and AI bot blocking.

Sitemap Generator

Create an XML sitemap for your website.

HTTP Headers Checker

See X-Robots-Tag and other response headers.

Redirect Checker

Follow every hop of a redirect chain.

Robots.txt Checker FAQ

Enter your domain above. The checker fetches /robots.txt, shows its HTTP status and content, lists any errors, and lets you test whether specific URLs are allowed for Googlebot, Bingbot or AI crawlers.

Advertisement