Generate common robots.txt rules and a sitemap reference line as a baseline before launch.
User-agent: * Allow: / Sitemap: https://example.com/sitemap.xml
User-agent: GPTBot Allow: / User-agent: OAI-SearchBot Allow: / User-agent: PerplexityBot Allow: /
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-11-27</lastmod>
</url>
</urlset>
robots.txt rules affect how search engines and AI crawlers fetch your site. Allowing or blocking a crawler is a business decision: this tool only generates templates and does not choose a policy for you. Compare each line against your current file before changing it.