Practical guide
Free Robots.txt Generator for SEO and AI Crawlers
Use this free robots.txt generator to build readable crawler rules without memorizing directive syntax. Choose Googlebot, all crawlers or another user-agent, enter Allow and Disallow paths, add your XML sitemap URL, and review the file before publishing it at your domain root.
How to use this tool
- 1Choose All crawlers unless a rule genuinely applies to one named bot.
- 2Enter directory or page paths beginning with a forward slash.
- 3Add an absolute sitemap URL, review the preview, then download robots.txt.
- 4Upload the file to your domain root and verify it from your public URL.
Example robots.txt file
User-agent: * Disallow: /admin/ Disallow: /internal-search/ Allow: /assets/ Sitemap: https://example.com/sitemap.xml