New: 500+ free SEO and AI search tools, no sign-up.Explore tools →

How to Use the Robots.txt Tester (Step-by-Step Guide)

By Hasnain Sanmal
Robots.txt Tester: paste robots.txt, URLs and choose a user agent

This guide shows how to use robots.txt tester, step by step. The Robots.txt Tester shows you, in seconds, whether Googlebot, Bingbot, GPTBot or any other crawler is allowed to crawl a URL on your site, and which exact rule makes that decision. It works like Google’s own parser, runs in your browser and needs no sign-up. This guide walks you through every step, from copying your robots.txt to fixing a blocked page.

Quick facts

  • Tool: Robots.txt Tester (free, no sign-up)
  • Time needed: about 2 to 5 minutes
  • Steps: 6
  • Privacy: runs in your browser

Open the Robots.txt Tester →

What you need

  • Your robots.txt file (open yoursite.com/robots.txt in a new tab)
  • A few URLs or paths you want to test, such as a blog post, a category page and an admin URL

How to use Robots.txt Tester step by step

Step 1: Copy your robots.txt

Open yoursite.com/robots.txt in your browser, press Ctrl+A to select everything and Ctrl+C to copy it. If the page shows a 404 error, your site has no robots.txt and every URL is allowed by default.

Step 2: Paste it into the tester

Open the Robots.txt Tester and paste the file into the robots.txt content box. The example rules are replaced by yours.

how to use robots.txt tester: step 1, filling in the tool
Screenshot: Robots.txt Tester with example inputs

Step 3: Add the URLs you want to test

In URLs to test, add one URL or path per line. You can paste full URLs (https://yoursite.com/blog/post/) or just the path (/blog/post/). Test your most important pages first: homepage, money pages, blog posts and category pages.

Step 4: Choose the user agent

Pick the crawler from the User agent menu: Googlebot, Googlebot-Image, Bingbot, GPTBot and more. To test any other bot, type its name in Custom user agent, for example Slurp or AhrefsBot.

Step 5: Read the results table

Each URL shows Allowed in green or Blocked in red, plus the Matched rule that decided it. “No rule matched” means the URL is allowed because nothing blocks it.

Robots.txt Tester results
Screenshot: Robots.txt Tester results

Step 6: Fix any page that should not be blocked

If an important page is blocked, find the matched rule in your robots.txt, then either delete it, make it more specific, or add an Allow rule for that path. Paste the edited file back into the tester and check again before you upload it to your server.

How to read the results

  • Allowed: The crawler may crawl this URL. Crawling is allowed, but indexing still depends on content quality, canonicals and noindex tags.
  • Blocked: The crawler is told not to crawl this URL. Google can still index a blocked URL without its content if other sites link to it, so use noindex (not robots.txt) to remove pages from search.
  • Matched rule: The longest matching rule wins. If an Allow and a Disallow rule are the same length, Allow wins, exactly like Google.

Pro tips

  • Never block CSS and JavaScript files. Google needs them to render your pages.
  • Do not use robots.txt to hide private pages. The file is public, so anyone can read it.
  • Add a Sitemap line with the full URL of your XML sitemap.
  • Re-test after every theme, plugin or CMS change, because some plugins edit robots.txt.

Common mistakes to avoid

  • Disallow: / under User-agent: * blocks your whole site. It is often left over from a staging site.
  • Paths are case-sensitive: /Blog/ and /blog/ are different.
  • Blocking a page you also mark noindex: Google cannot see the noindex tag if it cannot crawl the page.

Frequently asked questions

Is the Robots.txt Tester free?

Yes. It is completely free, has no limits and runs in your browser, so nothing you paste is uploaded.

Does robots.txt stop a page from being indexed?

No. It only controls crawling. To keep a page out of Google, allow crawling and add a noindex meta tag.

Can I test AI crawlers like GPTBot?

Yes. Choose GPTBot from the list or type any AI bot name, such as ClaudeBot or PerplexityBot, as a custom user agent.

Related free tools

Need help with SEO? If you would rather have an expert handle it, see my SEO services or message me on WhatsApp for a free, honest recommendation.

Hasnain Sanmal
Hasnain Sanmal

SEO and guest post outreach specialist with 2000+ completed orders and a list of 1000+ hand-picked, high-authority websites. More about me

Need high-authority backlinks?

Get niche-relevant guest posts from my own outreach list of 1000+ websites.

Chat on WhatsApp

More to read

All articles