Robots.txt generator
Use this robots.txt generator to write the file for your whole site. Start from a WordPress, Shopify, Wix or Squarespace default, then test any path against the result.
Free, no account. The file is built in your browser and nothing is sent.
Your robots.txt
Read back by the parser: 1 group, 0 rules, 0 sitemap lines, 64 bytes.
# aigrow.gg/tools/robots-txt-generator
User-agent: *
Disallow:
Test a path
Allowed Googlebot has no group of its own and follows the * group. No rule matches this path, so it is allowed.
A robots.txt file sits at the root of a site and tells crawlers which paths they may request. This generator writes user agent groups, allow and disallow rules and sitemap lines, then reads the file back with the RFC 9309 parser our robots.txt tester uses, so you can test a path before you upload it.
How this works
- Groups and rules
- Each group names one or more user agents, the paths they may not request (Disallow) and the exceptions (Allow). A path starts with / or *, and $ marks the end of a URL. A crawler follows the group that names it and falls back to the * group when none does.
- Platform defaults
- The WordPress preset matches the file WordPress writes itself. The Shopify, Wix and Squarespace presets copy the default files that sites on those platforms served in October 2026. Shopify edits go through the robots.txt.liquid theme template and Wix has a robots.txt editor in its SEO settings. Squarespace documents no way to upload your own file, so its preset is for reference.
- Crawl delay
- Google ignores Crawl-delay. Bing reads it as a time window of 1 to 30 seconds. The generator takes whole seconds from 1 to 30 and writes the line only in the groups where you set it.
- Checked before you copy
- The finished file is read back with the RFC 9309 parser our robots.txt tester runs. If a line would be read differently from how it was meant, or the file passes Google’s 500 KiB limit, the page says so. The path test shows which line decides for a given crawler.
Questions about robots.txt
Check your business in AI answers
Pages that crawlers can read and follow are the groundwork. The free AI visibility scan shows how assistants answer about your business and what to work on next.