Free SEO Tool

Robots.txt Generator

Create a valid, WordPress-safe robots.txt file — control search engines and AI crawlers with full Allow/Block precision. No signup required.

Free
No signup required
Instant download

Site Details

Sitemap URL (optional but recommended)
This appears to be a homepage URL. Please enter a valid XML sitemap URL, such as https://example.com/sitemap_index.xml.
Crawl-delay in seconds (optional)
Leave blank for most websites. Google does not support the Crawl-delay directive.
Enter a whole number of 1 or higher. Decimals, negative numbers, and text aren't accepted.

Default Access for Search Engines

Warning

This setting may prevent search engines from crawling your entire website and can seriously affect search visibility.

Recommended Presets

Pick a starting point, then fine-tune any crawler below.

AI Crawlers

Set each crawler to Allow, Block, or No rule (leave it out of the file entirely).

AI Training Crawlers

Block crawlers that may collect public website content for AI model development or training.

User-Initiated AI Browsing

These crawlers access a page when a user asks an AI assistant to visit, read or summarize the website.

Custom Rules (optional)

Add extra Allow/Disallow rules for any crawler and path.
Live preview

How it works

1

Set your rules

Choose a preset or fine-tune each AI crawler and search engine setting

2

Watch the live preview

Your robots.txt updates instantly as you change settings — no button needed

3

Download & upload

Save the file and upload it to your site's root directory

SEO best practices

  • Your robots.txt file must live at the root: yoursite.com/robots.txt — not in a subfolder
  • Blocking a page in robots.txt doesn't remove it from Google — use a noindex tag for that
  • Always include your sitemap URL so crawlers can find your pages faster
  • Never block CSS or JS files — Google needs them to render your pages correctly
  • Test your file in Google Search Console's robots.txt report after uploading
Scroll to Top