Skip to content

/ Free Tool

Robots.txt Tester

Paste the rules from your robots.txt file, pick a bot and a URL, and instantly test whether the search engine bot can access that page. Catch faulty blocks before you publish them.

robots.txt content

Test Parameters

Matching Rule Groups

User-agent: *

Disallow: /admin/

Disallow: /private/

Allow: /admin/public/

How It Works

01

Paste Your Robots.txt

Paste your site's existing robots.txt content into the editor, or write test rules. The tool parses all User-agent blocks.

02

Choose Bot And URL

Select which bot you want to test (Googlebot, Bingbot, etc.) and enter the URL path you want to check access for.

03

See The Result

The tool shows the applied rule and the result: Allowed or Blocked. It also indicates which rule was triggered.

Note: This tool follows Google's robots.txt specification: the longest matching rule takes priority, and if Allow and Disallow are the same length, Allow wins. Wildcards (*) and end-of-line anchors ($) are supported. For a comprehensive technical SEO audit, check out our SEO Consulting service.

About This Tool

Why use this tool?

The Robots.txt Tester analyzes your site's robots.txt file to show which bots can access which URLs. An incorrectly written robots.txt can exclude your entire site from Google's index.

The tool also lists newer AI bots (GPTBot, ClaudeBot, PerplexityBot) separately, showing whether your content is open to AI models.

Sitemap integration, crawl-delay directives, and user-agent-based rule tests are all presented in a single report.

In-Depth Guide

How do you get the most out of this tool?

What Is It?

What Is Robots.txt, And What Is It For?

Robots.txt is a simple text file located at the root of a site (yoursite.com/robots.txt). It tells crawling bots (Googlebot, Bingbot, AI bots) which pages they can and can't crawl.

Important note: robots.txt is only a 'suggestion,' not an enforcement mechanism. Well-behaved bots (Google, Bing) comply; malicious scrapers may not. To truly hide sensitive content, use authentication or IP blocking.

How To

Should You Block AI Bots?

AI bots (GPTBot, ClaudeBot, PerplexityBot, Bytespider) crawl your content and use it for AI training or answer generation. Whether to block them is a strategic decision:

  • Allow them for brand authority — appearing as a source in AI answers is valuable
  • Block them for paid/exclusive content — you don't want paywalled content pulled by AI
  • Allow them for e-commerce product pages — your products can appear in AI shopping recommendations
  • Block them for course/academy content — certification value should be protected

Why It Matters

Common Robots.txt Syntax Mistakes

Robots.txt syntax is simple, but the mistakes are costly: a single character error can deindex your entire site. Learn these patterns:

  • "Disallow: /" → blocks the ENTIRE SITE (disaster scenario)
  • "Disallow:" (empty) → no blocking, everything is open
  • "User-agent: *" → applies to all bots
  • "User-agent: Googlebot" → a rule specific to Google only
  • "Sitemap: https://..." → declares the sitemap location

↕ Scroll up / down to read every section.

Who It's For

Is this tool right for you?

  • Site owners writing or checking a new robots.txt
  • Developers doing a pre-launch check
  • SEO specialists doing a technical audit
  • AI content creators managing AI bot permissions
  • Site migrators cleaning up old blocks

Pro Tips

How the experts use it

  • If you use WordPress, block "wp-admin" + "wp-includes" but leave "wp-content" open
  • Use "Disallow: /" on your staging/test site, but remember to remove it when deploying to production
  • Always add a sitemap reference — Google crawls faster
  • Update your AI bot lists every 3 months — new bots keep appearing
  • Verify with the robots.txt tester in Search Console after every change

What To Watch For

Common mistakes and how to fix them

  • Mistake

    Copying the staging robots.txt to production (with "Disallow: /")

    Fix

    Add a robots.txt check to your deploy process. Always verify after a test deploy.

  • Mistake

    Trying to noindex pages using robots.txt

    Fix

    Robots.txt blocks crawling, not indexing. Use the page's meta tag for noindex.

  • Mistake

    Not adding a sitemap reference

    Fix

    Always add a line like Sitemap: https://yoursite.com/sitemap.xml.

Frequently Asked

Questions people ask about this tool

  • If I block something in robots.txt, will Google not index it?

    Correct — a Disallow directive prevents the bot from crawling that URL. However, if other sites link to it, the URL can still get indexed.

  • Is it necessary to block AI bots?

    It's a debated topic. Having your content appear as a source in AI answers builds brand authority; but if the content is paid/exclusive, blocking makes sense.

  • Where is robots.txt located?

    yoursite.com/robots.txt — at the root of the site.

  • Is declaring the sitemap in robots.txt required?

    Not required, but recommended. You can also submit a sitemap via Search Console; the robots.txt reference is a backup mechanism.

  • How do I fix damage from a bad robots.txt?

    Fix it → verify with the robots.txt Tester in Search Console → Google will recrawl within 24-48 hours.

SEO Panel Plans

All Tools, One Platform

Backlink analysis, organic search tracking and competitor monitoring — in our own panel, backed by expert interpretation and consulting support.

Basic

$19/mo · USD

Billed monthly · Cancel anytime

A core toolset for those getting started with SEO tracking.

1 Project30 Queries/DayCore SEO Tools

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool(Limited)
  • Site Audit(Limited)
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Basic
Most Popular

Pro

$39/mo · USD

Billed monthly · Cancel anytime

Full access to all SEO tools. The best fit for growing brands.

3 Projects200 Queries/DayFull Access

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
Start with Pro

Enterprise

$79/mo · USD

Billed monthly · Cancel anytime

Unlimited projects and full VIP support for agencies and large brands.

Unlimited ProjectsUnlimited QueriesVIP Support

What's Included

  • Overview & Opportunities
  • Page Review
  • Site Structure & Timeline
  • Organic Keywords
  • Top Traffic Pages
  • Rank Finder (Panel)
  • Keyword Tool
  • Site Audit
  • Organic Competitors
  • Backlink Analysis
  • Referring Domains
  • Anchor & IP Analysis
  • Content Gap
  • Link Intersect
  • Ad Keyword Analysis
  • Web & Bot Analytics
  • AI Content Assistant
  • Brand Radar
  • SERP Analysis
  • Google AI Overview Tracking
  • On-Page SEO & Speed Test
  • Meta & Structured Data Tools
  • Priority Support
  • Dedicated Consultant
Start with Enterprise

Monthly plans are re-billed every month. You can cancel anytime. Contact us for custom pricing.