US LA
0 0
:
0 0
:
0 0
US NY
0 0
:
0 0
:
0 0
FR PAR
0 0
:
0 0
:
0 0
RU MOW
0 0
:
0 0
:
0 0
TH BKK
0 0
:
0 0
:
0 0
AU SYD
0 0
:
0 0
:
0 0
โ€ฆ
๐Ÿค–

Robots.txt Generator

Easily create your robots.txt file with live preview and smart presets.

TXT SEO Crawlers

โš™๏ธ Configuration

User-Agents

Rules
seconds

Sitemap

Full URL to your XML sitemap file

Host (optional)

Host directive for Yandex (preferred domain)

Quick Presets

๐Ÿ‘๏ธ Live Preview

robots.txt 0 bytes
# robots.txt
๐Ÿ”’

Your data stays on your device. Nothing is sent to our servers.

What is robots.txt?

The robots.txt file is a text file placed at the root of your website that tells web crawlers (like Googlebot) which pages they can or cannot visit. It's an essential element of technical SEO that allows you to control how your site is indexed.

Features

๐ŸŽฏ

Precise Control

Fine-tune access for different bots to your pages and directories.

๐Ÿ‘๏ธ

Live Preview

Instantly visualize the generated robots.txt file with syntax highlighting.

โšก

Presets

Quickly apply common configurations with a single click.

๐Ÿ”’

100% Private

All processing is done locally. No data is sent to the server.

How to use?

1

Configure rules

Select user-agents and define which paths to allow or block.

2

Add your sitemap

Enter your XML sitemap URL to help with indexing.

3

Download the file

Copy or download the file and place it at your site's root.

Robots.txt Syntax

User-agent: * Targets all bots or a specific one
Disallow: /path/ Blocks access to the specified path
Allow: /path/ Allows access (overrides Disallow)
Sitemap: url Indicates the sitemap location

Frequently Asked Questions

Where should I place the robots.txt file?

The robots.txt file must be placed at your domain's root, accessible at https://yoursite.com/robots.txt. It won't work if placed in a subdirectory.

Do bots always respect robots.txt?

Legitimate bots like Googlebot and Bingbot respect robots.txt. However, malicious bots may ignore it. For real protection, use authentication or server rules.

What's the difference between Allow and Disallow?

Disallow blocks access to a path, while Allow explicitly permits it. Allow is useful for creating exceptions within a broader Disallow rule. More specific rules take precedence.

How do I block AI bots like GPTBot?

Use our "Block AI bots" preset or manually add User-agent groups for GPTBot, Claude-Web, and other AI bots with Disallow: /. Note that some bots may not respect these directives.

Does robots.txt affect my SEO?

Yes, because it controls which pages are crawled and potentially indexed. Blocking important pages can hurt your SEO. Use it to exclude pages with no value (admin, internal search results, etc.).