← All tools

DEVELOPER TOOL

Robots.txt Generator

Build a robots.txt draft with user-agent, path rules, and sitemap URL.

Use * to apply these rules to all crawlers.
Each path must begin with /. A blank value adds no disallow rule.
User-agent: *
Disallow: /private/
Disallow: /admin/

User-agent selects the crawler group. Disallow and Allow entries are URL paths, one per line. Crawl-delay is an optional extension and is not supported by every crawler. These rules guide crawling; they do not secure private content.

Incorrect crawl rules can hide public pages from search. Review the generated file and test important URLs before publishing.

The robots.txt draft is generated locally.

How to use Robots.txt Generator

  1. Choose the crawler and add path rules.
  2. Enter an optional absolute sitemap URL.
  3. Review and copy the robots.txt draft to your site root.

Does robots.txt protect private files?

No. Robots.txt is a crawler hint, not an access-control mechanism. Protect private resources with authentication.