Robots.txt generator

Choose crawler rules, select blocked paths and add your sitemap. Copy the result or download it as robots.txt.

  1. Choose the default rule and blocked directories.
  2. Add your sitemap URL and optional AI crawler rules.
  3. Download the file and upload it to your website root.

Robots.txt generator

  • Free
  • Runs in your browser
  • No registration
Default rule for all crawlers
Blocked paths
AI crawlers to block optional
robots.txt
 

What robots.txt controls

robots.txt tells compliant crawlers which URLs not to crawl. It is not access protection and does not guarantee a URL stays out of search results. Confidential content needs access controls. Indexing is often controlled through a noindex directive that the crawler must be able to read.

The generator creates text for your chosen rules. It does not inspect server files, discover pages or upload robots.txt. Back up the existing file and check that no required rules are lost before replacing it.

Defaults and additional paths

Initially, /wp-admin/ and /?s= are selected. These are WordPress examples and may not suit your website. Selecting /wp-admin/ adds an Allow exception for /wp-admin/admin-ajax.php. Cart, checkout and account paths are selected separately.

Enter additional paths one per line. For example, /test/ creates Disallow: /test/. Rules use paths from the website root, so do not enter a full domain. Upper- and lowercase letters may refer to different paths. Enter a full public sitemap URL in the XML sitemap field.

'Block all' creates Disallow: /. Choose it only if you intend to disallow crawling of the entire site. On a publicly indexed website, this prevents crawlers from reading pages and updates.

Individual AI crawlers and publishing the file

Add separate blocking groups for GPTBot, ChatGPT-User, Google-Extended, CCBot, ClaudeBot and PerplexityBot. They identify different crawlers serving different tasks. Blocking one does not mean disabling every AI system or Google Search.

Publish the file at your domain root, for example https://pavyzdys.lt/robots.txt. Manage other subdomains or protocols separately. After uploading, open the actual URL, check its HTTP response and verify access to important pages and rendering resources. Do not block CSS or JavaScript merely because they are technical files.

Frequently asked questions

Does Disallow remove a page from Google?

No. It restricts crawling, but the URL may remain known through links. To remove a page from the index, choose an appropriate indexing or access-control solution.

Does a sitemap line force Google to index every page?

No. It helps crawlers find the sitemap. Google decides indexing separately; the sitemap should contain suitable final URLs.

Can I block just one crawler?

Yes. Selecting a crawler creates a separate User-agent group with Disallow: /. General rules remain in a separate group.

Does the generator check that a path exists?

No. It generates the text you specify. Check actual paths, server responses and the effect of deployed rules on your website.

Other free tools

All tools

HTML cleaner

Remove HTML styles and unnecessary tags while preserving text structure.

Character counter

Count characters, words, repeated terms and estimated reading time.

Google search result preview

Estimate title and meta-description width in desktop and mobile layouts.

Want us to handle the technical work?

Technical SEO