Robots.txt Generator

Build a robots.txt file without having to learn the syntax. Add rules per crawler, point to your sitemap and download the finished file.

Runs in your browser · nothing uploadedFree · no sign-up
Loading tool…

How to use the Robots.txt Generator

  1. Choose whether to allow or block all crawlers by default.
  2. Add the paths to disallow and your sitemap URL.
  3. Download robots.txt and upload it to your site's root.

Features

  • Rules for each user agent
  • Optional blocking of common AI training crawlers
  • Sitemap directive

Frequently asked questions

Does robots.txt hide pages from Google?

Not reliably. It stops crawling, but a blocked URL can still appear in results if other sites link to it. Use a noindex meta tag to keep a page out of search.

Where does robots.txt go?

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