Guide compliant crawlers through your website
A robots.txt file communicates crawl preferences to search engine robots and other compliant web crawlers. It can permit broad access, restrict selected paths, create crawler-specific groups, and advertise XML sitemap locations.
The file belongs at the root of a protocol and hostname. For example, rules for https://example.com/ should normally be accessible at https://example.com/robots.txt. Rules on another subdomain or protocol do not automatically apply.
This generator creates groups from your chosen user agents, Allow rules, Disallow rules, and optional crawl delays. It also checks common formatting concerns and provides a practical path tester before you publish the file.
Crawling control is not indexing control
Disallowing a URL prevents compliant crawlers from fetching it, but does not guarantee removal from search results. If a URL is discovered through external links, it may still appear without a descriptive snippet. Use suitable indexing controls and authentication where appropriate.