Home › Robots.txt Generator — Free Online Tool | Wgajaa

🤖 Robots.txt Generator

Create crawl rules for search engines. Free, private and instant — nothing you enter is sent anywhere.

About this tool

Generate a valid robots.txt that tells well-behaved crawlers what they may and may not fetch on your site. Pick a preset (allow everything, block everything, standard WordPress, or e-commerce), then refine user-agent rules, disallow paths, crawl-delay and your sitemap address. The output updates live and can be copied straight to your site root.

robots.txt is the first thing search bots read. A missing or mistaken rule can hide your whole site from Google — or waste crawl budget on admin paths that should never be indexed. This builder keeps the syntax valid so you only think about policy, not format.

The e-commerce preset blocks cart, checkout and account paths plus faceted-listing query patterns that waste crawl budget; the WordPress preset hides wp-admin and login while explicitly allowing the uploads folder for Googlebot-Image. Anything the presets miss goes in the raw rules box verbatim, so per-bot groups like Googlebot-Image or GPTBot can be added without leaving the tool.

How this tool works

Everything runs locally in your browser — no data is sent to any server. Here is exactly how it works:

  1. Start from a preset, then edit the disallow paths, crawl-delay and sitemap URL
  2. Add raw rules for specific bots (like Googlebot-Image) in the extra box if needed
  3. Review the generated robots.txt — an empty “Disallow:” line means “allow all”
  4. Copy or download the file and upload it to your site root (https://example.com/robots.txt)

Frequently Asked Questions

Exactly one place: the root of your domain, at https://example.com/robots.txt. A file in a subfolder is ignored by crawlers.

No. It prevents crawling, not indexing. A blocked page can still appear in results (without a snippet) if other sites link to it. To truly exclude a page from the index, use a noindex meta tag or HTTP header.

It means “disallow nothing” — the bot may crawl the entire site. It is the correct way to express “this user-agent is welcome everywhere”.

Related Tools

🔒 100% private — runs in your browser
⚡ No uploads — instant results
🆓 Always free — no sign-up
📱 Works on mobile & desktop