Skip to content

Web tool

robots.txt Builder

Allow the site, block a few paths, and copy the robots.txt text.

Processed in your browser. The text is not sent to our servers.

How to build a robots.txt file

  1. Leave “Allow the whole site” on when crawlers may read the public pages.
  2. List any path to block, one per line, starting with /.
  3. Add a sitemap URL if you have one, then copy the file.

Allow: / with Disallow: /admin tells a crawler the site is open except that path. The page does not upload the file or fetch your site.

Back to Web tools

Frequently asked questions

Does this test a live site?

No. It writes the file from the choices you make. It does not request the URL.

What if I leave the blocked paths empty?

With the allow box on, the file allows the whole site. Turn the box off and leave the paths empty to allow everything with a blank Disallow line.

Keep working without leaving the site.