FREE ROBOTS.TXT GENERATOR
Build a copy-ready robots.txt file entirely in your browser. Configure User-agent groups, Allow and Disallow rules, and a Sitemap directive — with useful presets and local validation.
Quick Presets
Rule Groups1
Rule Group 1
*No Allow rules. Click "Add path" to allow a specific file or path within a blocked directory.
Options
Validation
- robots.txt controls crawler access only. It is not a security mechanism — blocked URLs may still appear in search results if linked from other pages.
# Generated with VClick Tools User-agent: * Disallow:
How to Use This Generator
Follow these steps to generate a valid robots.txt file for your website:
Step 1 — Choose a preset
Select Allow All, Block All, WordPress, or Custom. Presets populate a sensible starting configuration that you can edit.
Step 2 — Configure User-agent groups
Each group targets one or more crawlers. Use * for all crawlers, or select Googlebot, Bingbot, GPTBot, or ClaudeBot individually.
Step 3 — Add Disallow and Allow rules
Click path shortcuts to quickly add common directories, or type a custom path. Add Allow rules to create exceptions inside blocked directories.
Step 4 — Add your Sitemap URL
Paste your sitemap URL (e.g. https://example.com/sitemap.xml). This helps crawlers discover your sitemap directly from the robots.txt file.
Step 5 — Review validation messages
Check the validation panel for warnings about potentially blocking your entire site or malformed paths.
Step 6 — Copy or download
Click Copy Robots.txt to copy to your clipboard, or Download robots.txt to save the file. Upload it to the root of your domain.
What Is a robots.txt File?
What Does robots.txt Do?
How to Use the Robots.txt Generator
Where Should robots.txt Be Placed?
User-agent, Allow, and Disallow Directives
How to Block a Directory
How to Allow a Specific File
How to Add a Sitemap to robots.txt
Using Multiple User-agent Groups
robots.txt and Googlebot
robots.txt and AI Crawlers
robots.txt vs Noindex
Common robots.txt Mistakes
What robots.txt Cannot Do
How to Check and Deploy Your robots.txt File
Frequently Asked Questions
Common questions about robots.txt files and how to use this generator.
Was this tool useful?
Your feedback helps us improve VClick Tools.