UMARIX TECHNOLOGIES logo
← All tools

Robots.txt Generator

Generate a robots.txt file by choosing which paths search engines may crawl and adding your sitemap URL. A robots.txt file is a request, not a security control: well-behaved crawlers respect it, but it does not block people or hide private pages.

robots.txt

User-agent: *
Disallow: /admin/
Disallow: /private/

Robots.txt is a request to well-behaved crawlers, not security. It does not hide private pages.

What this tool cannot do

This generates the file text only. You must upload it to your site's root yourself, and it cannot block malicious crawlers or protect private content.

How to use it

  1. Enter your sitemap URL if you have one.
  2. Add paths to disallow, one per line.
  3. Click Generate and copy the file.
  4. Upload it as robots.txt at your site's root and test it in Search Console.

Frequently asked questions

Does robots.txt hide a page?

No. Disallowed pages can still be linked to and may still appear in results. Use noindex or password protection for private pages.

Do I need a robots.txt file?

No, but it is useful to guide crawlers and to point them at your sitemap.

More SEO tools