← All Tools

Robots Txt Generator🔒 100% local

Generate robots.txt. Privacy-first, no server uploads, no tracking.

Related Tools

Anagram GenAscii ArtBarcode Generator

Reads a rough list of robots.txt directives and re-emits them in a fixed order: a wildcard user-agent line, then every Disallow, then every Allow, then a Sitemap line. Directives you paste are normalised one per line and recognised only when they start with a known keyword. The rebuild happens locally; the file you paste is not uploaded.

How to use it

  1. Paste the directives you want, one per line, for example User-agent: * then Disallow: /private/.
  2. Press Process. The output box shows the rebuilt file.
  3. Copy the result into your public directory as robots.txt.

Worked example

User-agent: * Disallow: /private/ Allow: /private/public/ Sitemap: https://example.com/sitemap.xmlbecomesUser-agent: * Disallow: /private/ Allow: /private/public/ Sitemap: https://example.com/sitemap.xml

Verified in Node against the tool's parser: everything after the first colon is kept, so a sitemap URL survives whole.

Disallow: /admin/ Disallow: /tmp/becomesUser-agent: * Disallow: /admin/ Disallow: /tmp/ # Sitemap: https://yoursite.com/sitemap.xml

With no Sitemap line given, the fallback comment placeholder is used.

When to use it

What it does not do