Skip to main content
JoliTools

Robots.txt Generator

Create a robots.txt file to guide search engine crawlers.

Rules

robots.txt

User-agent: *
Disallow: /admin/

Generated entirely in your browser. Nothing is sent or stored anywhere.

About this tool

Robots.txt Generator helps you create a robots.txt file containing instructions for automated web crawlers. The file is normally placed at the root of a website and can tell compliant crawlers which parts of the site they should avoid accessing. It can also include the location of your XML sitemap.

Suppose your website has public articles alongside private account pages and internal search results. You may want to ask search crawlers not to crawl certain paths while allowing access to your public content. Enter the relevant rules and your sitemap address to create a robots.txt file that you can review before adding it to your website.

How to use the robots.txt generator

  1. 1Enter the website rules you want to use.
  2. 2Choose which crawler paths to allow or disallow.
  3. 3Add your sitemap URL if needed.
  4. 4Review and copy the generated robots.txt content.

Good to know

Robots.txt is a set of crawler instructions, not a security system. A disallowed path can still be accessed by visitors who know its URL, and not every crawler follows the rules. Do not use robots.txt to protect passwords, private documents, customer information, or confidential application pages. Keep your rules specific and check them carefully before publishing because a broad disallow rule can prevent search engines from crawling important content. Also remember that blocking crawling does not automatically remove a page from search results if other websites link to it. This generator prepares the file but does not install it on your server or test every crawler's behavior. Generation happens locally in your browser. Your entered rules are never uploaded to JoliTools.

Frequently asked questions

It is a text file that gives compliant search engine crawlers instructions about which website paths they may or may not crawl.

More free tools you might find useful.

Part of Developer Tools on JoliTools, free tools, no sign-up.