Free Robots.txt Generator — Build a Valid robots.txt in Seconds
Add per-bot allow/disallow rules, set a crawl delay, and list your sitemaps — then copy or download a clean, search-engine-ready robots.txt file.
1. Crawl rules (one row per rule)
2. Optional settings
# Your robots.txt will appear here as you type.
Everything runs in your browser — your rules are never sent to any server.
No account, no email, no paywall. Open the page and start building.
Generate and download unlimited robots.txt files at no cost.
How to use
- 1Add crawl rules
Type a bot name (or * for all bots), choose Allow or Disallow, and enter the path. Use the + Add rule button for more rows.
- 2Set delay and sitemap
Optionally add a crawl delay in seconds and your sitemap URL so crawlers find it automatically.
- 3Review the preview
The robots.txt preview updates live as you type — check that every rule looks right before copying.
- 4Copy or download
Hit Copy to grab the text, or Download robots.txt to save the file, then upload it to your site’s root folder.
Features
Target Googlebot, Bingbot, or any crawler by name — or use * to cover every bot at once.
Block whole sections like /admin/ while still permitting public assets such as /images/.
Add as many rule rows as your site needs, grouped automatically by user agent.
Ask aggressive bots to slow down so they don’t overload a small server.
Append a Sitemap line so search engines discover your sitemap without guessing.
The tool warns you if you try to export an empty file with no rules or sitemap.
Frequently asked questions
What is a robots.txt file?
Does robots.txt keep pages out of Google?
What does User-agent: * mean?
What is crawl-delay for?
Should I add my sitemap to robots.txt?
Where do I upload the file after downloading?
Is my data private?
Related tools
Turn a URL list into a valid sitemap.xml for search engines.
JSON Formatter & ValidatorFormat, validate, and inspect JSON with one click.
Password GeneratorCreate strong, random passwords for your accounts and servers.
QR Code GeneratorMake free QR codes for links, Wi-Fi, and contact cards.
Word CounterCount words, characters, and reading time for your SEO content.
