All tools

robots.txt Generator

Network

Build a robots.txt file from one or more User-agent groups with Allow/Disallow rules and an optional Crawl-delay, plus a list of Sitemap URLs

Add one or more User-agent groups, give each its own Allow and Disallow paths and an optional Crawl-delay, then list any Sitemap URLs to append, and get back a valid robots.txt ready to drop at your site root. It is the generator-side sibling of the robots.txt Validator: a group left with no rules at all gets an explicit empty Disallow line, which is the standard way of saying that crawler may fetch everything rather than leaving its intent ambiguous. Nothing here resolves DNS or fetches a live site, it only assembles the text from what you give it, so getting the User-agent tokens and paths right is still on you.

robotsseocrawlergenerator

How to use robots.txt Generator

  • 1.Add a group, type one or more User-agent tokens (like * or Googlebot), then list the paths it should Allow or Disallow.
  • 2.Set a Crawl-delay on a group if that crawler needs to be slowed down, and add any Sitemap URLs you want listed at the end.
  • 3.Copy the generated robots.txt and save it at your site's root as /robots.txt.

Frequently asked questions

What happens if I leave a group's Allow and Disallow lists empty?
It generates an explicit empty "Disallow:" line for that group, which is the standard robots.txt convention for allowing that crawler to fetch everything.
Does this check that my site actually matches these rules?
No, it only assembles the text you configure into valid robots.txt syntax. It doesn't fetch your site or verify the paths exist.
Can I generate rules for multiple crawlers at once?
Yes, add as many User-agent groups as you need, each with its own rules; they're written out in the order you add them.
Do Sitemap URLs need to be absolute?
Yes, per the sitemaps.org protocol a Sitemap directive must be a full absolute URL (starting with http:// or https://), and the generator rejects anything else.

Use via API, SDK, or MCP

cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/robots-txt-generator \
  -H "Authorization: Bearer utx_live_..." \
  -H "Content-Type: application/json" \
  -d '{"groups":[{"userAgents":["*"],"disallow":["/admin"]}],"sitemaps":["https://example.com/sitemap.xml"]}'

Get an API key from your dashboard · Full API docs →