robots.txt Generator

Generate robots.txt file

Presets

Block #1

Preview

User-agent: *
Allow: /

About robots.txt Generator

robots.txt generator creates robots.txt file online, controls search engine crawler rules. Allow/disallow specific paths, specify Sitemap, set crawl delay, essential for website SEO basic config.

How to Use

  1. Choose crawlers to allow/disallow
  2. Add allow/disallow path rules
  3. Optional set Sitemap URL and crawl delay
  4. Download robots.txt to website root directory

Frequently Asked Questions

Can robots.txt completely block crawlers?
No. robots.txt is gentleman's agreement — legitimate crawlers obey but malicious crawlers ignore. True protection of sensitive content needs password auth or IP whitelist.
What if Allow and Disallow conflict?
More specific rule takes precedence. With Disallow: /admin/ and Allow: /admin/public/, public subdirectory allowed, other admin paths disallowed.
Which paths should be disallowed?
Admin panel (/admin/), user privacy (/user/), duplicate content (/print-version/), temp pages (/temp/), search results (?search=). Allow main content pages for indexing.