Skip to content

Robots.txt generator

Create a robots.txt file containing rules for search engines and a sitemap.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Robots.txt generator

Runs in your browser · 100% local
Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Paste the code, URL or data you want to process.

02

Select the format or action available in the tool.

03

Check the result and copy it into your editor or configuration file.

Examples

Examples

Allow everything

User-agent: * / Allow: / and the sitemap URL.

Lock a folder

Disallow: /admin/ prevents that section from being crawled.

Reference guide

What you need to know

robots.txt tells web crawlers which parts of the site they are allowed to visit. It does not prevent a page from appearing in search results if it has already been indexed, nor does it protect private information; for that, use authentication or the ‘noindex’ tag.

Frequently asked questions

Frequently Asked Questions

No. It only affects web crawlers that comply with it.

Related tools

Other tools that can help with similar tasks.

More at Web development→
Robots.txt generator · Free online tool · ByTooly