Free SEO tool

robots.txt Generator

Generate a custom robots.txt for your site in seconds — copy or download it.

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

How to use this tool?

  1. Write the paths to block from Google (e.g. /wp-admin/).
  2. Add your sitemap URL if you have one.
  3. Hit Generate, then copy or download it and upload to your site root.
FAQ

robots.txt generator FAQs

Where do I put the generated robots.txt?

In the site root (example.com/robots.txt) — Google ignores it anywhere else.

Does this generator block indexing?

No — robots.txt only blocks crawling. To keep a page out of Google, use noindex.

What is the most dangerous robots.txt mistake?

A Disallow: / line blocks your entire site from Google. Review the file carefully before uploading.