---
title: "robots.txt"
aliases: ["robots.txt file"]
category: "AI search"
description: "A text file at the root of a website (yoursite.com/robots.txt) that tells each bot, by name, which pages it may read. It's a request, not a lock."
updated: 2026-12-04T00:32:05.258Z
glossary: "https://www.jmcliment.com/en/glosario"
canonical: "https://www.jmcliment.com/en/glosario/robots-txt"
---

# robots.txt

- Also called: robots.txt file
- Category: AI search

A text file at the root of a website (yoursite.com/robots.txt) that tells each bot, by name, which pages it may read. It's a request, not a lock.

## What it is

Martijn Koster created it in 1994 so search engines wouldn't overload servers, and in 2022 it became an official internet standard (RFC 9309). Each group starts with "User-agent:", the bot's name, followed by the paths it may read (Allow) or not (Disallow).

## In practice

Today it's the first tool for deciding what [AI](https://www.jmcliment.com/en/glosario/ai) does with a website: you can let in bots that search and cite, such as OAI-SearchBot, and shut out those that train, such as GPTBot. Since late 2026 there's also a common signal against training, "__usage_ai-training".

## Watch out for…

It's a request: well-behaved bots respect it and others don't, and agents acting for a person may skip it. Blocking Googlebot stops it from reading your pages, though it doesn't guarantee they disappear from its results, and many files still block bot names that are no longer used.

Learn more: <https://www.rfc-editor.org/rfc/rfc9309>

## Appears in

- [How big websites control AI](https://www.jmcliment.com/en/blog/ai-on-websites)
- [ChatGPT's "Search Console," minus the keywords](https://www.jmcliment.com/en/blog/chatgpt-business-hub)
