Glossary

What is robots.txt?

In Turkish: robots.txt · Topic: Law, business and policy

A plain text file in the root directory of a website that tells search and crawling bots which pages they may visit. It is also used to state preferences toward the bots AI companies use to collect data.

How does it work?

The file is published publicly at the site's address followed by /robots.txt. It contains a user-agent line naming a bot, along with rules showing which paths that bot is allowed or forbidden to visit. Bots read the file before entering a site and choose whether to follow it. So it works as a courtesy rule rather than a firewall, and a bot that ignores it is not technically stopped. The protocol has been in use since the 1990s and was standardized in 2022.

Why does it matter?

As bots collecting web data for AI training have multiplied, robots.txt has become the best-known tool content owners have for stating their preference. Its legal force is unclear, but whether it counts as an opt-out declaration matters in copyright debates. Its limits are worth knowing, since not every bot obeys it.

Example

A news site could add a Disallow rule covering all pages for GPTBot in its robots.txt file to keep that crawler out.

FAQ

Is robots.txt legally binding?

Generally it is a technical convention with no binding legal force on its own. In some legal systems, though, it may be treated as a machine-readable form of an opt-out declaration.

Does robots.txt protect content?

No. The file is a public request, and a bot that ignores it can still reach the content. Real access control needs technical measures such as requiring a login or blocking bots.

All terms