Robots.txt Generator

Search Engine Optimization
Welcome to SEOSiteKit

Robots.txt Generator


Padrão - todos os robôs são:  
    
Atraso de rastreamento:
    
Mapa do site: (deixe em branco se você não tiver) 
     
Robôs de pesquisa: Google
  Google Image
  Google Mobile
  MSN Search
  Yahoo
  Yahoo MM
  Yahoo Blogs
  Ask/Teoma
  GigaBlast
  DMOZ Checker
  Nutch
  Alexa/Wayback
  Baidu
  Naver
  MSN PicSearch
   
Diretórios restritos: O caminho é relativo ao root e deve conter uma barra final "/"
 
 
 
 
 
 
   



Agora, crie o arquivo 'robots.txt' no seu diretório raiz. Copie o texto acima e cole no arquivo de texto.


Welcome to SEOSiteKit

Sobre Robots.txt Generator

Create a Robots.txt File That Tells Search Engines What to Crawl

A missing or misconfigured robots.txt file can let search engines index pages you want hidden, or block them from pages you want found. This Robots.txt Generator builds a properly formatted robots.txt file based on your choices about which parts of your site search engines should and should not access. It is for web developers deploying new sites, SEO professionals configuring crawl directives, and site owners who want control over what gets indexed without learning the robots exclusion protocol syntax.

Select which crawlers to address, specify the directories or files to allow or block, add your sitemap URL, and the tool outputs a ready-to-upload robots.txt file. No manual formatting required.

How to Use the Robots.txt Generator

  1. Choose which search engine crawlers to target.
    You can create rules that apply to all crawlers by selecting the universal user-agent, or you can specify rules for individual crawlers like Googlebot, Bingbot, or others. Most sites start with a rule for all crawlers and add specific rules only if needed.
  2. Specify which directories or files to block.
    Enter the paths on your site that you want to keep out of search results. Common examples include admin areas like /wp-admin, internal search result pages, staging environments, or duplicate content directories. Each path goes on its own line. Leave this blank if you want everything crawled.
  3. Add your XML sitemap URL.
    Enter the full URL to your sitemap. This tells search engines where to find a complete list of pages you want indexed. Including the sitemap location in robots.txt is a best practice that helps crawlers discover your content more efficiently.
  4. Set any crawl delay if needed.
    Some sites on shared hosting benefit from a crawl delay, which asks crawlers to wait a specified number of seconds between requests. This reduces server load. Most modern sites do not need this setting, but it is available if your hosting environment requires it.
  5. Generate the file and upload it to your site.
    Click the generate button. The tool produces the complete robots.txt content. Copy it, save it as a file named exactly robots.txt, and upload it to the root directory of your website so it is accessible at yourdomain.com/robots.txt.

Why a Proper Robots.txt File Matters

Robots.txt is a plain text file that sits at the root of your website and gives instructions to search engine crawlers about which parts of your site they should and should not visit. It is the first thing a crawler looks for when it arrives at your domain. The file uses a simple syntax called the robots exclusion protocol. You specify user-agents, which are the crawlers you are addressing, and then give directives like allow or disallow for specific paths.

A well-configured robots.txt file prevents search engines from wasting their crawl budget on pages that do not matter, like login screens, admin panels, internal search results, or staging copies of pages. It also protects sensitive areas of your site from appearing in search results, though it is important to understand that robots.txt is a public file. Disallowing a page does not make it private. It only asks well-behaved crawlers not to visit it. For true privacy, use password protection or noindex tags.

The generator removes the guesswork. Instead of memorizing the syntax and worrying about typos that could accidentally block your entire site from Google, you select options and get a correctly formatted file.

How It Works

The tool formats your selections into valid robots exclusion protocol syntax. Each rule block starts with a User-agent line naming the crawler, followed by Disallow and Allow directives for the paths you specified, and optionally a Sitemap line pointing to your XML sitemap URL. The resulting text complies with the standard that search engine crawlers expect when they request the robots.txt file from your server.

Practical Example

You run a WordPress blog and want to make sure search engines index your posts and pages but stay out of your admin area, your internal search results, and your plugin files. You select the universal user-agent to apply the rules to all crawlers. You add /wp-admin, /search, and /wp-content/plugins to the blocked paths. You enter your sitemap URL. The generator produces a robots.txt file that disallows those three directories and points to your sitemap. You upload it to your root directory. Search engines now know exactly which parts of your site to crawl and which to skip.

FAQ

What is a robots.txt file?

Robots.txt is a plain text file placed in the root directory of a website that tells search engine crawlers which pages or sections of the site they should and should not access. It is part of the robots exclusion protocol, a standard that all major search engines follow voluntarily.

Does robots.txt prevent pages from being indexed?

Not directly. Disallowing a page in robots.txt stops crawlers from visiting it, but the page can still appear in search results if other pages link to it. To prevent indexing, use a noindex meta tag or HTTP header on the page itself. The most effective approach often combines both methods.

Where should I upload my robots.txt file?

Place it in the root directory of your website so it is accessible at yourdomain.com/robots.txt. If it is in a subdirectory, search engines will not find it. The file must be named exactly robots.txt with no variations in capitalization.

Can a mistake in robots.txt block my entire site from Google?

Yes. A single misplaced slash can disallow crawling of your entire site. Always double-check your robots.txt file before uploading it, and test it after deployment. The generator helps prevent syntax errors, but you should still review the output for correctness.

Do I need a robots.txt file if my site is small?

Even small sites benefit from having one. A minimal robots.txt file that points to your sitemap and allows all crawling is better than no file at all. It also prevents your server logs from filling with errors from crawlers looking for a file that does not exist.

Can I use robots.txt to block specific search engines?

Yes. You can create rules that apply to specific crawlers by using their unique user-agent name. A rule for Googlebot applies only to Google. A rule for the universal user-agent with an asterisk applies to all crawlers that have not been given specific instructions. You can combine general and specific rules in the same file.

Related Tools