Audit your website free →
100% free · No signup · No login

Robots.txt Tester and Generator

Test whether a URL is allowed or blocked for Googlebot, Bingbot and AI crawlers using your live robots.txt or rules you paste in. Then build a clean robots.txt with the generator below.

Enter the full page URL you want to test, for example a product or blog URL.

Test against your own rules instead of the live file

Handy for trying a change before you upload it.

Reading robots.txt…
Fetching the file and matching your URL against its rules.

Robots.txt generator

Build a clean robots.txt, then upload it to the root of your site (yoursite.com/robots.txt).

    robots.txt
    
            
    WHY THIS TOOL

    What this robots.txt tester does

    One wrong line in robots.txt can hide a whole section of your site.

    Allowed Or Blocked

    A clear answer for any URL, with the exact line that decided it highlighted in your file.

    Google-Style Matching

    Follows Google's rules: the most specific user-agent group applies, the longest rule wins, and wildcards * and $ work.

    Test Before You Upload

    Paste your own rules to try a change safely before touching the live file.

    Common Mistakes Flagged

    Warns about Disallow: / for all crawlers, server errors, missing Sitemap lines and oversized files.

    Robots.txt Generator

    Build a new file with presets for WordPress, online stores and AI crawlers, then copy or download it.

    Several Crawlers

    Test as Googlebot, Googlebot-Image, Bingbot, GPTBot, CCBot or any crawler.

    GUIDE

    How to use the robots.txt tester

    Check what crawlers can reach, and write a robots.txt you can trust.

    QUESTIONS

    Common questions about the robots.txt tester

    How crawlers read robots.txt rules, and what blocking a page does and does not do.

    It tells crawlers which parts of your site they may visit. It controls crawling, not indexing, so a blocked URL can still appear in search if other sites link to it.

    Use a noindex meta tag or X-Robots-Tag header, and leave the page crawlable so Google can see that tag. Blocking it in robots.txt stops Google from reading the noindex.

    At the root of your domain, for example https://yoursite.com/robots.txt. Each subdomain needs its own file.

    That is your choice. Blocking bots like GPTBot or CCBot stops well-behaved AI crawlers from using your content for training. It does not affect Google Search rankings.

    Google renders pages like a browser. If it cannot load your CSS and scripts, it may see a broken page and rank it lower.

    A 404 is treated as "everything allowed". A 5xx server error can make Google pause crawling the whole site until the file works again.

    MORE TOOLS

    Keep auditing your site

    Same free, no-signup approach, pick whichever check you need next.

    Virus Checker

    Look for injected scripts and hidden iframes, and check SSL, security headers and mixed content.

    Try it →

    Hidden Element Checker

    Reveal elements set to display:none, the kind of cloaking that gets sites penalized.

    Try it →

    Sitemap Generator

    Build a clean XML sitemap with real lastmod dates, and check your robots.txt at the same time.

    Try it →

    Want the full picture?

    Run every check on your site in one go with the free full site audit.

    Run a full site audit →