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
More web and network tools
This tool gives general information only and runs in your browser. Check the result before you upload it, because a wrong rule can stop search engines from seeing your pages. QuickOnlineTips is not affiliated with any search engine, AI company or crawler operator named in the file.
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
- Choose whether to allow or block all crawlers. For a live site, allow all.
- Tick any extras: block the WordPress admin area, block internal search pages, or block common AI training crawlers.
- Add any folders or pages you want crawlers to skip, one per line, and your sitemap link.
- Click Generate robots.txt, then copy the text or download the file.
- Upload it to your site’s root folder and test it by opening the address in your browser.
What the lines mean
| Line | What it does |
|---|---|
| User-agent: * | The rules below apply to all crawlers. |
| Disallow: /folder/ | Crawlers should not visit this folder. |
| Allow: /folder/file | An exception inside a blocked folder. |
| Sitemap: link | Tells crawlers where your sitemap is. |
| Crawl-delay: 10 | Asks some crawlers to wait between visits. Google ignores it. |
Good to know
- Robots.txt is a request, not security. Do not use it to hide private pages. Use a password instead.
- Blocking a page does not remove it from search. A blocked page can still be listed if other sites link to it.
- Be careful with Disallow: /. It blocks your whole site.
- Learn how to add your sitemap to robots.txt, how to find and fix URLs blocked by robots.txt, and how to block AI crawlers from your website.
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.

Subscribe to our weekly tech newsletter
Free: 100 Tech Terms ebook (worth $2.99)
Unsubscribe anytime. Privacy







