🤖

robots.txt Generator

Software · 6 inputs · Free

🤖

robots.txt Generator

6 inputs

Parameters

What is this tool?

robots.txt Generator helps developers with encoding, encryption and text processing. Builds a robots.txt file that follows RFC 9309: Disallow and Allow lines for all crawlers, bot-specific groups (one "BotName: /path" per line; "BotName: /" blocks that bot entirely), a Sitemap line and an optional Crawl-delay. Paths start with / or *, and * and $ work as wildcards; non-ASCII characters are percent-encoded as UTF-8. Because a crawler with its own group does not read the general group, the general rules are repeated in that group.

📘 Common mistakes · Worked example
Default rulePaths to disallow (one per line)Paths to allow (optional)Bot-specific blocks (BotName: /path)Sitemap URL (optional)Crawl delay (0 = omit) (s)

Builds a robots.txt file that follows RFC 9309: Disallow and Allow lines for all crawlers, bot-specific groups (one "BotName: /path" per line; "BotName: /" blocks that bot entirely), a Sitemap line and an optional Crawl-delay. Paths start with / or *, and * and $ work as wildcards; non-ASCII characters are percent-encoded as UTF-8. Because a crawler with its own group does not read the general group, the general rules are repeated in that group.

The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.

Last reviewed: · Methodology and sources

How is it calculated?

Builds a robots.txt file that follows RFC 9309: Disallow and Allow lines for all crawlers, bot-specific groups (one "BotName: /path" per line; "BotName: /" blocks that bot entirely), a Sitemap line and an optional Crawl-delay. Paths start with / or *, and * and $ work as wildcards; non-ASCII characters are percent-encoded as UTF-8. Because a crawler with its own group does not read the general group, the general rules are repeated in that group.

Inputs

ValueUnitExample
Default rule—Allow the whole site
Paths to disallow (one per line)—/admin/ /cart/
Paths to allow (optional)—
Bot-specific blocks (BotName: /path)—BadBot: /
Sitemap URL (optional)—https://www.example.com/sitemap.xml
Crawl delay (0 = omit)s0

What is this tool?

robots.txt Generator helps developers with encoding, encryption and text processing. Builds a robots.txt file that follows RFC 9309: Disallow and Allow lines for all crawlers, bot-specific groups (one "BotName: /path" per line; "BotName: /" blocks that bot entirely), a Sitemap line and an optional Crawl-delay. Paths start with / or *, and * and $ work as wildcards; non-ASCII characters are percent-encoded as UTF-8. Because a crawler with its own group does not read the general group, the general rules are repeated in that group.

Common mistakes

  • Using Disallow to remove a page from search results. Crawling stops, but the URL can still be indexed through links. Removal needs noindex or password protection.
  • Putting both Disallow and noindex on the same page. The crawler cannot fetch the page, so it never sees the noindex rule.
  • Treating robots.txt as a privacy tool. The file is public, and a line such as /confidential-reports/ tells everyone that the directory exists.
  • Placing the file in a subdirectory, or assuming one file covers every subdomain. A robots.txt applies only to the protocol, host and port it is served from; blog.example.com needs its own file.
  • Expecting a crawler with its own group to obey the * group as well. Once you add a bot-specific group, the general rules have to be repeated inside it; the tool does this for you.
  • Shipping the staging site's Disallow: / to production. The whole site is closed to crawling; put robots.txt on your launch checklist.
  • Ignoring the trailing slash. Disallow: /admin also covers /administrator and /admin.html; write /admin/ if you mean the directory only.
  • Trying to slow Google down with Crawl-delay. Google does not support the field; the line matters only to crawlers that recognise it.

📘 How to Write a robots.txt File: Disallow, Allow, Bot Groups and noindex →

Sources

Key terms

Default rulePaths to disallow (one per line)Paths to allow (optional)Bot-specific blocks (BotName: /path)Sitemap URL (optional)Crawl delay (0 = omit) (s)

Frequently Asked Questions

+robots.txt Generator — how is it calculated?

Builds a robots.txt file that follows RFC 9309: Disallow and Allow lines for all crawlers, bot-specific groups (one "BotName: /path" per line; "BotName: /" blocks that bot entirely), a Sitemap line and an optional Crawl-delay. Paths start with / or *, and * and $ work as wildcards; non-ASCII characters are percent-encoded as UTF-8. Because a crawler with its own group does not read the general group, the general rules are repeated in that group.

+Which values are required?

Default rule, Paths to disallow (one per line), Paths to allow (optional), Bot-specific blocks (BotName: /path), Sitemap URL (optional), Crawl delay (0 = omit) (s).

+Is my data stored?

No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.

+Is it free?

Yes, all tools are free and require no sign-up.

Similar tools

Popular Tools

🧮

Free Calculators in One Place

Tax, finance, health, math and more — 500+ tools, all in one place.

Choose your cookie preference to continue

Records the site needs to work (theme, language, favourites) stay in your browser.

This site is free and funded by ads.

With your consent, Google Analytics cookies measure visits and Google AdSense cookies are used to show ads; the data is processed on Google servers abroad.

If you reject, the site works just the same.

Cookie Policy · KVKK notice