Skip to content

Robots.txt Generator

Generate a correct robots.txt file that tells search engines which paths they may crawl. Add allow and disallow rules, a crawl delay and your sitemap URL, then copy the finished file to the root of your site.

What each field means

Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.

User-agent

Text that you supply. The calculator works on exactly what you type.

Allow paths (one per line)

Text that you supply. The calculator works on exactly what you type.

Disallow paths (one per line)

Text that you supply. The calculator works on exactly what you type.

Sitemap URL

Text that you supply. The calculator works on exactly what you type.

Crawl delay (seconds, optional)

A plain number. Enter digits only, with no symbols or separators.

Starts at: A plain number. Enter digits only, with no symbols or separators.

Accepted range: 0 to 60

How to read your result

The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.

robots.txt
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Allow rules
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Disallow rules
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Sitemap
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Allow rules
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
Disallow rules
This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.

What this means

robots.txt is a plain-text file at your site root that politely asks crawlers which areas to skip, such as admin pages or private folders. It is not a security boundary — it only affects cooperating bots.

How we calculate it

Formula

Format: User-agent: name, then Allow/Disallow lines per rule, then Sitemap: URL. An asterisk matches every bot.

Worked example

Block admin pages from being indexed.

  1. 1Enter the paths to block, like /admin.
  2. 2Add your sitemap URL.
  3. 3Copy robots.txt to your site root.

Important assumptions

  • Sitemap URLs should be absolute, starting with https://.

Frequently asked questions

Does robots.txt block indexing?

It prevents crawling, not indexing. A page linked from elsewhere can still appear; for strict control use the noindex meta tag too.

What does the asterisk mean?

User-agent: * applies your rules to all search engine bots.

Related tools