Robots.txt Generator

Create a valid robots.txt file for your website. Block AI crawlers, set crawl rules for specific bots, and add your sitemap — all with a live preview.

Quick presets:

Rule 1
Sitemap URLs
Add the full URL(s) to your sitemap(s)
Live Preview
robots.txt — updates in real time
User-agent: *
Disallow: /

Real-time Preview

See your robots.txt update instantly as you fill in the form — no guessing.

Block AI Crawlers

One-click preset blocks GPTBot, Claude-Web, CCBot, Google-Extended, and more.

Valid Syntax

Generates correctly formatted output that search engine crawlers can parse.

How to Create Your robots.txt
Four simple steps
1

Choose a preset

Start with a one-click template or begin from scratch.

2

Add rules

Set User-agent, Allow/Disallow paths, and crawl delay for each bot.

3

Add sitemap URLs

Paste your sitemap URL(s) so search engines can find them.

4

Download

Download robots.txt and upload it to the root of your website.

Frequently Asked Questions