Free robots.txt Tester, Checker & Validator

A free robots.txt tester, checker and validator: fetch any site's robots.txt or paste your own, edit the rules, and test as many URLs as you like for Googlebot, Bingbot or AI crawlers such as GPTBot and ClaudeBot. It does what the robots.txt Tester Google removed from Search Console did, including trying a change before you publish it.

Start your 7-day trial — no credit card, free plan after.

Test a robots.txt file

Enter a site to fetch its robots.txt, or paste your own rules. You can then edit the rules and test as many URLs as you like, for any crawler.

Free check. No signup. Results are not published or indexed.

How NorthDuty SEO health monitoring works

Enter a site to fetch its robots.txt, or paste your own rules. You can then edit the rules and test as many URLs as you like, for any crawler. Recurring checks are configured inside the NorthDuty app.

What this robots.txt checker reports

One check reads the robots.txt and tells you exactly how each crawler will treat your URLs.

Live fetch or paste

Fetch any site's live robots.txt, or paste a draft to test it before you publish.

Edit and re-test

Change a rule in the editor and every verdict updates as you type, like the tester Google removed from Search Console.

Many URLs at once

Test up to 50 URLs or paths in one go, each with the rule and line number that decided it.

Any crawler, including AI

Pick Googlebot, Bingbot or any user-agent, and see at a glance which AI crawlers, such as GPTBot, ClaudeBot and PerplexityBot, are blocked.

Syntax checks with line numbers

Flags rules before any User-agent line, misspelled directives, unsupported Noindex lines, relative sitemap URLs and files over Google's 500 KiB limit.

Missing or broken files

Tells you when there's no robots.txt (everything is crawlable) or when it returns a server error (Google treats the site as blocked while that lasts).

Why test robots.txt

A single stray Disallow can deindex an entire section of a site, and it's easy to ship one by accident.

How the robots.txt tester works

No signup. Fetch a live file or paste your own, then edit and test.

1

Fetch or paste

Enter a domain and NorthDuty fetches robots.txt from its root, or paste a draft you haven't published yet.

2

Edit the rules

The file opens in an editor. Change, add or delete rules; nothing is saved or sent anywhere.

3

Test your URLs

List the URLs or paths you care about and pick a crawler. Each gets an allowed or blocked verdict with the rule and line that decided it.

4

Keep it reachable

NorthDuty's health checks include robots.txt and sitemap reachability, so a file that starts erroring or disappears gets flagged.

Google's robots.txt Tester is gone. What to use instead

Google retired the legacy robots.txt Tester from Search Console in late 2023. Its replacement, the robots.txt report, shows which robots.txt files Google found for your site, when they were last crawled, and any fetch or parse errors. What it no longer does is let you paste a URL and see whether a rule blocks it.

That per-URL check is what this tester does, and like Google's old tool it lets you edit the rules and re-test before you publish anything. Fetch your live file or paste a draft, list the URLs you care about, and pick a crawler. It applies the matching Google documents: the most specific user-agent group wins (groups for the same crawler are merged), then the longest matching rule, and Allow wins a tie. Once the change is live, use URL Inspection in Search Console to confirm how Google treats a specific page.

Check which AI crawlers your robots.txt blocks

AI companies publish their own user-agent tokens, and most use separate ones for training and for search, so blocking one doesn't block the other. The tester above shows a verdict for each of these on the first URL you test. Effects below are as each company documents them.

TokenCompany and purposeWhat blocking it does
GPTBotOpenAI, model trainingContent isn't used to train OpenAI's models. ChatGPT search uses OAI-SearchBot instead.
OAI-SearchBotOpenAI, ChatGPT searchPages aren't used as sources in ChatGPT search answers.
ClaudeBotAnthropic, model trainingContent isn't used to train Anthropic's models.
Claude-SearchBotAnthropic, searchPages aren't indexed for search results in Claude.
Google-ExtendedGoogle, Gemini (a control token, not a separate crawler)Content isn't used for Gemini models. It has no effect on Google Search.
Applebot-ExtendedApple, AI training (a control token)Content isn't used to train Apple's AI models. Applebot, which powers Siri and Spotlight, is separate.
PerplexityBotPerplexity, search indexPages aren't indexed for Perplexity's answers.
CCBotCommon Crawl, open web datasetPages are left out of the Common Crawl dataset, which many AI models are trained on.

robots.txt syntax cheat sheet

Every directive and pattern you are likely to need, and how Google treats it.

Directive or patternWhat it doesExample
User-agentStarts a group of rules for one crawler. * matches any crawler that has no group of its own.User-agent: Googlebot
DisallowBlocks crawling of URLs whose path starts with the value. An empty value blocks nothing.Disallow: /wp-admin/
AllowRe-opens a path inside a blocked section. The longer (more specific) matching rule wins.Allow: /wp-admin/admin-ajax.php
SitemapPoints crawlers at a sitemap. Must be a full URL and can appear anywhere in the file.Sitemap: https://example.com/sitemap.xml
* wildcardMatches any sequence of characters inside a path.Disallow: /*?add-to-cart=
$ end anchorMatches only when the URL ends exactly there.Disallow: /*.pdf$
Crawl-delayIgnored by Google. Some other crawlers, such as Bingbot, respect it.Crawl-delay: 10
NoindexNot supported in robots.txt. Google stopped honouring it in 2019; use a meta robots tag or X-Robots-Tag header.(use <meta name="robots" content="noindex">)

How rules match: worked examples

Run any of these through the tester above with your own paths to see the verdict and the rule that decided it.

RulesURL testedResult
Disallow: /wp-admin/ + Allow: /wp-admin/admin-ajax.php/wp-admin/admin-ajax.phpAllowed: the Allow rule is longer, so it wins
Disallow: /search/search-results/shoes/Blocked: rules are prefix matches, so /search also matches /search-results/
Disallow: /*.pdf$/files/guide.pdf?v=2Allowed: $ requires the URL to end in .pdf, and this one ends in ?v=2
Disallow: /Checkout//checkout/Allowed: paths are case-sensitive
User-agent: * with Disallow: / and User-agent: Googlebot with Allow: // as GooglebotAllowed: Googlebot obeys only its own group and ignores the * group
Disallow: (empty)Any URLAllowed: an empty Disallow blocks nothing

Common robots.txt mistakes that cost traffic

Most robots.txt damage is accidental and ships with a deploy or a migration.

Staging rules shipped to production

A staging site's User-agent: * / Disallow: / gets copied to the live site during a launch or migration, and search engines stop crawling everything. This is the first thing to check after any relaunch.

Using robots.txt to hide pages from Google

Blocking a URL stops crawling, not indexing. A blocked page can still appear in results if other pages link to it. To keep a page out of the index, allow crawling and add noindex.

Blocking CSS and JavaScript

If Google cannot fetch your theme's CSS and JS, it cannot render the page properly, which can hurt how the page is understood and ranked. Leave asset folders crawlable.

A robots.txt that errors

If robots.txt returns a 5xx server error, Google temporarily treats the whole site as disallowed. A 404 is treated as no rules at all. Monitor the file, not just the homepage.

Wrong location or host

robots.txt only works at the root of each host and protocol. https://www.example.com/robots.txt does not cover https://shop.example.com/. Each subdomain needs its own file.

Over-blocking WooCommerce URLs

Blocking cart and add-to-cart parameters is fine, but a broad rule like Disallow: /*? can also block filtered category pages and paginated product lists you want crawled.

WordPress and WooCommerce robots.txt

If there is no robots.txt file on the server, WordPress serves a virtual one: it disallows /wp-admin/, allows /wp-admin/admin-ajax.php, and since WordPress 5.5 adds a Sitemap line pointing at /wp-sitemap.xml. SEO plugins such as Yoast and Rank Math let you edit it from the dashboard, and a physical robots.txt file in the site root overrides the virtual one.

For WooCommerce stores, the pages worth keeping crawlable are products, product categories, and your main content. Cart, checkout, and account pages rarely need crawling, but they are better handled with noindex than with robots.txt, so Google can still see the tag. After any plugin or theme change, re-test a product URL and a category URL above.

Go Beyond One-Off Checks

Use the tool preview for a quick answer, then move into recurring monitoring for your most important pages and journeys.

Frequently Asked Questions

Answers about this diagnostic preview and when to move into recurring monitoring.

Is this a robots.txt tester, checker or validator?

All three, and the difference is mostly wording. It validates the file line by line, works on a live site or on text you paste, and tests any URL against the rules for the crawler you choose.

Is this robots.txt tester free?

Yes. It's free and requires no signup. Enter a site to fetch and parse its robots.txt, and optionally test a specific path.

How does the path test decide allowed vs disallowed?

It picks the most specific matching user-agent group, then applies the longest matching rule, with Allow winning ties — the same approach major search-engine crawlers use. Wildcards (*) and end-anchors ($) are supported.

What if a site has no robots.txt?

If no robots.txt is found, the tester reports that — and by the standard, everything on the site is crawlable by default.

Does this change my robots.txt?

No. It only reads the live file. Edits you make in the editor stay in your browser and are never saved or sent. To change crawling rules, update robots.txt on your server.

Can I test robots.txt changes before publishing them?

Yes. Fetch your live file or paste a draft, edit the rules, and the verdicts for your URLs update as you type. Nothing is saved, so you can try changes safely and copy the final version to your server.

How do I check whether my site blocks GPTBot or other AI crawlers?

Fetch your robots.txt above. The AI crawlers panel shows whether GPTBot, OAI-SearchBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot and others are allowed or blocked for the first URL you test. To block one, add a group such as User-agent: GPTBot followed by Disallow: /.

Does Google Search Console still have a robots.txt tester?

No. Google removed the legacy robots.txt Tester in late 2023 and replaced it with the robots.txt report, which shows fetch status and parse errors but does not test individual URLs. This tool fills that gap: test any URL for any crawler, and edit the rules to try a change before you publish it, as the old tester allowed.

Does blocking a page in robots.txt remove it from Google?

Not reliably. robots.txt controls crawling, not indexing. A blocked URL can still be indexed, usually without a description, if other pages link to it. To remove a page from results, allow crawling and use a noindex meta tag or X-Robots-Tag header.

Where does robots.txt need to be?

At the root of the host, for example https://example.com/robots.txt. It applies only to that exact protocol and host, so subdomains need their own file. Google reads up to 500 KiB of the file and ignores anything beyond that.

Are robots.txt rules case-sensitive?

The paths in Allow and Disallow rules are case-sensitive, so Disallow: /Private/ does not block /private/. Directive names like User-agent and Disallow are not case-sensitive.

Start monitoring your website with NorthDuty today.

A robots.txt that errors or disappears changes how Google crawls your site. NorthDuty's health checks include robots.txt and sitemap reachability alongside uptime, SSL and page errors, so it gets noticed.

7 days with Pro features and limits, no credit card — then keep one daily journey on the free plan.