Skip to main content
Bethemesh
Web & SEO

robots.txt generator

Configure Allow and Disallow rules, sitemaps, host and crawl delay, then copy a robots.txt file ready to publish.

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

  • 100% local
  • Instant
  • Free
  • No account
  • Works offline
  • Clipboard

Preset

Use * to apply the rules to every crawler.

One path per line, for example /public/.

One path per line, for example /admin/.

One absolute URL per line.

Optional, in seconds. Not every search engine supports it.

Optional directive recognized mainly by some search engines.

Generated file

Why use this tool?

Prepare a readable robots.txt file to tell web crawlers which areas they may crawl. The tool generates the text locally without sending the configuration to a server.

100% local and secure

Your data stays on your device and is never sent to our servers.

Smart processing

Create and verify web content with settings designed for usable results.

Supported formats

Web formats, metadata, and structured content depending on the available features.

Save time

Get a clean, ready-to-use result in seconds without installing software or configuring a complex workflow.

Guide

How to use this tool

  1. 1

    Choose a preset

    Start from a common configuration or create your own rules.

  2. 2

    Add paths

    Enter allowed and blocked areas plus sitemap URLs.

  3. 3

    Review and copy

    Read the warnings and copy the generated file to the site root.

Tips and best practices

  • robots.txt controls crawling, not guaranteed de-indexing of an already known URL.
  • Never expose secrets in a path and assume robots.txt makes it private.
  • Use absolute URLs for Sitemap directives.

Frequently asked questions

Where should robots.txt be placed?

The file must be available at the domain root, for example https://example.com/robots.txt.

Does Disallow keep a page out of Google?

Not always. A URL may still be indexed when discovered elsewhere. Use appropriate indexing controls and real access protection for private content.

Does crawl delay work everywhere?

No. The Crawl-delay directive is not supported consistently by every search engine.

Was this tool useful?

Recommended workflow

Continue your processing

Discover tools that naturally fit before, after, or alongside this one.

Complementary tools

Web & SEO

Meta tags generator

Create SEO, Open Graph and Twitter/X tags for a web page.

100% local
Use this tool
Web & SEO

UTM URL builder

Add UTM parameters to a campaign URL.

100% localNew
Use this tool