Toolvito

Processed online by Toolvito

Robots.txt Generator & Tester

Make a robots.txt that tells crawlers which parts of your site they may read, or test addresses against a site’s robots.txt (fetched live or pasted) to see which rule decides.

Choose what to do

Task
Make robots.txt

A JSON list, for example [{"user_agents": ["*"], "disallow": ["/admin/"], "allow": []}, {"user_agents": ["GPTBot"], "disallow": ["/"]}].

One per line, for example https://www.example.com/sitemap.xml.

The rules or addresses you enter are sent to the Toolvito server, which writes the file or reads your site’s robots.txt. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to make robots.txt

  1. Choose Make robots.txt.
  2. Add groups: the crawlers they apply to (* for all) and the paths to allow or block, for example /admin/.
  3. Add your sitemap address.
  4. Press Make robots.txt and upload the file to the main folder of your site.

How to test

  1. Choose Test robots.txt.
  2. Type your website address, or paste the text of a robots.txt you are writing.
  3. List the addresses to test and choose the crawler, for example Googlebot or GPTBot.
  4. Press Test.

How crawlers read the rules (RFC 9309)

  • A crawler uses the group with its own name; only if there is none does it use the * group.
  • The most specific (longest) matching rule wins; when Allow and Disallow are equally long, Allow wins.
  • * matches any characters and $ marks the end of the address.
  • If robots.txt is missing (404) everything may be crawled; if the server fails (5xx) crawlers stop.

Important

robots.txt is a polite request. It does not hide pages or protect private files; well-behaved crawlers follow it, others may not. To keep a page out of search results, use noindex instead.

Related tools