// free tool - robots.txt generator

Robots.txt Generator Validate and test it too

Build a robots.txt file from presets for Shopify, WordPress and AI crawlers, check it line by line for mistakes, and test whether a URL is allowed or blocked for Googlebot, GPTBot or any other bot, using Google's matching rules.

  • Free - no sign-up
  • Runs in your browser
  • AI crawler presets
  • Google matching rules

Your robots.txt

Nothing is sent anywhere. The output updates as you type.

Start from a preset

User-agent groups
AI crawlers to block (0 selected)

Checked bots get their own group with Disallow: /. robots.txt is voluntary: well-behaved bots follow it, scrapers that ignore it are not stopped.

    robots.txt Ready
    Checks

      Same URL, other bots

      User-agent Result Decided by
      Go past the file

      A clean robots.txt is a start. Technical SEO is the rest.

      Crawl rules are one part of how search engines and AI assistants see your site. These AI specialists plug into Claude, ChatGPT or any AI chat and help with the rest: audits, indexing problems, site structure and content.

      What is a robots.txt file?

      A robots.txt file is a plain text file at the root of your site, for example https://example.com/robots.txt, that tells crawlers which paths they may fetch. It is made of groups. Each group starts with one or more User-agent lines that name a crawler, followed by Allow and Disallow rules. Sitemap lines point crawlers to your XML sitemaps and can sit anywhere in the file. The format is standardised as RFC 9309, the Robots Exclusion Protocol, and Google, Bing and most large crawlers follow it.

      This robots.txt generator writes the file for you from presets and a simple group editor. The robots.txt validator flags lines that crawlers will ignore or misread, with line numbers. The robots.txt tester tells you whether a URL is allowed or blocked for a given bot and shows the exact line that decided it.

      What robots.txt can and cannot do

      • It controls crawling, not indexing. A blocked URL can still appear in Google results, without a description, if other pages link to it. To keep a page out of search, let crawlers fetch it and add a noindex robots meta tag or an X-Robots-Tag header.
      • It is voluntary. Well-behaved crawlers follow it. Scrapers that ignore it are not stopped. It is not access control: protect private pages with a login.
      • It is public. Anyone can open your robots.txt, so do not list secret paths in it.
      • It works per host. shop.example.com and example.com each need their own file at their own root.

      How Google reads the rules

      Google documents its matching logic, and the Test URL tab follows the same steps:

      1. Pick the group. A crawler uses the group with the most specific user-agent that matches its token, case-insensitively. Googlebot-News uses a googlebot-news group if there is one, otherwise googlebot, otherwise *. Several groups for the same crawler are merged into one.
      2. Match the path. Paths are case-sensitive and match from the start, including the query string. * matches any run of characters and $ marks the end of the URL. /fish* means the same as /fish, and /*.php$ matches /index.php but not /index.php?id=1.
      3. The longest rule wins. Among matching rules, the one with the longest path decides. If an Allow and a Disallow rule are equally long, Google uses the least restrictive one, which is the Allow.
      4. An empty Disallow blocks nothing. Disallow: with no path means the group may crawl everything.
      User-agent: *
      Disallow: /account/
      Allow: /account/login

      Here /account/orders is blocked, while /account/login is allowed because the Allow rule is longer and more specific.

      Blocking AI crawlers with robots.txt

      Many AI companies publish user-agent tokens you can block. They are not all the same kind of bot, and the difference matters:

      • Training crawlers. GPTBot (OpenAI), ClaudeBot (Anthropic), CCBot (Common Crawl), Meta-ExternalAgent and Bytespider (ByteDance) collect pages that can be used to train models. Blocking them asks these companies not to use future crawls.
      • Control tokens. Google-Extended and Applebot-Extended are not separate crawlers. Google-Extended tells Google not to use your content for Gemini training and grounding. It does not change how Googlebot crawls, indexes or ranks your pages in Google Search. Applebot-Extended opts you out of Apple's model training while Applebot keeps crawling for Siri and Spotlight.
      • AI search and user fetches. OAI-SearchBot, Claude-SearchBot and PerplexityBot fetch pages so they can show and cite them in AI answers. ChatGPT-User and Claude-User fetch a page when a person asks the assistant to read it. Blocking these can remove your pages from AI answers and citations, which is often traffic you want.

      The AI preset blocks training crawlers and leaves search and user agents unchecked so you can decide. robots.txt only applies to future crawls. It does not remove content that was already collected.

      robots.txt on Shopify and WordPress

      Shopify generates robots.txt for you and you cannot upload a file. To change it, add a robots.txt.liquid template to your theme (Online Store -> Themes -> Edit code -> Add a new template -> robots) and add your rules there. The Shopify-style preset in this tool is similar to Shopify's default, so you can review and test rules before you edit the template. WordPress serves a virtual robots.txt that disallows /wp-admin/ but allows /wp-admin/admin-ajax.php. A real robots.txt file in the site root replaces it, and many SEO plugins let you edit it from the dashboard.

      Common mistakes the validator catches

      • Noindex lines. Google stopped supporting them in robots.txt in 2019 and ignores them.
      • Relative sitemap URLs such as Sitemap: /sitemap.xml. The URL must be absolute.
      • Rules placed before any User-agent line, which crawlers ignore.
      • Paths without a leading slash, full URLs in rules, and non-ASCII paths that should be percent-encoded.
      • Crawl-delay, which Google ignores. Bing and Yandex read it.
      • Files larger than 500 KiB. Google ignores everything after that limit.
      • Typos such as Dissallow and unknown directives.

      Crawl rules are only one part of technical SEO. Check your structured data with the schema markup validator, write search snippets with the meta description generator, run a page through the AI SEO analyzer, or browse all free AI generators and tools.

      FAQ

      Is this robots.txt generator free?

      Yes. There is no sign-up and no limit. Everything runs in your browser, so the robots.txt you build, paste or test is not sent to any server.

      Where do I put the robots.txt file?

      In the root of each host, so it loads at https://yourdomain.com/robots.txt. A robots.txt in a subfolder is ignored. On Shopify you edit the robots.txt.liquid theme template instead of uploading a file.

      Does robots.txt stop a page from being indexed?

      No. It controls crawling, not indexing. A blocked page can still be indexed from links, just without its content. To keep a page out of Google, allow crawling and add a noindex robots meta tag or an X-Robots-Tag header.

      Will blocking GPTBot or Google-Extended hurt my Google rankings?

      No. GPTBot is OpenAI's training crawler and has nothing to do with Google Search. Google-Extended only controls whether Google uses your content for Gemini training and grounding, not crawling or ranking in Search. Blocking AI search bots such as OAI-SearchBot or PerplexityBot can remove your pages from those AI answers, though.

      Do all bots obey robots.txt?

      No. robots.txt is a voluntary standard. Major search engines and most AI companies say they follow it, but scrapers can ignore it. Use logins, firewall rules or rate limits for anything that must stay private.

      Free tool · Robots.txt Generator

      Keep it in your app.

      The Robots.txt Generator also runs inside the KissMySkills app. Sign up with your e-mail, open it there, and any paid plan saves your work and raises the limits.

      Saving and higher limits: paid plans from $12/mo

      Get this done end-to-end in your AI: SEO Specialist AI Skill - Serge — $19 →

      Get the SEO Specialist Kit — 7 skills, $49

      Ready-made Claude skill

      Do this inside Claude or ChatGPT, every time

      This free tool does one run. The skill keeps the method in your AI, so next time you just ask.

      Or get every skill with All-in-one See plans →

      Why the app

      Same tool. One account for all of it.

      This page works without an account. The free account is for when you come back: your tools, your AI apps and your skill library in one place.

      ↻

      Save and come back

      Your work is saved in your account, so you can come back and edit it.

      ▦

      Higher limits

      Free: Unlimited, runs in your browser. Any paid plan: Saved work and history in the app, and All-in-one adds the full skill catalog.

      ◆

      Apps on the free plan

      AI CRM with 1,000 cards per workspace, 5 SEO audits a day and 3 contract cards a month, all in the same account. The AI part is done by your own AI through the connector.

      ❖

      Works in Claude and ChatGPT

      The KissMySkills connector brings 2,500+ skills and your AI apps into Claude (any plan), ChatGPT Business, Enterprise or Edu (web), Claude Code, Codex and Cursor.

      How it works

      Three steps, free to start

      1. Try it here

        Use the Robots.txt Generator above. No account, nothing to install.

      2. Sign up free

        Enter your e-mail and the code we send. A free workspace is created on first sign-in.

      3. Open it in the app

        Find the Robots.txt Generator under Builders & free tools. Pick a paid plan, from $12 a month, only when you want saving and higher limits.

      Free vs paid

      What you get for this tool

      Free
      Free
      On this page
      Free, no sign-up
      In the app
      Unlimited, runs in your browser
      Also included
      AI CRM (1,000 cards per workspace), ready prompts for your own AI, the connector in Claude
      All-in-one
      from $12/ month or $69 a year
      In the app
      Saved work and history in the app, and All-in-one adds the full skill catalog
      Catalog
      With All-in-one: every one of 2,500+ skills, prompts and agents through the connector, plus 10 files a month to download
      AI apps
      With All-in-one: AI CRM with unlimited cards and every AI app on full limits
      Refund
      30-day money-back on the first charge

      Compare plans

      One plan for everything: All-in-one opens every skill in your chat, the AI CRM with every app on full limits and all AI tools. Start free, then try it free for 7 days.

      KissMySkills plans: Free and All-in-one compared feature by feature
      FeatureNeed it for a team? Write to us, we set it up by hand. Free $0 Free for good. The 7-day All-in-one trial is offered in the app.Start free All-in-one $12 /month Cancel anytime, or $69 a yearGet All-in-one
      Inside your AI chat
      Skill library2,500+ specialists, loaded into the chat by name
      3 skillsfree for goodAll 2,500+
      Prompt packsReady prompts for ChatGPT, Gemini, Grok and Copilot
      In the 7-day trialAll
      AI agentsMulti-step workers for coding, research and ops
      In the 7-day trialAll
      Connector for your AIClaude (free plan too), ChatGPT Business/Enterprise/Edu, Claude Code, Codex, Cursor
      ✓on all your devices✓on all your devices
      New skills as they shipAdded to your library automatically
      In the 7-day trial✓
      Catalog files to downloadKeep the file, use it anywhere
      Buy single files, yours forever10 a month
      AI CRM + apps
      AI CRMClients, projects and tasks your AI can update
      1,000 cardsper workspace, free foreverUnlimited
      AI Contract ReviewKey terms, risky clauses, what to ask to change
      3 a monthkey-terms cardNo limitsaved reviews, reminders soon
      AI ReceptionistWebsite chat that answers, books and collects leads
      50 chats a month1 site, answers as written, our branding1,000 a monthAI replies, booking, no branding
      AI Lead GenerationYour AI finds companies that fit, straight into the CRM
      Up to 1,000within the free CRMNo limit
      AI RecruitingHiring board, job pages, candidate scoring by your AI
      Up to 1,000 cardsNo limit
      AI SEO ToolsSEO and AI-search audit, schema checks, weekly monitoring
      5 audits a day100 a day+ 10 monitored URLs
      AI DashboardCharts from a CSV or Google Sheet
      20 syncs a dayno saving200 a day50 saved dashboards
      AI tools, open in All-in-one
      Claude Skill BuilderTurn your own method into a skill
      Ready prompt for your own AI30 a dayin the app
      Prompt Studio and AI toolsPrompt library, image prompts, doc generator, diagrams, UTM, schema
      Ready prompts for your own AIFull
      Free AI generatorsEmails, bios, invoices and more: a ready prompt for your own AI, no sign-in
      ✓✓
      Billing
      Cancel
      –Anytime, from your account
      Money-back guarantee
      –30 days on the first charge
      Yearly price
      $0$69$5.75 a month
      Start free Get All-in-one

      Paid plans renew automatically until cancelled. Single files you buy are yours forever on any plan. See the full pricing page

      Free plan

      Sign up free. Open it in the app.

      All-in-one is $12 a month when you want saving and higher limits. The full catalog is included.