Web Tools

Robots.txt Generator

Input

Output

Ready.

Supported directives

Use standard robots.txt lines such as User-agent, Allow, Disallow, and Sitemap. The generator normalizes spacing, adds a default User-agent: * block when needed, and appends a sitemap for your site if you do not include one.

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