Browse all tools
SEO Tool

Robots.txt Generator

Create a robots.txt file in seconds. Set crawler rules, block AI bots with one click, add your sitemap, and copy the result. Free and fully in your browser.

1Choose a starting point
2Set crawler rules
3Block AI crawlers optional

Adds a Disallow-all rule for each bot you check.

4Add sitemaps optional

One full URL per line.

5Your robots.txt
robots.txt

Upload this file to the root of your site so it loads at /robots.txt.

Guide

How to use the robots.txt generator

1

Pick a Starting Point

Use a quick-start preset like Allow everything, Block everything, or WordPress, or build your own rules from scratch.

2

Set Your Rules

Add a user-agent, list the paths to disallow or allow, check any AI crawlers to block, and paste your sitemap URLs. The file updates as you type.

3

Copy or Download

Copy the robots.txt or download the file, then upload it to the root of your site so it loads at yoursite.com/robots.txt.

Pixellize free online tools illustration showing browser, file, and gear icons

Control What Search Engines and Bots Can Crawl

Benefits

Why Use Our Robots.txt Generator?

Quick-Start Presets

One click for Allow everything, Block everything, or a sensible WordPress setup. Tweak from there.

Block AI Crawlers

Tick a box to keep GPTBot, ClaudeBot, CCBot, Google-Extended, and other AI bots out of your content.

Multiple Rule Groups

Set different Allow and Disallow rules for each user-agent, with as many groups as you need.

Crawl-delay Support

Add a crawl-delay for bots that respect it, to ease load on busy servers.

Sitemap Lines

List one or more sitemap URLs and they are added to the file in the right format.

Live Preview

See the finished robots.txt update as you type, then copy or download it in one click.

FAQ

Frequently Asked Questions

Common questions about robots.txt and crawler control.

What is a robots.txt file?

A robots.txt file sits at the root of your site and tells search engine crawlers which pages or folders they can and cannot access. It is the first file most bots check before crawling.

Where do I put the robots.txt file?

Upload it to the root of your domain so it loads at yoursite.com/robots.txt. It will not work from a subfolder.

Does robots.txt stop a page from being indexed?

Not on its own. Disallow blocks crawling, but a blocked page can still be indexed if other sites link to it. To keep a page out of search, use a noindex tag instead.

Can I block AI crawlers with robots.txt?

Yes, for bots that honor it. Checking the AI crawler boxes adds a Disallow-all rule for each one. Well-behaved bots follow it, though it cannot force compliance.

What does an empty Disallow mean?

An empty Disallow line means nothing is blocked, so the crawler is allowed everywhere. That is how you allow full access for a user-agent.

Is this robots.txt generator free?

Yes, it is completely free with no signup and no limits. It runs entirely in your browser, so nothing is uploaded or stored.

Scroll to Top