Bargaon
SEO Reads a live URL · Free · No sign-up

Robots.txt Tester and Generator

Load a site's robots.txt or paste your own, then test whether Googlebot, Bingbot or any crawler may fetch a list of URLs, with the exact rule that decides each one. Spot unsupported lines and size problems, or build a new robots.txt for WordPress, search pages, carts and AI crawlers.

Loading the tool…

The address you enter is read once through our server and cached for about ten minutes. Nothing else is stored.

About this tool

One wrong line in robots.txt can stop search engines from crawling a whole section of a site, and it is easy to miss because the file still looks fine. Testing a few important URLs against the file before and after each change is the simplest way to catch mistakes.

The tester loads the live file through Bargaon’s server, or you can paste and edit a version that is not published yet. Pick a crawler and add URLs or paths, and each one is marked Allowed or Blocked with the line that decided it. Matching follows RFC 9309 and Google’s documentation: a crawler obeys only the most specific user-agent group that names it, the longest matching rule wins, Allow wins a tie, and * and $ work as wildcards. The file checks flag lines Google does not support, such as crawl-delay and noindex, rules outside any group, missing sitemap lines and files above Google’s 500 KiB limit.

The generator builds a clean file from a few choices: WordPress admin, internal search, cart and account pages, an opt-out for AI training crawlers, extra paths and your sitemap URL. Remember that robots.txt controls crawling, not indexing. A blocked URL can still appear in results if other pages link to it, so use a noindex tag for pages that must stay out of search.

How to use it

  1. Enter your website and press Load live robots.txt, or paste a file.
  2. Choose the crawler to test (Googlebot by default).
  3. Add the URLs or paths that matter most, one per line.
  4. Press Test and check the rule behind each result.
  5. Use the Generate tab to build a new file, then test it before publishing.

What it checks

Allowed or blocked
Per URL and crawler, using longest-match and Allow-wins-ties rules.
Matched rule
The line number and rule that decided each result.
Unsupported lines
Crawl-delay, noindex and other lines Google ignores.
Structure
Rules outside a user-agent group, unknown lines, missing sitemap.
Size
Against Google's 500 KiB limit.
FAQ

Questions about this tool.

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

No. robots.txt stops crawling, not indexing. A blocked URL can still be indexed without its content if other pages link to it. To keep a page out of results, allow crawling and add a noindex robots meta tag or X-Robots-Tag header.

02 Why does Googlebot ignore my "User-agent: *" rules?

A crawler follows only the most specific group that names it. If the file has a "User-agent: Googlebot" group, Googlebot uses that group alone and ignores the * group, so repeat any shared rules there.

03 Does Google support crawl-delay?

No. Google ignores crawl-delay. Bing and some other crawlers honour it.

04 Should I block AI crawlers?

It is a business choice. Tokens such as GPTBot, ClaudeBot, Google-Extended, Applebot-Extended and CCBot cover training and some AI features, and blocking Google-Extended does not affect Google Search. Check each company's documentation, because tokens and their uses change.

05 What happens if robots.txt returns an error?

If the file is missing (a 4xx response), crawlers treat the site as fully allowed. If it returns a server error (5xx), Google stops crawling for a while and may treat the site as blocked if the error lasts.

Free growth audit

Want help acting on the results?

Share your website and what the tool showed. We'll review it and reply by email.