Robots.txt Generator

Generate a robots.txt file based on user options.

Result
User-agent: *
Disallow: /admin
Disallow: /private

Sitemap: https://example.com/sitemap.xml

Related tools

How it works

  1. 1Select User-agent (e.g., *, Googlebot, or custom).
  2. 2Add Allow and Disallow rules for paths.
  3. 3Optionally add Sitemap URL.
  4. 4The tool generates a valid robots.txt file. Copy and upload to your site root.

Example

Example result: User-agent: *
Disallow: /admin/
Allow: /
Sitemap: https://example.com/sitemap.xml