Robots.txt Generator
Create a robots.txt file visually. Select which crawlers to allow or block, specify paths to disallow, and set your sitemap URL. Preview the output in real time and download the file ready to upload to your server root. No signup required.
Updated June 2026
- 1Set your crawl rules
- 2Add your sitemap URL
- 3Download the robots.txt file
User-agent: * Allow: / Disallow: /admin/ Sitemap: https://example.com/sitemap.xml
How to Use Robots.txt Generator
- 1
Set your crawl rules
Choose which bots to allow or block and which paths to disallow.
- 2
Add your sitemap URL
Optionally include a link to your sitemap.xml.
- 3
Download the robots.txt file
Place it in your site's root directory.
Frequently Asked Questions
What is robots.txt used for?▼
Does robots.txt actually block bots?▼
What is the correct format for a disallow rule?▼
Should I block CSS and JavaScript files?▼
How do I add my sitemap to robots.txt?▼
How to use Robots.txt Generator
- 1
Set your crawl rules
Choose which bots to allow or block and which paths to disallow.
- 2
Add your sitemap URL
Optionally include a link to your sitemap.xml.
- 3
Download the robots.txt file
Place it in your site's root directory.
Frequently asked questions
Everything you need to know about robots.txt generator.
Explore more category tools
Convert, optimize and organize your files with our full collection of free tools.