Tools Cube

Command Palette

Search for a command to run...

robots.txt Generator

Generate a clean robots.txt with multiple user-agents, rules, sitemaps, and helpful presets.

Presets
Start fast, then customize below.

Pretty print

Global
Host, sitemaps, and optional comments.

These lines will be appended as-is. Use carefully.

User-Agents & Rules
Add allow/disallow paths, delay, and clean parameters per bot.
Type
Path (supports * and $)
Remove
No explicit rules. This means allow all for this agent (equivalent to Disallow:).

Used by some crawlers to ignore tracking params (legacy).

1 agent(s)4 lines
Preview
Review and export your robots.txt.

Use wildcards (*) and end-anchors ($) for patterns. Keep sensitive content off the web; robots.txt is public.

robots.txt
  • Disallow prevents compliant bots from crawling; it doesn’t hide URLs.
  • Place robots.txt at the root: https://your-domain.com/robots.txt.
  • Add Sitemap: lines for each sitemap URL (XML index or individual files).
  • Prefer Allow: exceptions before broad Disallow patterns for clarity.
  • Test with Google Search Console’s robots tester where available.
robots.txt Generator - Tools Cube