Follow Us

Robots.txt Generator

Take control of your website's crawl budget. Instantly generate a custom file to guide search engines and block unauthorized AI scrapers.

Global Rules

Restricted Directories

Paths are relative to the root and should contain a trailing slash (e.g., /wp-admin/).

XML Sitemaps

Leave blank if you don't have one. Must be an absolute URL.

Search Engines

Googlebot
Bingbot
Slurp
DuckDuckBot
Baiduspider
YandexBot
Sogou
Exabot
facebot
ia_archiver

AI Crawlers (2026)

GPTBot
ChatGPT-User
ClaudeBot
Claude-Web
Anthropic-ai
Applebot-Extended
Google-Extended
CCBot
OmgiliBot
FacebookBot
PerplexityBot
Diffbot
Cohere-ai

Live Preview

Generated securely inside your browser. Zero data is sent to our servers.

How to Use Robots.txt Generator

Tell search engines and AI bots what they may visit on your website — without writing the rules by hand.

1

Set Default Access

Allow all robots (recommended) or block the whole site.

2

Choose Bots & Folders

Allow or refuse specific search engines and AI bots, add folders to block and your sitemap.

3

Copy or Download

Save robots.txt and upload it to your site's main folder.

Controls

Search & AI bots

Block

Any folder

Adds

Sitemap line

Works on

Phone & computer

Privacy

Files stay on your device

Price

100% free

What Can You Use It For?

Popular ways people use Robots.txt Generator.

SEO

Keep crawlers away from useless pages.

AI Training

Block AI crawlers if you want.

Private Areas

Discourage crawling of admin and login pages.

Server Load

Slow down aggressive bots.

Tips for the Best Result

  • Never block your whole site by mistake — check the result.
  • robots.txt is a request, not a lock; use passwords for private pages.
  • Google ignores Crawl-delay; Bing and others respect it.

Frequently Asked Questions

Quick answers about Robots.txt Generator.

In your main folder, so it opens at yoursite.com/robots.txt.

Yes. Set GPTBot and other AI bots to Refused.

Not always. Use a noindex tag to remove pages from results.

No. Google sets its own speed; Bing and Yandex follow it.

Yes.

Related Free Tools

Ready to Use Robots.txt Generator?

Scroll up and get your result in seconds. 100% free, no sign-up needed.

Start Now

Ad Blocker Detected

Toolszu provides free access to over 1,000 tools. We rely on minimal ads to maintain our servers and keep improving the site for everyone.

Please pause or disable your ad blocker to continue using Toolszu.

or
Go ad-free — from $19/year

Already have a plan? Sign in