DO IT EASY APP
English

robots.txt generator

Create a robots.txt file for search engine bots: allow and disallow rules, crawl delay and sitemap address.

  • No sign-up, no fees.
  • Generates a ready robots.txt file.
  • Disallow and Allow rules, bot selection, crawl delay.
  • Adds your sitemap address to the file.
  • Warns about invalid paths and addresses.
  • What you type is processed, but never shared with anyone.

How to create a robots.txt

You don't want search engines to crawl your site's admin folder. Five steps:

  1. Pick a template. Start with Allow everything, Block everything or Block admin and temp folders.
  2. Type the bot name. * means all bots; you can also pick a single one like Googlebot.
  3. Type the paths. Write the paths to block (/admin/) and any exceptions to allow, one per line.
  4. Add the sitemap. Type the full address of your sitemap.
  5. Copy or download. Upload the file to your site's root as robots.txt.

What is robots.txt?

robots.txt is a plain text file in a site's root that tells search engine bots which pages they should crawl (example.com/robots.txt). Well-behaved bots follow these rules. Putting your sitemap address here also makes it easier for bots to find it.

What do the lines mean?

  • User-agent: says which bot the rule is for (* is all of them).
  • Disallow: a path that shouldn't be crawled. Left empty it allows everything; with / the whole site is blocked.
  • Allow: an exception allowed inside a blocked folder.
  • Crawl-delay: asks some bots to wait between requests; Google ignores this line.
  • Sitemap: the full address of your sitemap.

What you need to know

  • robots.txt is not a security measure. The file is public and bots that don't follow the rules will still crawl. Protect private pages with a password.
  • A blocked page can still show up in search results by name if other sites link to it. To keep it out of results, use a noindex tag on the page.
  • Check the rules carefully before publishing: a wrong Disallow: / can drop the whole site from search results.

Tips

Frequently asked questions

Is the robots.txt generator free?

Yes, it's free with no sign-up.

Where do I put the file?

In your site's root; it has to open at example.com/robots.txt. It doesn't work in a subfolder.

Is it enough to hide a page?

No. robots.txt is public and only a request to bots. Protect private content with a password.

How do I block all bots?

Write User-agent: * and Disallow: /. Careful: the site can drop out of search results.

Can I block AI bots?

If you add the bot names (like GPTBot) in their own group with Disallow: /, bots that follow the rules won't crawl your site.

Can I use it on my phone?

Yes.

Related tools