PDF ToolsImage ToolsDocument ToolsSocial Media ToolsYouTube ToolsRSS ToolsSEO ToolsDeveloper ToolsText ToolsCalculator ToolsQR & BarcodeColor ToolsDate & TimeWeb UtilitiesIndia Tools

SEO Tools

Robots.txt Generator

Build a robots.txt file by choosing which paths crawlers may access and pointing them to your sitemap. Copy or download the result.

Your data is processed locally in your browser and is never uploaded to our server.

How to use robots.txt generator

  1. Set the user-agent

    Use * for all crawlers or name a specific bot.

  2. List allow/disallow paths

    Add the paths you want to permit or block, one per line.

  3. Generate the file

    Click Generate, then copy or download robots.txt to your site root.

Features

Allow and disallow rules

Fine-tune exactly which sections of your site get crawled.

Sitemap reference

Include your sitemap URL so search engines find all your pages.

Quick block toggle

One checkbox produces a rule that blocks all crawlers for staging sites.

Frequently asked questions

Where does robots.txt go?

It must live at the root of your domain, for example https://example.com/robots.txt.

Does robots.txt guarantee pages stay private?

No. It requests that compliant crawlers skip paths, but it doesn't hide content. Use authentication for anything truly private.

Should I block a whole site?

Only for staging or private environments. Blocking all crawlers on a live site will remove it from search results.