- Choose a preset or enter a crawler name and paths.
- Add groups if different crawlers need different rules.
- Optionally enter an absolute sitemap URL.
- Generate and inspect every rule, then download robots.txt for your site root.
Draft crawl instructions
This generator writes robots.txt text from crawler groups, Allow and Disallow paths, and an optional Sitemap URL. It does not inspect your site or determine which URLs a particular crawler will permit. The generated file remains local until you publish it. Robots.txt controls cooperative crawling; it is not authentication or a way to keep private files secret.
Groups, paths and presets
An empty crawler field becomes *. This editor accepts crawler tokens made of letters, hyphens and underscores. Enter one path per line; a missing leading slash is added. Paths retain case and may contain wildcard * or end marker $. Spaces, backslashes, literal # and full URLs in path fields are rejected to avoid ambiguous rules. Empty Allow and Disallow fields generate an empty Disallow line. The media preset lists only jpg, jpeg, png, gif and pdf suffixes; it is not an exhaustive media blocker. Common-path rules are examples, not a security policy.
Optional fields and compatibility
Sitemap accepts an absolute HTTP or HTTPS URL without credentials or a fragment. Host accepts a hostname only and is a legacy crawler-specific directive: Google does not support Host in robots.txt. Leave it empty for a Google-focused file. The generator does not provide crawl-delay, indexing directives or a rule-match simulator. It rejects output over 500 KiB. Review crawler-specific behavior in the Google robots.txt specification.
Publish carefully
Editing fields, adding or removing a group clears the old output until you generate again. Presets replace the rule groups and generate a fresh result. Copy depends on browser permission; Download saves robots.txt locally. Place the reviewed file at the origin root and verify its served content. Blocking a page’s crawl does not reliably remove its URL from search, and can prevent a crawler from reading a noindex tag on that page. See Google’s noindex guide. Use Sitemap Generator to create a separate sitemap file.