Skip to main content
WorkUtilities

robots.txt Generator

Build a valid robots.txt with user-agent rules, allow/disallow paths, and sitemap URL. Copy or download instantly.

Last updated: June 2026

Disallow
Allow

Live Preview

User-agent: *

About robots.txt Generator

Our free robots.txt Generator builds a valid robots.txt file with user-agent rules, allow/disallow paths, crawl-delay, and sitemap URL β€” with live preview.

One-click presets for WordPress, Next.js/Vercel, allow-all, block-all, and AI crawler blocking (GPTBot, CCBot).

Copy to clipboard or download as robots.txt instantly. No signup, runs entirely in your browser.

Read the full guide: robots.txt generator guide β€” syntax & validation

When Should You Use robots.txt Generator?

New website launch

Create a robots.txt before going live.

Block admin areas

Prevent crawlers from indexing /admin/ or /wp-admin/.

Block AI crawlers

Add GPTBot, CCBot, and Meta AI blocking rules.

Next.js / Vercel

Apply standard _next and /api/ disallow patterns.

Sitemap declaration

Add your sitemap.xml URL for search engines.

Frequently Asked Questions

Help Us Improve

Your feedback helps us build better tools.