robots.txt tester: find out whether a crawler may fetch this URL.
Enter a page URL and choose a crawler. The tool fetches the site's live robots.txt, shows it, and tells you whether that crawler is allowed or blocked for the page's path, and which rule decided it.
By Mike Cecconello · Updated September 25, 2026
robots.txt tester
Runs on our server, which fetches the public URL you enter. We count runs and never save what you enter; an identical request may be answered from memory for up to five minutes.
What you can do with it
- Check whether a new Disallow rule blocks more pages than you meant it to
- Confirm that ChatGPT search or Perplexity can fetch your pricing page
- See which rule applies when a crawler has its own group and the * group also matches
- Verify a robots.txt change after deploy, against the live file
How it works, step by step
- 1
Find the group that applies
robots.txt is split into groups, each starting with one or more User-agent lines. A crawler follows only the group that names it most specifically. If no group names it, it follows the User-agent: * group. It does not combine its own group with the * group.
- 2
Collect the rules in that group that match the path
Each Allow and Disallow rule is a path prefix. A rule matches if the URL's path starts with it. The * wildcard matches any run of characters, and $ anchors the rule to the end of the URL.
- 3
Let the longest match win
Under Google's documented behavior, the matching rule with the longest path wins, whether it is Allow or Disallow. If an Allow and a Disallow are the same length, Google uses the less restrictive one, which is the Allow.
- 4
No matching rule means allowed
If nothing in the group matches the path, the crawler may fetch it. A missing robots.txt (a 404) also means everything is allowed.
- 5
Test against the live file
Run the URL and crawler through the tester after every change. It fetches the robots.txt your server returns now, which is the only version crawlers see.
Two tools, two jobs
If you need to write or rewrite a robots.txt, start with the robots.txt generator. It builds the file for you and separates the crawlers that fetch to train models from the ones that fetch to answer a question.
This tester does the other half. It reads the file the site is actually serving, then answers one question for one crawler and one URL: may it fetch this page? That is the check to run after a deploy, after a CMS or plugin update touched the file, or when a page drops out of search or AI answers and you want to rule robots.txt in or out.
How matching works
Crawlers that follow the Robots Exclusion Protocol, which Google documents and which is published as RFC 9309, resolve a URL in two steps.
First, pick the group. A crawler looks for the group whose User-agent line names it. It obeys
that group only. If there is none, it uses the User-agent: * group. This catches people out: a
site with a strict * group and a separate User-agent: GPTBot group containing one rule gives
GPTBot only that one rule. The * rules no longer apply to it.
Then, pick the rule. Within the group, every Allow and Disallow whose path matches the start
of the URL’s path is a candidate. The longest one wins. So with Disallow: /blog/ and
Allow: /blog/guides/, a page at /blog/guides/setup is allowed. If two matching rules are the
same length, Google picks the less restrictive, the Allow.
Two special characters change what a rule matches. * stands for any sequence of characters, so
Disallow: /*?sort= blocks any URL with that parameter. $ marks the end of the URL, so
Disallow: /*.pdf$ blocks PDFs without blocking /pdf-guides/. Paths are case-sensitive.
What robots.txt is not
- Not access control. It is a request. Crawlers that respect it comply, and anything else can ignore it. Never use it to hide a URL, since the file itself is public and lists the paths.
- Not noindex. Disallow stops a crawler from fetching the page. Google can still index the URL from links elsewhere, just without the content. A noindex tag only works on a page the crawler is allowed to fetch.
- Not instant. Google generally caches robots.txt for up to a day, so a change can take that long to apply.
What the tester does not cover
The tester answers for the one crawler you pick and the one URL you enter. It does not check whether the crawler is also blocked by a firewall, whether the page returns a 200, or what text the page contains. The AI crawler simulator covers those, and the free AI-readiness check tests robots.txt for eight named AI crawlers across a whole domain, alongside eight other signals.
Letting crawlers in is the start. AltoRank plans and drafts the content worth fetching every week, and a person approves each piece before it publishes.
Frequently asked questions
Which crawlers can I test?
Googlebot, Bingbot, the AI search and on-demand fetchers (OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User), the training crawlers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot), and * for any crawler without its own group.
How is this different from the robots.txt generator?
The tester reads the robots.txt a site is serving right now and tells you what it means for one URL and one crawler. The robots.txt generator writes a new file for you, with AI crawler rules split by what each crawler does. Use the generator to write the file and the tester to check it once it is live.
If robots.txt blocks a page, is it out of Google?
Not necessarily. Disallow stops crawling, not indexing. Google can still index a blocked URL, without its content, if other pages link to it. To keep a page out of search results, allow crawling and use a noindex meta tag or header, because Google has to fetch the page to see the noindex.
Does robots.txt stop scrapers?
No. It is a request that well-behaved crawlers follow. Anything that ignores it can still fetch the page. If content must not be accessed, put it behind authentication, or block the traffic at your server or CDN.
Why does the tester say allowed when the crawler still gets an error?
robots.txt is only one gate. A firewall or CDN bot rule can refuse a crawler that robots.txt allows. The AI crawler simulator requests the page as each crawler and shows the status code that comes back, which catches that case.
Does it store the URL I test?
No. Our server fetches the site's public robots.txt, returns the result to your browser and keeps only a count of how many times the tool ran that day. There is a daily usage limit so it can stay free without a signup.
More free tools
- Free Ad Copy Generator: Google, Meta, LinkedIn
- Free AI Article Generator: A Draft, Not an Article
- Free Alt Text Generator for Images
- Free Article Rewriter: Change Tone, Keep Facts
- Free Article Summarizer: Claim, Evidence, Caveat
- Free Backlink Checker: Links and Referring Domains
- Free Blog Outline Generator: H2 and H3 Headings
- Free Blog Post Ideas From Real Searches
- Free Canonical Tag Checker: Test Any URL
- Free Character Counter With Title and Meta Limits
- Free Content Idea Generator
- Free CTA Generator: Call-to-Action Ideas
- Free Email Subject Line Generator
- Free FAQ Schema Generator (JSON-LD, Article, Breadcrumb)
- Free Google Rank Checker: Live Position for a Keyword
- Free Grammar Checker: Grammar, Spelling, Punctuation
- Free Headline Analyzer: Score Titles Before You Publish
- Free Headline Generator for Blog Posts
- Free Image Resizer and Compressor for the Web
- Free Internal Link Checker: Audit Anchors on Any Page
- Free JSON to CSV Converter, Nested Keys Flattened
- Free Keyword Clustering Tool: Group Keywords by Topic
- Free Keyword Combiner: Merge Word Lists Into Keywords
- Free Keyword Density Checker: A Diagnostic, Not a Target
- Free Keyword Gap Analysis Tool: Compare Two Keyword Lists
- Free Keyword Research Tool: Volume, Difficulty, CPC
- Free Link Extractor: Every Link on a Page
- Free LSI Keyword Generator (Really: Related Terms)
- Free Meta Description Generator With SERP Preview
- Free Plagiarism Checker: Exact-Phrase Web Search
- Free SEO Content Brief Template and Generator
- Free SEO Title Generator: Title Tags That Fit
- Free Slug Generator: Clean URL Slugs From Any Title
- Free Social Media Post Generator: X, LinkedIn, Instagram
- Free Website Worth Calculator: Traffic Value Estimate
- Free Word Counter and Readability Checker
- Interactive SEO Checklist: 33 Checks, Saved as You Go
- Reading Level Checker: Flesch Score and Grade Level
- SEO Cost Calculator: Build a Budget From Your Own Numbers
- SEO Health Check: The Agency Audit Checklist
- SEO ROI Calculator: Return, Payback Month and Formula
- SERP Analysis: How to Read a Search Result Page
- WordPress Permalink Generator: Preview Post URLs
Be the site the assistant names.
Add a domain and the first draft is written while you watch. Every publish is your decision, a click on the draft or a rule you set and can hold, and you can read the source or self-host it free.
Set up your site and read your first drafts before you enter a card.