Live fetch or paste
Fetch any site's live robots.txt, or paste a draft to test it before you publish.
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.
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.
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.
One check reads the robots.txt and tells you exactly how each crawler will treat your URLs.
Fetch any site's live robots.txt, or paste a draft to test it before you publish.
Change a rule in the editor and every verdict updates as you type, like the tester Google removed from Search Console.
Test up to 50 URLs or paths in one go, each with the rule and line number that decided it.
Pick Googlebot, Bingbot or any user-agent, and see at a glance which AI crawlers, such as GPTBot, ClaudeBot and PerplexityBot, are blocked.
Flags rules before any User-agent line, misspelled directives, unsupported Noindex lines, relative sitemap URLs and files over Google's 500 KiB limit.
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).
A single stray Disallow can deindex an entire section of a site, and it's easy to ship one by accident.
No signup. Fetch a live file or paste your own, then edit and test.
Enter a domain and NorthDuty fetches robots.txt from its root, or paste a draft you haven't published yet.
The file opens in an editor. Change, add or delete rules; nothing is saved or sent anywhere.
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.
NorthDuty's health checks include robots.txt and sitemap reachability, so a file that starts erroring or disappears gets flagged.
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.
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.
| Token | Company and purpose | What blocking it does |
|---|---|---|
| GPTBot | OpenAI, model training | Content isn't used to train OpenAI's models. ChatGPT search uses OAI-SearchBot instead. |
| OAI-SearchBot | OpenAI, ChatGPT search | Pages aren't used as sources in ChatGPT search answers. |
| ClaudeBot | Anthropic, model training | Content isn't used to train Anthropic's models. |
| Claude-SearchBot | Anthropic, search | Pages aren't indexed for search results in Claude. |
| Google-Extended | Google, Gemini (a control token, not a separate crawler) | Content isn't used for Gemini models. It has no effect on Google Search. |
| Applebot-Extended | Apple, AI training (a control token) | Content isn't used to train Apple's AI models. Applebot, which powers Siri and Spotlight, is separate. |
| PerplexityBot | Perplexity, search index | Pages aren't indexed for Perplexity's answers. |
| CCBot | Common Crawl, open web dataset | Pages are left out of the Common Crawl dataset, which many AI models are trained on. |
Every directive and pattern you are likely to need, and how Google treats it.
| Directive or pattern | What it does | Example |
|---|---|---|
| User-agent | Starts a group of rules for one crawler. * matches any crawler that has no group of its own. | User-agent: Googlebot |
| Disallow | Blocks crawling of URLs whose path starts with the value. An empty value blocks nothing. | Disallow: /wp-admin/ |
| Allow | Re-opens a path inside a blocked section. The longer (more specific) matching rule wins. | Allow: /wp-admin/admin-ajax.php |
| Sitemap | Points crawlers at a sitemap. Must be a full URL and can appear anywhere in the file. | Sitemap: https://example.com/sitemap.xml |
| * wildcard | Matches any sequence of characters inside a path. | Disallow: /*?add-to-cart= |
| $ end anchor | Matches only when the URL ends exactly there. | Disallow: /*.pdf$ |
| Crawl-delay | Ignored by Google. Some other crawlers, such as Bingbot, respect it. | Crawl-delay: 10 |
| Noindex | Not 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">) |
Run any of these through the tester above with your own paths to see the verdict and the rule that decided it.
| Rules | URL tested | Result |
|---|---|---|
| Disallow: /wp-admin/ + Allow: /wp-admin/admin-ajax.php | /wp-admin/admin-ajax.php | Allowed: 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=2 | Allowed: $ 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 Googlebot | Allowed: Googlebot obeys only its own group and ignores the * group |
| Disallow: (empty) | Any URL | Allowed: an empty Disallow blocks nothing |
Most robots.txt damage is accidental and ships with a deploy or a migration.
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.
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.
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.
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.
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.
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.
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.
Use the tool preview for a quick answer, then move into recurring monitoring for your most important pages and journeys.
Feature
Learn how NorthDuty combines editable user journeys and website health checks in one website monitoring project.
Explore Website MonitoringFeature
Monitor uptime every 5 minutes by default with HTTP, SSL, DNS, blank-page detection, broken resources, JavaScript errors, and API call tracking.
Explore Uptime MonitoringArticle
A one-off robots.txt test only describes today. Here is what breaks robots.txt in production, how Google reacts to each failure, and how to monitor the file.
Read robots.txt MonitoringArticle
Use this 41-point website monitoring checklist to cover uptime, SSL, DNS, forms, checkout, journeys, alerts, launch checks, and incident response.
Read Website Monitoring Checklist: 41 ChecksArticle
Why a website breaks after deploy without going down: the 5 most common post-deploy failures uptime monitors miss, and how to catch them before your users do.
Read 5 Ways a Website Breaks After a DeployPricing
NorthDuty plans are sized by how many checkout, signup and login journeys you monitor: Free, $29 Starter, $79 Pro, $199 Business. 7-day trial, no card.
Compare pricing plansAnswers about this diagnostic preview and when to move into recurring monitoring.
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.
Yes. It's free and requires no signup. Enter a site to fetch and parse its robots.txt, and optionally test a specific path.
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.
If no robots.txt is found, the tester reports that — and by the standard, everything on the site is crawlable by default.
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.
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.
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: /.
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.
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.
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.
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.
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.