Robots.txt Generator

Build a clean robots.txt with user-agent rules, disallow paths and your sitemap URL in seconds.

Explore More Tools

Generated entirely in your browser. Nothing is stored or sent anywhere.

How the Robots.txt Generator Works

1

Choose the user-agent, usually * to cover all crawlers.

2

List the paths to block, one per line, like /wp-admin/ or /cart/.

3

Add your sitemap URL, generate, then upload robots.txt to your site root (public_html).

What should I never disallow?

Your CSS and JavaScript files: blocking them can hurt how Google renders your pages.

Does robots.txt hide pages from Google?

No. It prevents crawling, not indexing. Use a noindex meta tag for that.

Is this generator free?

Yes, completely free and it runs entirely in your browser.