Developer Robots.txt Generator

Robots.txt Generator

Build a valid robots.txt file to control how search engine crawlers access your site.

Use * to target all crawlers

Disallow paths
Allow paths (exceptions)
Generated robots.txt
User-agent: *
Disallow: /admin/

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

How to use this tool

Choose Allow all crawlers to open your whole site to indexing, Block all crawlers to keep it out of search results (handy for staging sites), or Custom rules to disallow specific paths with optional allow exceptions. Set User-agent to * to target every crawler, or name a specific bot, and optionally set a Crawl-delay in seconds. Add your Sitemap URL so crawlers can discover it automatically. The generated robots.txt on the right updates live — copy it and upload it to the root of your domain.

Related Tools

Related Blog Posts

We use cookies

We use cookies for analytics and to support advertising. You can accept all cookies or decline non-essential ones — change this anytime from Cookie Settings in the footer. Privacy Policy