Free tool

robots.txt generator and tester

Build a clean robots.txt, then test whether a specific path is blocked for Googlebot, an AI crawler or any other user agent.

Your input never leaves your browser.

Build the file

One path per line. Leave empty to allow everything.

Ask these AI crawlers not to crawl the site

Your robots.txt

    Test a path

    For example /blog/post/ or /search?q=shoes

    How to use it

    1. List the paths you want crawlers to avoid, one per line, such as /admin/ or /cart/.
    2. Tick any AI crawlers you want to ask not to crawl the site, and add your sitemap URL.
    3. Copy or download the file and upload it to the root of your site as /robots.txt.
    4. Use the tester to check that important pages are still allowed. You can also paste an existing robots.txt to test instead.

    Limits. The tester follows Google-style matching for * and $ wildcards. Other crawlers can interpret edge cases differently, and the tool cannot see your live file.

    Questions

    Does robots.txt remove a page from Google?

    No. It asks compliant crawlers not to fetch a URL. A blocked page can still appear in results if other sites link to it. To keep a page out of search, use a noindex tag or require a login.

    Is robots.txt a security measure?

    No. The file is public and only polite crawlers follow it. Never rely on it to hide private content.

    Will blocking AI crawlers stop my content being used?

    It is a request that well-behaved crawlers say they honour. It does not cover every company, and it cannot remove content that was already collected.

    Why does the tester say allowed when I expected blocked?

    Rules are matched by the most specific path, and Allow wins a tie. Check for a longer Allow rule, and make sure paths start with a slash.

    More free tools

    The ZYFR letter

    Search visibility, minus the fluff.

    Occasional, practical notes on SEO, AI-search visibility and site performance. Unsubscribe any time.

    By subscribing you agree to receive occasional emails from ZYFR. See the privacy notice.