Skip to content

Robots.txt Generator

Generate a robots.txt file with rules for all major search engine bots.

  • No uploads
  • No account
  • No ads
  • No watermarks
  • Free forever

Network check starts when you add a file or change something in the tool

Blocks every fetch, XHR and beacon request this page makes and switches Google Analytics off, on tool pages, for this session.

Requests this page makes are counted from then on; page-load requests are left out.

How this works / check it yourself

From the moment you add a file or change something in the tool, this badge lists the requests this page makes. It reads the browser's own list of requests (Resource Timing), which shows a request once it finishes, and watches every fetch, XHR and beacon call. Downloads, such as this site's PDF and OCR engines or an AI model from Hugging Face, are listed apart from requests that carry data out.

This page cannot see requests made inside background workers (such as the PDF engine pdf.js and Tesseract OCR), WebSocket and EventSource connections, form submissions, link pings or the site's service worker, so they are not counted here, and offline mode cannot block them. A request is listed once it finishes. Your browser's Network tab shows everything.

Offline mode blocks the fetch, XHR and beacon calls this page makes. A part of the site that set up its connection before the page finished loading, such as sign-in, is not blocked; if it sends anything, the badge counts it as sent.

  1. Open your browser's developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network tab.
  2. Add your file, run the tool and look for any request that uploads it. Requests made by workers are listed there too.
  3. For the strongest test, turn Wi-Fi off once the page has loaded and run the tool again: tools that need no download still work.
All SEO Tools

About Robots.txt Generator

Build a robots.txt file by choosing a crawler, listing the paths to allow and disallow, and adding your sitemap URL. One switch adds rules that block AI crawlers: GPTBot, ClaudeBot, CCBot, Google-Extended and PerplexityBot. The file is written in your browser; copy it or download robots.txt for your site's root.

How to use Robots.txt Generator

  1. Choose which crawler the rules apply to and enter your sitemap URL.
  2. List the paths to allow and to disallow, one per line.
  3. Copy the file or download robots.txt and upload it to your site's root.

Limits: One main rule group, for all crawlers or one named bot, plus optional AI-crawler blocks. No Crawl-delay field. It does not test URLs against the rules or upload the file.

Frequently asked questions

Where do I put robots.txt?

In the root of your domain, so it loads at https://yoursite.com/robots.txt. Crawlers only read it from the root, and each subdomain needs its own file.

How do I block AI crawlers in robots.txt?

Set Block AI training crawlers to Yes. The file gets a Disallow: / rule for GPTBot, ClaudeBot, CCBot, Google-Extended and PerplexityBot. Robots.txt is a request that well-behaved bots follow; it cannot force a bot to stay out.

Does Disallow remove a page from Google?

No. Disallow stops crawling, but a blocked page can still be indexed if other pages link to it. To keep a page out of results, let it be crawled and add a noindex tag.

What is the difference between Allow and Disallow?

Disallow lists paths crawlers should not fetch, such as /admin. Allow lists paths they may fetch, which helps to open a folder inside a disallowed one. Start each path with /.

Is anything uploaded to my site?

No. The file is written in your browser. You copy or download it and upload it to your server yourself.