How to use this generator
Build a simple robots.txt file from structured fields for user-agent, allow, disallow, and sitemap entries.
How generation works
- Creates crawler directives from the paths you enter.
- Includes optional crawl-delay and sitemap lines.
- Can inspect pasted robots.txt for common structure issues.
Formula
robots.txt uses User-agent blocks plus Allow, Disallow, optional Crawl-delay, and Sitemap directives.
Example
Generate a file that allows the public site, disallows private paths, and references the sitemap.
Using the generated output
Use the output as a practical starting point, then review it before using it in an important workflow.
Assumptions and limitations
- robots.txt is crawler guidance, not security or access control.
- Do not rely on robots.txt to hide sensitive URLs.
Frequently asked questions
Does this require an account?
No. The core tool works without creating a Tool2Do account.
Is my input included in share links or analytics?
No. Tool2Do share actions use the tool page URL and safe metadata, not private values or uploaded files.