Google robots.txt tester replacement: what to use now

Google retired its robots.txt tester in November 2023. What replaced each job it did, how to test draft rules today, and what still needs a monitor.

Google announced the retirement of the Search Console robots.txt tester on 15 November 2023 and split its work between Search Console and Google’s open-source parser. The robots.txt report now shows the file Google fetched and its status, URL Inspection answers whether a single URL is blocked, and draft-rule testing moved to third-party testers or the google/robotstxt library. Search Console only sees a change to the live file after Google fetches it.

The tester Google retired

For years the tool’s own help page described it plainly: “The robots.txt Tester tool shows you whether your robots.txt file blocks Google web crawlers from specific URLs on your site.” That page also listed three limits worth remembering. It worked only with URL-prefix properties and not Domain properties. It simulated Google’s crawlers and nothing else: “We cannot predict how other web crawlers interpret your robots.txt file.” And edits stayed in the editor: “Changes you make in the tool editor are not automatically saved to your web server.”

Google had improved the tool in July 2014, when it began highlighting the rule that decided each result. Nine years later the retirement came with the report. The announcement on X read: “We’re also making relevant info available from the Page indexing report. As part of this update, we’re sunsetting the robots.txt tester.” Search Engine Roundtable covered it the next day with the same wording.

What replaced each job

Use the table as a map. Each row is a task the old tester handled and the place that handles it now.

Old Tester job Where it lives now Limits
See the file Google fetched and its HTTP status Search Console robots.txt report Domain-level properties only; top 20 hosts
Check whether one specific URL is blocked URL Inspection, Crawl allowed? field One URL per check
Test a draft rule before deploy Third-party tester on Google’s parser, or google/robotstxt Not in Search Console
Find out when the file changed Version history in the report, or an external monitor 30 days, and only Google-fetched changes

The split matters because two of these jobs are observational and two are not. The report and URL Inspection tell you what Google already knows. Draft testing and change detection are jobs you run before or between Google’s fetches.

Reading the file Google fetched

The robots.txt report sits in Search Console settings. It “shows which robots.txt files Google found for the top 20 hosts on your site, the last time they were crawled, and any warnings or errors encountered.” For a Domain property, Search Console chooses the top 20 hosts by crawl rate, with up to two origins each, so the table can show up to 40 rows. The report is available only for properties at the domain level, which is the reverse of the old tester’s URL-prefix restriction.

Columns are File path, Fetch status, Checked on, Size and Issues. Errors and warnings differ in consequence: “Errors prevent a rule from being used. Warnings do not prevent a rule from being used.” A file that returns 404 for 30 days drops out of the report while Google keeps checking it in the background. Lines with parse issues are not fatal either: “Google ignores the lines with issues and uses those that it can parse.”

Two operational notes save wasted effort. You can request a recrawl for emergencies, but “You generally don’t need to request a recrawl of a robots.txt file, because Google recrawls your robots.txt files often.” Google’s crawlers update the cached version every 24 hours. A recrawl request “doesn’t guarantee an immediate recrawl of unblocked URLs”, so do not treat it as a way to rush a page back into the index.

The report is historical, not predictive. Version history covers 30 days, and “A request is included in the history only if the retrieved file or fetch result is different from the previous file fetch request.” It also only covers files already live: “You can only use this report for robots.txt files that are already accessible on your site.”

What a fetch status actually means

The Fetch status column is a summary. The underlying rules explain what Google does next. Google fetches robots.txt with a plain GET, so a 2xx response means the file is used as served. A redirect chain is followed for at least five hops, then treated as a 404. A 4xx other than 429 means Google behaves as if no robots.txt exists, which can open a site rather than close it. A 5xx stops crawling for 12 hours, after which Google uses the last good copy for up to 30 days. If errors last more than 30 days and the site is otherwise reachable, Google behaves as if there is no file. If the site has wider availability problems, Google stops crawling. DNS and network failures count as server errors.

The file itself has limits that shape what you will see. It must be UTF-8 plain text, and Google enforces a 500 KiB size limit, ignoring anything after it.

Checking whether one URL is blocked

URL Inspection is the direct replacement for the old per-URL check. Its Crawl allowed? field “Indicates whether your site allowed Google to crawl the page or blocked it with a robots.txt rule.” A live test of a blocked URL shows the Page fetch field as a failure, and a test can also fail with Robots.txt unreachable, because Google won’t crawl a site whose robots.txt is present but unreachable.

The confusing part is the neighbouring field. For a robots-blocked page, Indexing allowed? always reads Yes: “If your page is blocked by robots.txt (see Crawl allowed?), then Indexing allowed? will always be “Yes” because Google can’t see and respect any noindex directives.” A disallowed URL can still be indexed without a snippet, so a Yes here does not mean the page is fine. See Blocked by robots.txt for the blocked case and Indexed, though blocked by robots.txt for the stranger one.

Google’s own help has not fully caught up. The URL Inspection page still says “use the robots.txt tester to find the rule that is blocking Google, and remove the blocking rule”, and that link now opens the report. The Page indexing help links robots.txt tester to the old testing-tool URL, which today redirects to a Search Console sign-in page. Read those instructions as historical.

Testing a draft rule before it goes live

This is the job Search Console does not do. Google’s help is explicit: “If you want to test a specific robots.txt rule against a file that isn’t on the web yet, or test a new rule, you can use a third-party robots.txt tester.” Google’s guide offers exactly two routes, the report and the open-source library, and the report only covers live files.

For day-to-day work, our robots.txt tester tests up to 100 URLs against a live robots.txt or a draft you paste, for 11 crawlers including Googlebot, Bingbot and the main AI bots, shows the rule and line that decided each verdict, and diffs a proposed file against the live one so only the verdicts that flip are listed. Tame the Bots runs a robots.txt checker built on Google’s library, with a live or custom file and a list of URLs. Real Robots.txt, at realrobotstxt.com, is based on Google’s open-source parser.

Two habits make draft testing trustworthy. Test the exact user-agent you care about, and test a URL you know should be allowed as a control. A rule that blocks everything looks identical to a rule that works if you only test a page you expected to block.

For parse errors rather than matching errors, start with a validator. Google’s advice is one line: “To fix parsing issues, use a robots.txt validator.” The full procedure is in the robots.txt validation guide.

Testing locally with google/robotstxt

The library Google points to is google/robotstxt, a C++ parser and matcher, compliant to C++14 according to its README. It is not a reimplementation: it is “production code used by Googlebot, Google’s crawler, to determine which URLs it may access based on rules provided by webmasters in robots.txt files.” Parsing follows production exactly, “including how percent codes and unicode characters in patterns are handled.” Google open-sourced it on 1 July 2019.

The repository includes a small program for testing one URL and user-agent, where exit code 0 means allowed and 1 means disallowed. Build it with Bazel, the official build system, or CMake, which the project lists as community-supported, then run that binary against your file. The README carries the current commands and they change faster than articles do.

Two limits are documented and easy to forget. The library does not copy crawler-specific fallback logic: it does “not handle implementation logic that a crawler might apply outside of parsing and matching, for example: Googlebot-Image respecting the rules specified for User-agent: Googlebot”. And it expects a normalised URI, because “this library will not perform full normalization of those URI parameters”. Your test can disagree with Googlebot if your input URL is not already clean.

Catching a change before it costs you traffic

Search Console records changes after Google fetches them. That is not the same as telling you when a deploy or a plugin update rewrites the file. For a client site, the useful signal is a new block on a URL that was previously allowed, delivered while you can still reverse it.

stillindexed reads robots.txt every hour, and a new block on a monitored URL is confirmed with a second read about five minutes later before you are alerted. URLs are re-checked every 30 minutes on Starter and every 15 minutes on Agency, and alerts reach email and Telegram. The 30-day trial covers 3 sites with no card required.

If you prefer to handle it in-house, the minimum is a scheduled fetch of each client’s robots.txt, a stored copy, and a diff that maps changed rules to monitored URLs. The failure modes worth alerting on are covered in robots.txt changes that silently deindex sections. For the product view, see robots.txt monitoring.

Sources

Questions

What replaced the Google robots.txt tester?
Search Console's robots.txt report replaced the tester's job of showing the file Google fetched and its status. Rule testing did not move into Search Console. Google's help now sends draft-rule testing to third-party robots.txt testers or to the open-source google/robotstxt library that Googlebot uses in production.
Can the Search Console robots.txt report test a draft file?
No. The report only covers robots.txt files already accessible on your site, and it is available only for properties at the domain level. To test a rule against a file that is not live yet, Google's documentation points to a third-party tester or the open-source library. Pasting a draft into the report is not an option.
How do I know if a robots.txt rule blocks one URL?
Use URL Inspection in Search Console. The Crawl allowed? field states whether the page was blocked by a robots.txt rule, and the link in the help still says robots.txt tester even though it now opens the report. A live test of a blocked URL shows Page fetch as a failure.
Does Search Console show when robots.txt changed?
The robots.txt report keeps a version history for 30 days, but a request appears there only when the retrieved file or fetch result differs from the previous one. That covers changes Google fetched, not changes you would want flagged within minutes. Alerting on a new block is a monitoring job, not a Search Console feature.
Can I run Google's robots.txt parser myself?
Yes. Google open-sourced its robots.txt parser and matcher as the google/robotstxt C++ library in July 2019, and its README describes it as production code used by Googlebot. The repository includes a small binary that tests one URL and user-agent against a file, returning 0 for allowed and 1 for disallowed.