Back to tools

robots.txt Generator

Build a robots.txt that tells search engines what to crawl. Add per-bot rules, crawl delays and sitemaps.

Crawl rules

robots.txt

3 lines
User-agent: *
Allow: /

How to use the robots.txt Generator

Pick a starting preset

Allow all, disallow all, block admin pages or block AI scrapers.

Add per-bot rules

Add rules for specific crawlers with allow/disallow paths, one per line.

Set crawl delays

Optionally slow down aggressive bots with a crawl-delay in seconds.

Add sitemap URLs

List your sitemap.xml URLs so crawlers discover every page.

Review the live file

The robots.txt preview updates instantly as you edit the rules.

Download & upload

Download robots.txt and upload it to your domain root.

FAQ

Frequently asked questions

What is a robots.txt file?

A text file at your domain root that tells search engine crawlers which pages they may or may not visit.

Where do I put the generated robots.txt?

Upload it to your domain root so it is served at https://yourdomain.com/robots.txt.

Do all bots obey robots.txt?

Well-behaved crawlers like Googlebot obey it. It is advisory — malicious scrapers may ignore it.

Can I block specific pages from crawlers?

Yes, add disallow rules for any path, from single pages to whole directories.

Is the robots.txt generator free?

Yes, building and downloading robots.txt files is completely free.