Robots.txt Generator Create a Robots.txt File Free

Step 1: Choose your rules

Step 2: Press Generate robots.txt, then read your file in the green box

Private by design: Your file is made in your browser. Nothing you type is sent to or stored on our server.

© 2004–2026 QuickOnlineTips. Free to use here, but please don’t copy, republish or sell this tool. Terms of use

Share this tool

Did you like this tool? Help us improve it

Want to tell us more? Contact us

About this tool

Use this free robots.txt generator to create the file that tells search engines which parts of your site they may crawl. Pick your options, click a button, and copy or download a ready-to-upload robots.txt file.

Quick answer: Leave the first choice on “Allow all crawlers”, tick the extras you need, add your sitemap link, then click Generate robots.txt. Upload the file to the root of your site so it opens at yoursite.com/robots.txt.

How to create a robots.txt file

  1. Choose whether to allow or block all crawlers. For a live site, allow all.
  2. Tick any extras: block the WordPress admin area, block internal search pages, or block common AI training crawlers.
  3. Add any folders or pages you want crawlers to skip, one per line, and your sitemap link.
  4. Click Generate robots.txt, then copy the text or download the file.
  5. Upload it to your site’s root folder and test it by opening the address in your browser.

What the lines mean

LineWhat it does
User-agent: *The rules below apply to all crawlers.
Disallow: /folder/Crawlers should not visit this folder.
Allow: /folder/fileAn exception inside a blocked folder.
Sitemap: linkTells crawlers where your sitemap is.
Crawl-delay: 10Asks some crawlers to wait between visits. Google ignores it.

Good to know

FAQ

Is this robots.txt generator free?

Yes. It is free, needs no sign-up, and runs in your browser. Nothing you type is sent to our server.

Where do I put the robots.txt file?

In the top-level folder of your site, so that it opens at yoursite.com/robots.txt. Subfolders do not work.

Do I need a robots.txt file?

Not strictly. Without one, crawlers visit everything they find. A file helps you point to your sitemap and keep crawlers out of areas with no search value.

Will blocking AI crawlers stop my content being used?

It asks well-behaved crawlers to stay away. It cannot stop crawlers that ignore the rules.

Does WordPress already make a robots.txt file?

WordPress creates a basic virtual one if no file exists, and SEO plugins can edit it. A real file you upload takes the place of the virtual one.

Found this useful? Share it with someone who needs it.

100 Tech Terms ebook cover

Subscribe to our weekly tech newsletter

Free: 100 Tech Terms ebook (worth $2.99)

Unsubscribe anytime. Privacy

Latest Tech Guides