Skip to content
GrowthChord

robots.txt chatgpt

Is Your Website Blocking ChatGPT? robots.txt and llms.txt Explained

One line in robots.txt can hide a website from ChatGPT, Perplexity or Google. What robots.txt controls, which crawlers matter, and what llms.txt does.

Technical SEO2 min readBy Kanchana Delgoda, Digital Marketing & Growth Hacking Specialist

Illustration for the article: Is Your Website Blocking ChatGPT? robots.txt and llms.txt Explained

Short answer: robots.txt is a public file at the root of a website that tells crawlers which pages they may read. A "Disallow: /" line under Googlebot, Bingbot, OAI-SearchBot, GPTBot or PerplexityBot asks that tool not to read the site at all, and a tool that cannot read a site will struggle to recommend it. llms.txt is an optional extra file that points AI tools to the most important pages. It can help, but robots.txt matters far more.

Our team often finds small business websites that are invisible to AI tools because of a setting someone ticked years ago, or a default left on by a website builder. Our free resources cover the wider picture.

What is robots.txt?

A small text file at the root of your website. It tells crawlers, the robots that read websites for search engines and AI tools, which parts of your site they may read. A single line can block everything.

How do the rules in robots.txt work?

The file is split into groups that start with "User-agent:", naming the crawler the rules apply to; a star means every crawler. Under each group, "Disallow:" lists what that crawler is asked not to read, so "Disallow: /" covers the whole site. A "Sitemap:" line points crawlers to the list of pages the site wants found.

robots.txt is not the only switch. A "noindex" tag on a page keeps it out of search results even when crawlers can read it, and many website builders have a "discourage search engines" setting that adds one to every page.

The main ones are Googlebot (Google Search and AI Overviews), Bingbot (Bing and Copilot), OAI-SearchBot and GPTBot (OpenAI and ChatGPT), and PerplexityBot. Names and roles change, which is why each company's current documentation is the reference for what each crawler does.

Because the two do different jobs. Search crawlers read pages so a tool can show and cite them in answers; training crawlers collect text to build future models. Publishers who sell their content often block training and allow search. For a local service business, being read and recommended usually matters far more than protecting its service descriptions.

What does llms.txt do?

It is a short file, placed at yourwebsite.com/llms.txt, that summarises who a business is and lists its key pages in plain language: a welcome note for AI tools. Support for it varies between tools, it does not override robots.txt, and it cannot make weak pages worth quoting.

What else can block AI tools?

Content that only appears after heavy scripts load, text inside images, pages behind logins or pop-ups, and very slow servers. If a crawler cannot see the words, it cannot quote them.

Our web development and AI search teams set this up correctly from the start. Not sure about your site? Ask for a free growth audit and our team will check it.

  • Technical SEO
  • Core Web Vitals
  • Crawlability

Found this useful? Send it to someone who needs it.

Questions

What else do people ask about this?

OpenAI's crawlers respect robots.txt, so blocked pages are not read. Some sites block training crawlers but allow search crawlers. Whether that suits a business depends on how much being found in AI answers matters to it, which for most local businesses is a lot.

llms.txt is a proposed plain-text file that gives AI tools a short guide to your site and its most important pages. Support for it varies between tools, so treat it as a helpful extra, not a replacement for good pages and a clean robots.txt.

At the root of the domain, for example yourdomain.com/robots.txt, where anyone can read it. A "Disallow: /" line under a user-agent such as Googlebot, Bingbot, GPTBot, OAI-SearchBot or PerplexityBot means that crawler is asked not to read the site.
Next step

Want help putting this into practice?

We build the pages, the SEO, the AI-ready answers and the photos that make a business easy to find and easy to pick.

Free guides

Free guides on technical SEO

In-depth reads on the questions owners actually ask. Ask for as many as you like.

See all 16 free guides
✉ Free PDF guides, sent to your inbox
The GrowthChord letter

Get useful growth ideas in your inbox

Short, practical notes on Google, Maps and AI search for business owners, wherever you are. What changed, what to fix, and what is working for our clients.

  • Plain words, no jargon
  • Unsubscribe in one click