๐Ÿ”ง Utility

robots.txt Generator Online Free

Build a robots.txt file visually. Control which search engine bots can crawl which parts of your website. Add sitemap URL and custom rules. Download ready to upload.

Quick Presets
Sitemap URL (optional but recommended)
Crawl Delay (seconds) (optional โ€” 0 = no delay)
Bot Rules

About robots.txt Generator

A robots.txt file sits at the root of your website (e.g. https://example.com/robots.txt) and tells search engine crawlers which pages they can and cannot access. It is part of the Robots Exclusion Protocol โ€” a standard followed by all major search engines including Google, Bing, and Yandex.

Allow vs Disallow: "Allow" explicitly permits access to a path (useful when a parent path is disallowed). "Disallow" blocks crawlers from accessing that path and all its sub-pages. Disallow: / blocks everything; Disallow: /admin/ blocks only the admin section.

Important: robots.txt controls crawling, not indexing. A page blocked by robots.txt can still appear in search results if other pages link to it. Use the noindex meta tag to prevent indexing.

Updated: May 2025 ยท Works on Chrome, Firefox, Safari, Edge ยท Mobile friendly

Frequently Asked Questions

Where do I put the robots.txt file?+
Upload robots.txt to the root of your website โ€” it must be accessible at https://www.yourdomain.com/robots.txt. It won't work in subdirectories.
Does robots.txt affect my SEO?+
Yes. Blocking important pages from crawling can hurt SEO. Blocking irrelevant pages (admin, login, cart) can help by directing crawl budget to important content pages.
What is User-agent: *?+
The asterisk (*) is a wildcard meaning "all bots". Rules under User-agent: * apply to every robot. You can add specific rules for individual bots like Googlebot or Bingbot.
Do all bots follow robots.txt?+
Reputable bots (Google, Bing, Yandex) always respect robots.txt. Malicious bots and scrapers may ignore it. For sensitive content, use password protection โ€” don't rely on robots.txt alone.
โœ…Done!