ToolSlash LogoToolSlash
Tools →

Robots.txt Generator

Guide

Robots.txt Directives Guide

The robots.txt file guides search engine spiders and web crawlers on which site directories they may crawl and index.

Standard Syntax

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

Frequently Asked Questions

Where should robots.txt be uploaded?
Upload it to the root directory of your web host so it is accessible at yourdomain.com/robots.txt.
How do I block AI scrapers?
Add User-agent disallow blocks for crawlers like GPTBot, ClaudeBot, and CCBot.