Robots.txt generator

Generate a robots.txt file with user-agent, Allow and Disallow rules from the paths you list, ready to download. Free, runs in your browser.

Tool guide

How to use Robots.txt generator

Generate literal user-agent Allow and Disallow prefix rules from supplied paths.

  1. The Live preview panel shows bounded quick information while you edit. Large input, full reports, random generation and exports still use the action button. Live updates do not spend runs, record tool outcomes or save your input. YAML/XML validation and rendered Markdown require Enable live validation/preview or a first explicit processing action.
  2. Enter or paste your input, choose the options and select Generate robots.txt. File selection alone does not read a file; the explicit action starts local processing.
  3. Disallow: /private/ limits a compliant crawler path prefix but does not protect the resource.
  4. Literal ASCII path prefixes only; no wildcard/comment syntax. Robots directives do not guarantee secrecy or indexing behavior.
  5. Pasted fields only, at most 1 MiB combined input and 4 MiB output. No URL is fetched, opened, published or measured.
  6. Review the complete downloaded result. Editing, Clear, Cancel or leaving invalidates working output; no input or result is uploaded or saved to an account.
Read the full guide

Common questions

What does robots.txt generator support?

Pasted fields only, at most 1 MiB combined input and 4 MiB output. No URL is fetched, opened, published or measured. Literal ASCII path prefixes only; no wildcard/comment syntax. Robots directives do not guarantee secrecy or indexing behavior.