Free SEO tools · Technical

Robots.txt generator

Choose which folders to keep crawlers out of, add your sitemap, and decide how AI crawlers are treated. Copy the result to /robots.txt at your site's root.

User-agent: *
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/

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

Questions

Does robots.txt hide pages from Google?No. It stops crawling, but a blocked page can still appear in results if other sites link to it. Use a noindex tag to keep a page out of results.
Should I block AI crawlers?Blocking AI search bots keeps you out of ChatGPT, Claude and Perplexity answers. Many businesses allow search bots and block only training bots.

Related tools