SEO Tools

Robots.txt Generator

Generate a clean robots.txt file with user-agent rules, allow/disallow paths, sitemap URL, and crawl delay.

View all SEO Tools

Continue Workflow

Related tools to try next

All tools
Browser Local No sign-up

Example

Public site robots.txt

Robots.txt gives crawler instructions, but it is not a security control.

Input


                        User-agent: *
Disallow: /admin/
Sitemap: https://example.com/sitemap.xml
                      

Output


                        User-agent: *
Disallow: /admin/
Sitemap: https://example.com/sitemap.xml
                      

Practical Notes

How to Use

  1. 1. Choose a user-agent or keep the default wildcard.
  2. 2. Add paths you want to allow or disallow, one per line.
  3. 3. Optionally add a sitemap URL and crawl delay.
  4. 4. Generate and copy the robots.txt content.

Features

Use Cases

Frequently Asked Questions

What is robots.txt?
Robots.txt is a plain text file that gives crawler instructions about which paths should or should not be crawled.
Can robots.txt hide private pages?
No. Robots.txt is public and cooperative. It should not be used as an access control or privacy mechanism.
Where should I upload robots.txt?
Upload it to the root of your website so it is available at /robots.txt.