Robots.txt Generator
Build a valid robots.txt with AI-crawler presets.
Rules
Each rule: which crawler (user-agent), allow or disallow, and which path.
Presets
AI crawlers
Check the bots you want to keep out. Compliance is voluntary — see Honest limits.
Key links
The pages you most want AI assistants to know about.
Upload the file to your site's root (e.g. https://example.com/robots.txt).
Working…
Something went wrong
Your results will appear here.
Fill in the input above and run the tool to get started.
Honest limits
robots.txt is an instruction to well-behaved crawlers, not a firewall — and it can't keep a page out of Google's index by itself.
How to use the Robots.txt Generator
- Choose the robots.txt tab (for search crawlers) or the llms.txt tab (a machine-readable summary for AI assistants).
- Add rules or links, or start from a preset. The file preview updates live.
- Copy or download the file and place it at your site's root.
Examples
Example
The WordPress preset generates a ready-to-use robots.txt that allows all crawlers, blocks /wp-admin/, and adds your sitemap line. The AI crawler section adds disallow rules for GPTBot, ClaudeBot, PerplexityBot and Google-Extended.
What this tool doesn't do
- robots.txt is a voluntary convention — well-behaved crawlers obey it, but nothing forces them to. It is not a legal mechanism to control AI training-data use.
- Blocking a crawler does not remove already-indexed or already-collected content.
- llms.txt is an emerging convention, not a standard — support varies.
Frequently asked questions
Related tools
Meta Tags Analyzer
Audit any page's title, description and social tags.
Use toolXML Sitemap Generator
Generate a valid XML sitemap from your URL list.
Use toolOpen Graph Generator
Build perfect Open Graph and Twitter Card meta tags with a live social-share preview.
Use toolSlug Generator
Turn any title into a clean, SEO-friendly URL slug — lowercase, hyphenated, accent-free.
Use toolSERP Preview Tool
See exactly how your page appears in Google results — live preview with truncation warnings.
Use toolHeading Analyzer
Paste your HTML and audit the H1–H6 hierarchy — catch skipped levels and empty headings.
Use tool