Get a Quote →

Robots.txt Generator

Build a robots.txt file that controls exactly which crawlers can access your site.

What is robots.txt? It's the first file search engines check on your site. It tells crawlers which paths they can and can't access, and where to find your sitemap.

Quick Presets

Disallow Rules

Paths crawlers should not access.

Allow Rules (optional)

Paths crawlers can access, overrides a Disallow rule above it.

Common Paths to Block

Your Robots.txt File

Save this as robots.txt in your site's root directory (e.g. example.com/robots.txt).


	
Copied to clipboard.

What this tool does

Build a robots.txt file without remembering the syntax. Choose a preset, add disallow and allow rules, set a sitemap URL, and copy the finished file.

How to use it

Start with a preset such as WordPress Default or E-commerce, then adjust. Add paths you want crawlers to skip, add any allow rules that override them, and enter your sitemap URL. Upload the result to the root of your site as robots.txt.

Quick example

A typical WordPress file blocks /wp-admin/, allows /wp-admin/admin-ajax.php and ends with a Sitemap line pointing to your sitemap index.

FAQs

Does robots.txt hide a page from Google? No. It asks crawlers not to fetch a page, but a blocked URL can still appear in results. Use a noindex tag to keep a page out.

Is it a security tool? No. Anyone can read it, so never list private paths you want kept secret.

Should I block AI crawlers? That is your call. Blocking them can reduce how often your content is cited.

Need more than a free tool?

We build the strategy, the site, and the growth engine behind it.

Get a Quote