
Robots.txt Ran the Web for 28 Years as a Handshake
Martijn Koster's robots.txt was agreed on a 1994 mailing list and honored by major crawlers for 28 years before RFC 9309 specified it in 2022.
TL;DR: In 1994, after badly behaved web crawlers had troubled web servers, including his own, the engineer Martijn Koster proposed a simple convention: a plain text file called robots.txt, placed at the root of a website, that told automated crawlers which parts of the site to leave alone. It was agreed on a mailing list of robot authors and other interested people and adopted by crawler authors within months. For the next 28 years it was the convention that search engines and other major crawlers worked from, without ever being a formal standard and without any power to enforce itself. In 2022 it was published as RFC 9309, an IETF Proposed Standard. The fork is between a working convention that major crawlers followed and an actual standard, and robots.txt spent almost its entire history as the first.
A server under siege, 1993–1994
In early 1994 the web was small, and its early automated programs included personal and research projects. Crawlers, also called robots or spiders, followed links from page to page to build indexes or test ideas. They were useful, and they could also be a nuisance. A crawler that requested pages too fast could overwhelm a server running on modest hardware over a slow connection.
Martijn Koster, who was working at the British software company Nexor and ran one of the early web indexes himself, experienced this directly. By his own account, a report from his web server in September 1993 led him to find that a crawler had retrieved the same sequence of documents at three points in time, at a rate on the order of one document per second. He also found an email exchange dated September 23, 1993, in which he complained about repeated automated downloads, and wrote that perhaps this was what motivated him to try to do something. The science-fiction writer Charles Stross, then working in software, has since said that a crawler he wrote made the file necessary. The emails that Koster found from Stross date from March 7, 1994, after February 25, 1994, the date that Koster gives for the first public mention of the proposal. Koster added that he was not sure if there were other emails. Whichever crawler was responsible, incidents like these made a practical point: site owners needed a way to tell robots where they were not welcome, and robot authors needed a way to know.
A file, a mailing list and a handshake
Koster's proposal was deliberately minimal. A site owner would place a text file at the top level of the site. The file was called RobotsNotWanted.txt at first, and the name robots.txt was chosen in June 1994 after a discussion on the robots mailing list. Inside the file, simple lines would name a robot, or all robots, and list the paths they should not fetch. A well-behaved crawler would check for the file before crawling a site and follow its instructions.
In practice a file might contain only two kinds of line. A User-agent line named the crawler the rule applied to, with an asterisk setting the default policy for any crawler that had not matched any of the other records in the file, and one or more Disallow lines listed the paths that crawler should skip. A site that wanted to keep all robots out of a directory of test pages needed just those two lines. A site that wanted to block everything for everyone could do it with a single slash. The simplicity was the point: the method could be easily implemented on any existing web server, and a crawler could find the policy with a single document retrieval.
He circulated the idea on the mailing lists where early web developers and robot authors discussed their work, and by mid-1994 there was broad agreement. The original document described the result as a consensus among the majority of robot authors and other interested people on the list, not as an official standard. That description is exact. No standards body approved it. In his announcement on July 3, 1994, Koster wrote that most of the robots in operation either used it already or had promised support soon.
The arrangement had no enforcement of any kind. Nothing stopped a crawler from ignoring the file, and the file itself was public, which meant that listing a sensitive directory in it advertised where that directory was. Robots.txt was a request, not a lock.
The definitional fork: convention or standard
When was robots.txt first? The answer depends on whether a convention counts.
If the question is when the robots exclusion protocol began working on the web, the answer is 1994. Crawlers started honoring the file that year, and within a few years it was a normal part of running a website. Search engines adopted it, and webmasters relied on it to keep crawlers out of areas that were private, unfinished or expensive to serve.
If the question is when robots.txt became a standard, in the sense of a document published by a recognized standards process, the answer is September 2022. For the 28 years in between, the protocol lived in the original 1994 text, in later write-ups such as a 1996 Internet-Draft by Koster that was set to expire in June 1997, and in the behavior of the crawlers that chose to respect it. Different crawlers interpreted ambiguous cases differently and extended the format with their own directives, and the 1994 text did not say what a crawler should do when a server returned an error.
That 28-year gap is the most important thing to understand about robots.txt. The 1994 document said that it was not enforced by anybody, and RFC 9309 specifies rules that crawlers are requested to honor when accessing URIs. What robots.txt had instead was voluntary compliance: in its July 2019 announcement, Google described rules used both by Googlebot and other major crawlers. Crawl etiquette on the web rested on a voluntary agreement.
Formalizing the handshake
In July 2019 Google announced that it was working to turn the robots exclusion protocol into a formal internet standard, and published a draft specification through the Internet Engineering Task Force. Koster was one of the authors of the draft, alongside three authors from Google, which gave the formal version a direct line back to the original convention.
Google said that the draft did not change the rules created in 1994 but defined essentially all undefined scenarios for parsing and matching robots.txt, and extended it for the modern web. The work settled questions the 1994 text had left open, such as how large a file crawlers should read, how to handle errors and how long a fetched file could be cached. After three years of review the specification was published as RFC 9309 in September 2022. The RFC states plainly that the rules it describes are not a form of access authorization. The 1994 document had carried a caveat of its own, that it was not enforced by anybody.
A short timeline of the robots exclusion protocol
| Date | Milestone | What it established |
|---|---|---|
| September 1993 | A crawler retrieves documents from Koster's server at about one per second | A practical need for site owners to signal limits to robots |
| Mid-1994 | Robots exclusion convention agreed on a mailing list | Robots.txt begins working as a voluntary convention honored by crawler authors |
| Late 1990s-2010s | Search engines rely on robots.txt rules | The convention becomes standard practice without being a standard |
| July 2019 | Google proposes formalizing the protocol | A draft specification is submitted through the internet standards process |
| September 2022 | RFC 9309 published | Robots.txt is specified in a Proposed Standard RFC, still without enforcement |
The table stops at formalization. Later debates about new kinds of crawlers are a modern echo rather than part of the origin.
A gentleman's agreement with limits
Robots.txt is one of the clearest examples of how much of the early web ran on cooperation rather than rules. A mailing-list consensus among the majority of robot authors and other interested people set the terms for how automated programs would treat millions of websites, and major crawlers worked from it for decades.
It also has obvious limits that have never gone away. A crawler that does not care about its reputation can ignore the file, and a site that genuinely needs to keep content private has to use real access controls rather than a polite request. The arrival of new kinds of crawlers, including those gathering material to train artificial intelligence systems, has renewed arguments about whether a voluntary signal is enough. That debate is a modern echo of the 1994 bargain, not a departure from it. Robots.txt was always a handshake, and its first 28 years showed both how far a handshake can go and where it stops.