Skip to content
Looking for a new home? Start your migration
Help

Language

Svenska English

Currency

Free SEO tool

Generate your
robots.txt

Create rules for search engines and export your robots.txt in seconds.

  • 100% free – no sign-up required
  • Live preview with syntax highlighting
  • Download or copy in one click
robots.txt LIVE AI BLOCKED
Generator

Build your Robots.txt⁠

Set your rules, preview them live and download your robots.txt file.

Preview robots.txt Live
Path tester Check whether a URL path is allowed or blocked
Allowed Blocked No matching rule (allowed by default)
Tip
Enter your domain to add your sitemap URL to robots.txt automatically.
Your website Used for sitemap URL Enter your domain to automatically fill in the sitemap URL
Quick templates Choose a template to get started
Rules Configure user-agent rules
Common examples Click to load common configurations
FAQ

Common questions⁠

Everything you need to know about robots.txt

Robots.txt is a text file in the root of your website (e.g. example.com/robots.txt) that tells search engine crawlers which pages they may and may not crawl. It's part of the Robots Exclusion Protocol and is used by all major search engines, such as Google, Bing and Yahoo.

Yes, robots.txt can affect your SEO in several ways: - Positive: Saves "crawl budget" by preventing crawling of admin pages, duplicate content and irrelevant pages. - Negative: If you block important pages, they can still be indexed (without content) if they have backlinks, but show up poorly in search results. - Important: Robots.txt blocks crawling, not indexing. Use a noindex meta tag to prevent indexing completely. - Tip: Use Google Search Console to check that your most important pages aren't blocked.

1. Download the file with the "Download" button above 2. Connect to your web server via FTP/SFTP (e.g. FileZilla) 3. Upload the file to the root of your website (same folder as index.html/index.php) 4. Verify by visiting https://yourdomain.com/robots.txt WordPress users: Many SEO plugins (like Yoast or Rank Math) handle robots.txt for you in their settings.

User-agent: Specifies which bot the rules apply to. * means all bots. You can also name specific bots, such as Googlebot or Bingbot. Allow: Allows crawling of a specific path. Used to make exceptions to Disallow rules. Disallow: Blocks crawling of a specific path and everything below it. Empty Disallow: means "allow all". Order matters: Allow rules must come before Disallow rules for exceptions to work correctly.

No! Robots.txt is NOT a security measure. It's just a "polite request" to search engines. Anyone can still open the pages directly via their URL. To protect sensitive pages, use: - Password protection (htpasswd/authentication) - Access control via .htaccess or the server - Noindex meta tags to prevent indexing

Need help with SEO?Our team can help you optimize your website for search engines. Contact us
The answer

What is robots.txt?

Robots.txt is a text file in the root of your website (e.g. example.com/robots.txt) that tells search engine crawlers which pages they may and may not crawl. It's part of the Robots Exclusion Protocol and is used by all major search engines, such as Google, Bing and Yahoo.

The answer

Does robots.txt affect my SEO?

Yes, robots.txt can affect your SEO in several ways: - Positive: Saves "crawl budget" by preventing crawling of admin pages, duplicate content and irrelevant pages. - Negative: If you block important pages, they can still be indexed (without content) if they have backlinks, but show up poorly in search results. - Important: Robots.txt blocks crawling, not indexing. Use a noindex meta tag to prevent indexing completely. - Tip: Use Google Search Console to check that your most important pages aren't blocked.

The answer

How do I upload the file to my website?

1. Download the file with the "Download" button above 2. Connect to your web server via FTP/SFTP (e.g. FileZilla) 3. Upload the file to the root of your website (same folder as index.html/index.php) 4. Verify by visiting https://yourdomain.com/robots.txt WordPress users: Many SEO plugins (like Yoast or Rank Math) handle robots.txt for you in their settings.

The answer

What do User-agent, Allow and Disallow mean?

User-agent: Specifies which bot the rules apply to. * means all bots. You can also name specific bots, such as Googlebot or Bingbot. Allow: Allows crawling of a specific path. Used to make exceptions to Disallow rules. Disallow: Blocks crawling of a specific path and everything below it. Empty Disallow: means "allow all". Order matters: Allow rules must come before Disallow rules for exceptions to work correctly.

The answer

Is robots.txt a security measure?

No! Robots.txt is NOT a security measure. It's just a "polite request" to search engines. Anyone can still open the pages directly via their URL. To protect sensitive pages, use: - Password protection (htpasswd/authentication) - Access control via .htaccess or the server - Noindex meta tags to prevent indexing

Fredrik Philip Oskari We're here if you have other questions.
Need help with SEO?Our team can help you optimize your website for search engines. Contact us
We value your privacy

We use cookies to improve your experience.