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

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.
Which crawlers matter for AI search?
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.
Why do some sites block AI training but allow search?
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.



