Skip to content
LinkMate
SEO100% free · no signup

Free Robots.txt Generator

Tell crawlers exactly what to index.

Generate a valid robots.txt file with allow and disallow rules, crawl delay, sitemap location, and optional AI-crawler blocking. Copy or download instantly.

Use * for all crawlers, or a specific bot such as Googlebot.

Adds rules for GPTBot, CCBot, ClaudeBot and others. Google-Extended does not affect Google Search rankings.

robots.txt

# Generated with LinkMate free tools

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /search/

Sitemap: https://linkmate.pro/sitemap.xml

Place the file at https://your-domain.com/robots.txt. Robots rules are advisory: they discourage crawling but do not protect private pages. Use authentication for anything sensitive.

How to use this tool

  1. 1

    Pick a starting preset

    “Standard site” covers the usual admin, cart, checkout, and search URLs. Start from “Allow everything” if you are unsure.

  2. 2

    Add paths and your sitemap

    Enter one path per line. Include the full sitemap URL so crawlers can discover it even if they arrive from another domain.

  3. 3

    Copy or download the file

    Upload it to your domain root so it is served at https://your-domain.com/robots.txt, then test a few URLs in Search Console.

Why it matters

A robots.txt file tells crawlers which parts of your site they may request. It is a courtesy protocol, not an access control: it can discourage crawling, but it cannot protect private data. Use authentication for anything sensitive.

Most sites need very little: allow everything, disallow a few administrative or duplicate URLs, and point to the sitemap. Overly aggressive rules are a common cause of pages disappearing from search results, so change them carefully and test after deploying.

Before you deploy

  • Check that Disallow: / is not left in by accident.
  • Keep the sitemap URL absolute and on the same host.
  • Test important URLs in Search Console after the change.
  • Remember: robots.txt is public and not a security control.

Frequently asked questions

Where does robots.txt go?

At the root of the domain: https://example.com/robots.txt. It applies to the whole host, not to a subdirectory, so a file at /blog/robots.txt is ignored.

Does Disallow remove a page from Google?

No. Disallow prevents crawling, not indexing. If a page is already indexed or linked elsewhere, it can still appear. Use a noindex tag or remove the page to keep it out of search results.

Should I block AI crawlers?

That is a business decision. Blocking GPTBot or ClaudeBot prevents some AI training use, while Google-Extended controls Gemini training without affecting Google Search. Blocking may also remove your site from AI answers that cite sources.

Does Google support Crawl-delay?

Google ignores Crawl-delay and recommends controlling crawl rate in Search Console instead. Other crawlers may honor it. Keep the value conservative if you use it.

Can robots.txt block a specific page?

Yes, with a Disallow rule for that path. Remember that anyone can read robots.txt, so never list secret URLs there. Use noindex or authentication for sensitive pages.

Free tools are the start. Monitoring keeps links healthy.

LinkMate verifies broken links across your site and turns any URL into a tracked link with click analytics, timelines, and expiry control.