Skip to content
PickZeal
    SEO tools

    Robots.txt Tester and AI Crawler Checker

    Free robots.txt tester and validator. Fetch or paste robots.txt, test URLs for Googlebot or any bot, and see which AI crawlers like GPTBot are blocked.

    • Free, no sign-up
    • Test any URL and crawler
    • Nothing is stored

    Test results

    URLResultWhy

    Validation

      AI crawler access

      Checked for , the first URL in your test list.

      CrawlerWhat it doesAccess

      Sitemaps listed

        This robots.txt tester checks whether a URL is allowed or blocked for Googlebot, Bingbot or any AI crawler, validates every line of the file, and shows at a glance which AI bots such as GPTBot, ClaudeBot and PerplexityBot can read your site. Fetch the live file from any website or paste your own, edit it, and see the results change before you publish.

        How to test robots.txt for a URL

        1. Type a domain such as example.com and press Fetch robots.txt. If you type a full page URL, that page is added to the test list too.
        2. Add the URLs or paths you want to check, one per line, for example /blog/ or /search?q=shoes.
        3. Pick the crawler. Each URL shows Allowed or Blocked and the line number of the rule that decided it.
        4. Edit the file in the box to try a fix. Results, validation and the AI table update as you type.
        5. When it is right, copy or download the file and upload it to the root of your site.

        How does a robots.txt checker decide what is blocked?

        The tool follows the rules in Google's robots.txt specification and the Robots Exclusion Protocol standard, RFC 9309:

        • A crawler uses the group that names it. If there is none, it uses the User-agent: * group. Groups that name the same crawler are combined.
        • Within the group, the rule with the longest matching path wins, so Allow: /admin/help/ beats Disallow: /admin/.
        • If an Allow and a Disallow rule are equally long, Allow wins.
        • Paths are case-sensitive, * matches any characters and $ marks the end of the URL.
        • A missing robots.txt (HTTP 404) means everything is allowed. A server error (5xx) makes Google stop crawling the site until it can read the file again.

        What does the robots.txt validator check?

        Every line is checked for problems that make crawlers skip or misread it: lines without a directive: value format, misspelled directives such as Dissallow, rules that come before any User-agent, paths that do not start with /, sitemap URLs that are not absolute, a file larger than Google's 500 KiB limit, and an HTML page served in place of a text file. It also points out directives Google ignores, such as crawl-delay, and noindex lines, which Google stopped supporting in September 2019.

        DirectiveWhat it doesExample
        User-agentStarts a group and names the crawler it applies to. * means every crawler without its own group.User-agent: Googlebot
        DisallowA path the crawler must not fetch. Empty means nothing is blocked.Disallow: /admin/
        AllowAn exception inside a blocked path. The longest matching rule wins.Allow: /admin/help/
        SitemapThe full URL of an XML sitemap. Applies to all crawlers.Sitemap: https://example.com/sitemap.xml
        *Wildcard for any characters in a path.Disallow: /*?sessionid=
        $Marks the end of the URL.Disallow: /*.pdf$

        How to check if AI crawlers are blocked

        The AI crawler access table tests the main AI bots against your file. They do different jobs, and blocking the wrong one can hide your site from AI answers:

        • Search and answers bots, such as OAI-SearchBot, Claude-SearchBot and PerplexityBot, decide whether your pages can appear and be cited in AI search. Block them and you lose that traffic.
        • AI training bots, such as GPTBot, ClaudeBot and CCBot, collect pages to train models. Blocking them does not affect search.
        • User request agents, such as ChatGPT-User, visit a page because a person asked the assistant to read it.
        • Opt-out tokens, such as Google-Extended and Applebot-Extended, are not crawlers. They tell Google and Apple not to use pages that their normal crawlers fetch for AI training. Blocking Google-Extended does not change Google Search or AI Overviews.

        OpenAI documents its three agents and what each one is for on its overview of OpenAI crawlers. Keep in mind that robots.txt is a request, not a lock: well-known crawlers follow it, but it cannot stop a bot that ignores it.

        How to block GPTBot and other AI training bots in robots.txt

        Press Block AI training to add this group. It keeps your site in search engines and AI answers while asking the training crawlers to stay out:

        User-agent: GPTBot
        User-agent: ClaudeBot
        User-agent: Google-Extended
        User-agent: Applebot-Extended
        User-agent: CCBot
        User-agent: meta-externalagent
        User-agent: Bytespider
        Disallow: /

        Several User-agent lines in a row share the rules below them. If you want to keep AI tools from reading the site at all, add the search and user-request bots too, but you will no longer be cited in their answers.

        What is robots.txt?

        robots.txt is a plain text file at the root of a website, such as https://example.com/robots.txt, that tells crawlers which URLs they may fetch. It manages crawling, not indexing: a blocked page can still be listed in Google if other sites link to it. Use it to keep crawlers out of admin areas, internal search results and endless filtered URLs, and to point them to your sitemap.

        Pair this tool with the llms.txt Generator to give AI tools a map of your best pages, and use the On-Page SEO Checker to find noindex tags, canonicals and other page-level problems. All of PickZeal's free SEO tools are on the tools page.

        How this tool handles your data

        Browsers cannot read another site's robots.txt directly, so PickZeal's server fetches it for you, following redirects the way crawlers do, and passes it to your browser. It only fetches public websites, reads at most 600 KiB, and limits each visitor to a fair number of requests a minute. Nothing is logged or stored. Parsing, testing and your edits happen in your browser.

        Frequently asked questions

        How do I test my robots.txt file?

        Enter your domain and press Fetch robots.txt, or paste the file into the editor. Then type the URLs you want to check, one per line, and pick a crawler such as Googlebot or GPTBot. Each URL shows Allowed or Blocked and the exact line that decided it. You can edit the file and the results update as you type, so you can test a change before you upload it.

        Does Google still have a robots.txt tester?

        Google retired the old robots.txt Tester in Search Console in late 2023 and replaced it with the robots.txt report, which shows the robots.txt files Google found for your site and any parsing errors. The report does not let you test a URL against a draft file. This tool does, for Googlebot and any other crawler, and follows the same matching rules Google documents.

        How do I check if AI crawlers can access my site?

        Fetch your robots.txt here and look at the AI crawlers table. It lists the main AI bots, including GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended, with whether each is allowed on the first URL in your test list and which group decided it. Change the first URL to check a specific section of the site.

        How do I block GPTBot in robots.txt?

        Add a group for it: "User-agent: GPTBot" on one line and "Disallow: /" on the next. That stops OpenAI from collecting your pages for model training. It does not remove you from ChatGPT search, which uses OAI-SearchBot. The Block AI training button in this tool adds a ready-made group for the main training crawlers.

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

        No. robots.txt controls crawling, not indexing. A blocked URL can still appear in search results, usually without a description, if other pages link to it. To keep a page out of Google, allow crawling and add a noindex robots meta tag or X-Robots-Tag header instead.

        Where does the robots.txt file go?

        At the root of the host, for example https://example.com/robots.txt. Each subdomain and each protocol needs its own file: rules at example.com/robots.txt do not apply to shop.example.com. A robots.txt in a subfolder is ignored.

        Is my robots.txt stored?

        No. PickZeal's server downloads the file only to pass it to your browser, where it is parsed and tested. Nothing is logged or saved, and files you paste or edit never leave your browser.

        More SEO tools

        View all tools