Black Friday until Nov 30: +50% on top-ups ⏳ Take the bonus
SEO Analysis

Robots.txt Checker & Tester

Check robots.txt: Allow/Disallow rules, User-Agent, Sitemap, Crawl-delay and warnings, for example that the whole site is blocked.

Key facts

Enter a site address and the tool downloads its robots.txt, breaks down Allow and Disallow rules for every User-agent, finds the Sitemap lines and tells you if the whole site is blocked. Free, no sign-up, a few seconds. It cannot test whether one specific URL is blocked.

Price
Free
Sign-up
Not required
Processing
On our server: it downloads https://your-domain/robots.txt itself and parses the file; nothing from your browser is uploaded
Input
A site or page URL — only the domain is used; the file /robots.txt is fetched over https
Limits
8 checks per minute per IP; 10-second wait for the site to answer; a warning appears for files over 500 lines or 512 KB
Output
A 0–100 score, line count, Allow and Disallow counts, a block per User-agent, Sitemap links, Crawl-delay, warnings and the raw file text
Last updated

Video walkthrough 0:42

Robots.txt Checker & Tester Free: Analyze Allow/Disallow Rules for Every Bot

Robots.txt Checker & Tester Free: Analyze Allow/Disallow Rules for Every Bot

Check a robots.txt file for free: rule counts, sitemap lines and the directives for each user agent.

Chapters
  1. 0:00 Reading the result
  2. 0:30 Try it free
Video transcript

What does your robots dot txt file really block? Test it. Enter a site address. Click Analyze. It reads the file: a hundred and sixteen lines, twelve allow rules, and seventy disallow rules. The sitemap line is detected. Below it, rules are grouped by user agent, so you can see who may crawl what. Disallow blocks crawling, but it does not remove a page from the index. The raw file is shown below the report. Free, no sign-up. The link is in the description. Subscribe for more free tools.

See it in action

Open source on GitHub

Run the same check on your own machine: a Node.js command-line tool, a library and a GitHub Action. Open source under the MIT license.

ksanyok/robots-checker

Robots.txt Analysis — Bot Access Check

Check the robots.txt file: Allow/Disallow directives for each User-Agent, Sitemap links and Crawl-delay, plus warnings — whether the whole site is blocked, a Sitemap is listed, or the file is too large. Ensure search bots can see all your site's important content.

All robots.txt directives parsing
User-Agent blocks analysis
Sitemap links check
Warning if the whole site is blocked
Score 0–100 and the raw file text
Configuration recommendations

How to Use

  1. Enter domain to check robots.txt
  2. Review the list of rules and warnings
  3. Fix the issues found (for example, Disallow: / for all bots)

Use Cases

  • Validate robots.txt before launching a new site version.
  • Detect accidental crawl blocks on important sections.

Limitations

  • Checks robots.txt only and does not replace page-level meta robots audits.
  • Different bots can interpret edge-case directives differently.

Example Input / Output

Example Input
https://example.com/robots.txt
Example Output
Detected 2 potentially risky Disallow rules and 1 missing Sitemap directive.

FAQ

Enter the site address in the field above and press Analyze. The tool downloads https://your-domain/robots.txt, parses the User-agent blocks and the Allow and Disallow rules, finds Sitemap lines and lists warnings. No sign-up is needed.

It always sits at the root of the host: example.com/robots.txt. You can open it in a browser like any page. Each subdomain needs its own file: blog.example.com and example.com are independent.

Not with this tool: it shows the rules in the file but does not apply them to an address. For a single page use URL Inspection in Google Search Console or a robots.txt tester that has a path field.

It forbids crawling the whole site for the named User-agent. If it appears under "User-agent: *", the tool raises a warning and lowers the score. A common cause is a staging setting forgotten at launch.

Disallow blocks crawling, not indexing: external links can put the URL in the index without a description. To remove a page from search, allow crawling and add a meta robots noindex tag.

Not instantly: Google refetches the file periodically and uses a stored copy meanwhile. For an urgent fix, the robots.txt report in Search Console lets you request a recrawl; it is available for domain-level properties.

It is optional but handy: a Sitemap line tells crawlers where your sitemap is and works across search engines. If it is missing, the tool raises a warning; you can also submit the sitemap in Search Console.

Who it is for and typical uses

  • Before a launch or migration. A staging Disallow: / often survives on the live domain; a check takes seconds and catches it.
  • Pages dropped out of the index. When a section vanishes from search, the first thing to look at is whether a CMS or plugin update added a new rule to the file.
  • Competitor research. Another site's file shows which sections it hides from search, which bots it names separately and where its sitemaps live.
  • Client audits. The User-agent and Sitemap summary is a quick starting point for a report.
  • AI crawlers. The User-agent blocks show whether GPTBot, ClaudeBot and others are named and what is allowed for them.

Honest limitations

  • The tool does not test a single URL: it will not say whether a given page is blocked, and it does not work out which Allow or Disallow rule wins. For that, use URL Inspection in Search Console or a tester with a path field.
  • Only https://domain/robots.txt is fetched. Other subdomains and plain http are not checked, so enter the subdomain you need separately.
  • * and $ wildcards are shown as written, not expanded into a list of blocked URLs.
  • The 0–100 score is our own heuristic: points are deducted for no User-agent, a fully blocked site, no Sitemap and a file over 500 lines. It is not a Google score.
  • A server error or timeout is shown as an error and the file is not parsed; how Google treats 5xx or redirects is covered in the guide above.
  • It is a snapshot of the moment you check: Google sees a change only the next time it fetches the file.

Next: robots.txt generator, sitemap XML analyzer, page index checker, SEO audit, llms.txt generator. Glossary: noindex, nofollow and robots.

PromoPilot vs alternatives: comparison

We compare only what is confirmed on each service's own pages. Where we could not confirm a fact, the cell shows "—".

Parameter PromoPilot Google Search Console 365i Robots Checker Growtika Robots.txt Checker
Free and limits Yes, 8 checks a minute — Yes ("Free Tool"); limits not stated Yes ("FREE TOOL"); limits not stated
Sign-up Not required Needs Search Console access; domain-level properties only Not required ("No sign-up required") —
Input A domain: we fetch its /robots.txt Files Google found for your site's top 20 hosts A domain: fetches and parses the file You paste the file text
Directive and Sitemap breakdown ✓ Lists parsing issues ✓ flags CSS/JS-blocking wildcards, missing sitemap, conflicts ✓ syntax errors, blocking issues, copy-paste fixes
Test a single URL against the rules ✗ For a URL, use the URL Inspection tool ✓ —
AI crawler audit ✗ — — ✓ 16 crawlers: AI, search, social
Google's own fetch status ✗ ✓ status, last checked, size, recrawl request — —
Paid plan None, the tool is free — — —

Scroll the table sideways

Where we are weaker: no test of a single URL against the rules, no dedicated AI-crawler audit and no data on how Google itself sees the file.

When to choose PromoPilot: When you want a quick overview of any site's file (a competitor's too) without signing up: which bots are named, what is blocked, whether a Sitemap is listed. To test a specific URL against the rules, use a tester with a path field or URL Inspection in Search Console.

Checked on: . "—" means not confirmed on the official page; terms and prices change, so check the services' own sites.

How to test robots.txt online and read the report

To test a robots.txt file, enter your site address: the checker takes the host from it and requests https://host/robots.txt, following redirects. Subdomains are separate hosts with their own files, so check shop.example.com separately from example.com. If the file can't be fetched, you see why: 404 ("file not found"), another HTTP error code, or a network error.

When the file loads, the robots.txt analyzer shows a score from 0 to 100, the line count, the number of Allow and Disallow rules, the Sitemap list, a rules table for every User-agent and the raw file. The score drops as follows:

FindingPenaltyWhat to do
Disallow: / in the User-agent: * group−40Unless this is a staging site, remove the line now: the whole site is blocked from crawling.
No User-agent line at all−30Rules outside a group don't apply. Start the file with User-agent: *.
No Sitemap line−15Add the absolute sitemap URL: Sitemap: https://example.com/sitemap.xml.
More than 500 lines−10Collapse repeats with * and $ patterns.

Two warnings carry no penalty: Crawl-delay above 10 seconds and a file larger than 512 KB (Google reads only the first 500 KiB). In the raw file, look for lines that didn't make it into the rules table: a typo in a directive (Dissalow) or a rule placed before the first User-agent is a common reason why "the file exists but doesn't work".

robots.txt syntax: directives and rule precedence

The file is made of groups. A group starts with one or more User-agent lines followed by Disallow (block crawling) and Allow (permit) rules. Sitemap isn't tied to a group and can go anywhere. Directive names are case-insensitive, paths are case-sensitive: /Catalog/ and /catalog/ are different rules. An empty Disallow: blocks nothing.

The * and $ wildcards

  • * matches any sequence of characters: Disallow: /*?sort= blocks every URL with a sort parameter.
  • $ marks the end of the URL: Disallow: /*.pdf$ blocks PDFs but not /file.pdf?v=2.

Which rule wins

Google doesn't read rules top to bottom. Among all rules matching a URL, the longest (most specific) one wins; on a tie, Allow wins.

User-agent: *
Disallow: /catalog/
Allow: /catalog/shoes/

Here /catalog/shoes/nike is crawlable and /catalog/bags/ is blocked.

User-agent groups don't add up

A crawler obeys only the most specific group that matches it. If there is a User-agent: Googlebot block, Googlebot ignores everything under User-agent: * — repeat those rules in its own block. This is one of the most common reasons why "blocked" sections still get crawled.

robots.txt examples you can adapt

WordPress

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Disallow: /?s=
Disallow: /search/

Sitemap: https://example.com/wp-sitemap.xml

Don't block /wp-content/ or /wp-includes/: they hold the CSS, JS and images Google needs to render the page. If an SEO plugin builds the sitemap, use its URL instead (for example /sitemap_index.xml).

Shopify, Wix, Squarespace and other hosted builders

Hosted platforms generate robots.txt for you; you control it through site and page settings (hide from search engines, exclude from sitemap) or a platform template, not by uploading a file. Check the live result after publishing — a "hide from search" toggle left on from development is a classic.

Online store: filters, sorting, UTM tags

User-agent: *
Disallow: /cart/
Disallow: /checkout/
Disallow: /*?*sort=
Disallow: /*?*filter=
Disallow: /*?*utm_

Sitemap: https://example.com/sitemap.xml

A caveat on UTM: Google doesn't crawl a blocked URL, so it never sees the canonical on it. If tagged URLs attract many external links, keep them crawlable and point a canonical to the clean URL. Don't block filter landing pages that are meant to rank ("men's running shoes size 10").

Common robots.txt mistakes

  • Disallow: / on the live site — the file was copied from staging. The checker flags this as a separate warning.
  • Blocked CSS and JS (/assets/, /static/) — Google renders a "broken" page, which hurts how the mobile version is evaluated.
  • Non-ASCII paths. Google accepts UTF-8, but percent-encoded paths (as they appear when copied from the address bar) are the safest choice. An internationalized domain in Sitemap must be in Punycode.
  • BOM and wrong encoding. Google ignores a leading BOM, but other parsers may read the first line as garbage and lose the first group. Save the file as UTF-8 without BOM.
  • Disallow instead of noindex. Blocking crawling doesn't remove a page from the index; it can stay in results without a description. Use noindex on a crawlable page instead — see noindex, nofollow and robots.
  • Relative Sitemap URL (Sitemap: /sitemap.xml) — a full URL with protocol is required.

When robots.txt returns 5xx or a redirect

Server responseWhat Google does
200Reads and applies the rules.
3xxFollows at least 5 redirects, then treats the file as missing. Inspect the chain with the redirect checker.
404 and other 4xx (except 429)Assumes there are no restrictions and crawls everything.
5xx and 429Treats the whole site as blocked. If the error lasts more than 30 days, it uses the last cached copy, or crawls without restrictions if there is none.

That makes a 5xx on robots.txt worse than having no file: crawling stops and crawl budget is wasted. Google usually caches the file for up to 24 hours, so fixes don't apply instantly.

Crawl-delay, Host, Clean-param, noindex: what Google ignores

  • Crawl-delay — not supported by Google, which sets crawl rate from server responses. Bing honours it, which is why the checker warns about delays above 10 seconds.
  • Host and Clean-param — Yandex-specific directives. Google skips them; use 301 redirects and canonical tags instead.
  • Noindex in robots.txt — unsupported by Google since 2019.

These lines don't break the file — Google skips them and the rules for other crawlers keep working.

Testing robots.txt in Google Search Console

Google retired the old robots.txt Tester in 2023. Search Console now has a robots.txt report (Settings → robots.txt) showing which versions of the file Google fetched for each host, when, with what status and which lines it couldn't parse; you can also request a recrawl after an edit. To see whether a specific URL is blocked, use URL Inspection — it reports "Blocked by robots.txt". The full specification is in Google's documentation.

A practical workflow: validate the file here, build a new one with the robots.txt generator if needed, then make sure the sitemap from the Sitemap line opens and lists no blocked URLs using the sitemap analyzer.

Cascade link promotion for your site $30 bonusBacklinks 5→50→5000 across 100+ platforms. From $30 to start, plus a $30 bonus for newcomers.