Robots.txt Generator

Generate a robots.txt file quickly.

Reset

About Robots.txt

A robots.txt file tells search engine crawlers which parts of your site they are allowed to access. It does not hide content from the public, but it helps guide crawlers and reduce unnecessary crawling.

How to use this generator

  1. Choose the rules you want (allow, disallow, sitemap).
  2. Generate the file content.
  3. Copy the output into a file named robots.txt at the root of your domain.

Important notes

  • Blocking a URL in robots.txt does not guarantee it will not appear in search results if other pages link to it.
  • Use Sitemap: to point crawlers to your sitemap URL.
  • Test changes carefully to avoid blocking pages you want indexed.