Skip to content
Devtoolry

Robots.txt Checker

Validate a live or pasted robots.txt the way Google reads it: syntax errors, blocked pages and resources, sitemaps, 21 search and AI crawlers, and a URL tester.

Something not working, or missing a feature? Send feedback

About the Robots.txt Checker

The Robots.txt Checker validates a robots.txt file the way Google reads it. In Live site mode it fetches the file from any site and checks the HTTP status (a server error stops Google crawling the whole site), redirects, file type and the 500 KiB limit. In Paste mode it tests a draft in your browser before you upload it. Both modes find syntax mistakes, full URLs in rules, a site-wide block, blocked CSS and JavaScript, and missing sitemap lines. A table shows which of 21 search and AI crawlers may fetch the home page and which rule decides, and a robots.txt tester checks any list of URLs against the file. For a live site, Check indexability also fetches those pages and adds the status code, noindex (meta tag or X-Robots-Tag) and canonical, so you see whether each one can actually be indexed.

Our server requests the URLs you enter, like a crawler: it reads the response without running the page's scripts, and the analysis runs in your browser. The URLs and results are not stored, unless you are signed in and choose Monitor this page: then that page address is kept with your account until you remove it. Paste mode runs entirely in your browser.

How to use the Robots.txt Checker

  1. Pick Live site and enter any page of the site, or pick Paste robots.txt and paste (or drop) the file.
  2. Fix the errors first: a 5xx status, an HTML page served as robots.txt or "Disallow: /" for everyone.
  3. Check the crawler table: every search engine you want should say Allowed.
  4. Paste URLs or paths into the tester and pick a crawler to see which line allows or blocks each one; choose Check indexability to add status, noindex and canonical.

What a Disallow rule matches

RuleBlocksDoes not block
Disallow: /Every URL on the hostNothing (the whole site is blocked)
Disallow: (empty)NothingEvery URL: an empty value allows everything
Disallow: /admin/admin, /admin/, /admin.html, /administrator/Admin (paths are case-sensitive), /blog/admin
Disallow: /admin//admin/, /admin/users/admin (no trailing slash)
Disallow: /*.pdf$/files/a.pdf/a.pdf?download=1, /a.PDF
Disallow: /*?/shop?sort=price (any URL with a query string)/shop
Disallow: /$/ (the home page only)/index.html and every other page

A rule matches from the start of the path; * matches any characters and $ ends the match. When an Allow and a Disallow both match, the longer (more specific) rule wins, and Allow wins a tie. Rows checked with this tool's matcher on 2026-11-09.

Sources: How Google interprets the robots.txt specification

How Google treats the robots.txt response

ResponseWhat Google does
2xxReads the file and obeys the rules
3xxFollows up to 5 redirects; after that, acts as if there were no robots.txt
4xx except 429 (404, 410, 401, 403)Acts as if there were no robots.txt: crawls everything
429 or 5xxTreats the whole site as disallowed and stops crawling; after 30 days uses the last cached copy, or crawls without rules
Over 500 KiBReads the first 500 KiB and ignores the rest

Checked against Google Search Central on 2026-11-08. Bing and other crawlers handle some cases differently.

Sources: How Google interprets the robots.txt specification

Works well with the Robots.txt Checker

Frequently asked questions

Can I get an alert when robots.txt changes?

Yes. Sign in (free) and choose Monitor this page under a live result. We re-check robots.txt, the status code, noindex and the canonical of that page on a schedule (weekly on the free plan, daily on Pro) and email you when one changes, for example when a deploy adds "Disallow: /" or a noindex tag.

Google removed the robots.txt Tester. What replaces it?

Google retired the Search Console robots.txt Tester in late 2023. Its replacement, the robots.txt report (Settings, then robots.txt), shows the file Google last fetched and any parse errors, but it cannot test URLs or a file that is not live yet. Google points to third-party testers for that: use Paste robots.txt mode here to test a draft, then the URL tester to check single pages.

Does robots.txt keep a page out of Google?

No. It stops crawling, not indexing: a blocked URL can still appear in results (without a description) when other pages link to it. To keep a page out, allow crawling and add a noindex robots meta tag or X-Robots-Tag header.

How do I see the robots.txt of any website?

Open the site's root followed by /robots.txt, for example https://example.com/robots.txt. The file is always at the root of the host, and each subdomain has its own. Live site mode here fetches it for you and shows it with problem lines highlighted.

Where do I edit robots.txt in WordPress, Wix or Shopify?

WordPress serves a virtual file: edit it in your SEO plugin (Yoast and Rank Math both have a robots.txt editor) or upload a real robots.txt to the site root, which replaces the virtual one. Wix: SEO in the site dashboard, then Robots.txt Editor under Tools and settings. Shopify: Online Store, Themes, Edit code, then add the robots template (robots.txt.liquid).

Why does a missing robots.txt pass?

A 404 or 410 means "no rules", so crawlers fetch everything. That is fine for most small sites. A 5xx or 429 is different: Google treats it as "everything is blocked" and stops crawling until the file answers normally again.

Which group does a crawler follow?

Only one: the group whose User-agent matches the crawler most specifically. If there is a "User-agent: Googlebot" group, Googlebot ignores the "*" group entirely, so rules you want for everyone must be repeated there.

Is the checker the same as the generator's tester?

The Robots.txt Generator tests the file you are building with its form. This checker validates any file, live or pasted, including what the server returns (status, redirects, content type), which is what crawlers actually read.

Guides and tutorials