BitTorrent
BitTorrent arrived in the summer of 2001 as a small text file and a radical idea: what if the people downloading a file also became the people delivering it? Bram Cohen, a programmer and University at Buffalo alumnus, released the first version on the 2nd of July 2001. Within three years, his protocol accounted for a third of all internet traffic on the planet.
That is a remarkable number for something that most people never consciously installed. BitTorrent spread through the pipes of the early internet so thoroughly that by some measures a quarter of a billion users a month were touching it. And yet it was not a company, not a product people paid for. It was a protocol, a set of rules for how computers talk to each other when they want to share something large.
The questions BitTorrent raises go beyond technology. How do you build something that distributes itself? How do you hold a network together when no single server is in charge? And what happens when a tool built to solve a bandwidth problem becomes the engine of one of the largest copyright disputes in the history of the internet?
Cohen designed the protocol in April 2001 with one specific frustration in mind: downloading large files from a single server was slow, and the more popular the file, the worse it got. His answer was to break each file into pieces and let every downloader also become an uploader of the pieces they had already received.
In BitTorrent's model, each peer that receives a new piece immediately becomes a source of that piece for other peers. A file could theoretically be sent by the original uploader just once, and then spread to an unlimited number of recipients through the swarm. The more popular the file, the faster it moved, because more seeders meant more people serving it simultaneously. This flipped the logic of traditional servers, where popularity created bottlenecks.
The pieces are downloaded in random order, or in a "rarest-first" approach that keeps the most scarce pieces in circulation. The client then reassembles them into the correct sequence. A download can stop at any point and resume without losing the pieces already gathered, which made the protocol especially suited to large video and audio files where an interrupted session would otherwise mean starting over.
Each piece is protected by a cryptographic hash contained in the torrent descriptor. Any corruption, accidental or deliberate, is caught when a piece is checked against that hash. If a node starts with an authentic copy of the torrent descriptor, it can verify every piece it receives all the way to the complete file.
The first BitTorrent client shipped with no search engine and no way for peers to find each other except through a central tracker. Users created a small text file, the torrent file, uploaded it to an index site, and the tracker then handed out lists of IP addresses to anyone who wanted to join the swarm.
That dependency on a central tracker was a structural weakness. In 2005, Azureus, later renamed Vuze, released version 2.3.0.0 with a distributed hash table system that let clients find each other without a working tracker at all. The following month, BitTorrent, Inc. released its own DHT implementation, called Mainline DHT, which was incompatible with Azureus's version. Both are based on an architecture called Kademlia. By 2014, Mainline DHT had between 10 million and 25 million concurrent users at any given time, with a daily churn of at least 10 million.
Peer exchange, added in 2006, gave clients another way to discover participants: asking already-connected peers whether they knew of others. Web seeding, also implemented in 2006, allowed clients to pull individual pieces from a standard HTTP server in addition to the swarm. A site could seed its own torrent from a regular web host, then stop serving the file once the swarm grew large enough to sustain itself.
Cohen and Ashwin Navin founded BitTorrent, Inc. in 2004 to continue developing the technology. The company was later renamed Rainberry, Inc., and it remains the entity that maintains the protocol today.
The Pirate Bay, formed by a Swedish group, became the most visible emblem of BitTorrent's legal entanglements. On the 31st of May 2006, Swedish police raided its servers in Sweden, acting on allegations by the MPAA of copyright infringement. The tracker was back online three days later.
The site is notable for maintaining a public section where letters alleging copyright infringement, and replies to those letters, are displayed. In a study prepared to value NBC Universal in its merger with Comcast, analysts examined the 10,000 torrent swarms managed by PublicBT with the most active downloaders. After excluding pornographic and unidentifiable content, only one swarm offered legitimate content.
In the United States, more than 200,000 lawsuits for copyright infringement on BitTorrent have been filed since 2010. In the United Kingdom, on the 30th of April 2012, the High Court of Justice ordered five internet service providers to block The Pirate Bay.
The BitTorrent protocol itself is legal. The controversy has centered on trackers and index sites that link to copyrighted material without authorization, since the metafiles themselves do not store file content. The sites Suprnova.org, TorrentSpy, LokiTorrent, BTJunkie, Mininova, Oink's Pink Palace, and What.cd have all been shut down at various points as a result of legal action.
Because BitTorrent accounted for such a large share of internet traffic, some internet service providers began throttling it, slowing transfers for all users identified as running the protocol. In August 2007, Comcast went further, actively preventing BitTorrent seeding by monitoring and interfering with communications between peers.
The response from developers was encryption. Protocol header encrypt and message stream encryption, known as MSE/PE, were built into clients to make BitTorrent traffic harder to detect. As of November 2015, a wide range of clients including Vuze, BitComet, KTorrent, Transmission, Deluge, and the official BitTorrent client supported MSE/PE encryption.
In 2008, Comcast reached a settlement with BitTorrent, Inc., agreeing to manage traffic in a protocol-agnostic way. The episode fed directly into the debate over net neutrality in the United States, raising questions about whether an ISP could legally discriminate between types of traffic. Encryption, however, is not a complete defense; BitTorrent remains vulnerable to traffic analysis, and an ISP can still determine whether a system has stopped downloading and is only uploading, and terminate the connection by injecting TCP RST packets.
By early 2015, AT&T estimated that BitTorrent accounted for 20% of all broadband traffic. The protocol also created hardware problems for home users: because BitTorrent frequently contacts between 20 and 30 servers per second, it can rapidly fill the network address translation tables of consumer-grade routers, causing them to stop working correctly.
Sub Pop Records used BitTorrent, Inc.'s platform to distribute more than a thousand albums. Nine Inch Nails distributed albums through BitTorrent frequently. The CBC became the first major broadcaster in North America to distribute a television program, Canada's Next Great Prime Minister, via BitTorrent after broadcast.
Blizzard Entertainment previously used the protocol to distribute content and patches for Diablo III, StarCraft II, and World of Warcraft. Facebook and Twitter both use BitTorrent to push updates to their own servers. The British government used it to distribute details about how tax money was spent. Florida State University uses it to deliver large scientific data sets to researchers, and the developing Human Connectome Project uses it to share its open dataset.
In August 2012, the Internet Archive added BitTorrent to its download options for more than 1.3 million existing files, describing it as the fastest means of downloading media from the Archive. The protocol has also been adopted for folder synchronization through Resilio Sync, which uses BitTorrent as the underlying engine for an alternative to services like Dropbox.
GSC Game World shared files between offices in Czechia and Ukraine via BitTorrent during development of S.T.A.L.K.E.R. 2, a practice that led to game assets being leaked because the transfers were not adequately secured.
In 2017, BitTorrent, Inc. released the v2 protocol specification, updating the cryptographic foundation of the entire system. The original protocol used SHA-1 to generate a hash for each piece of data. By 2017, SHA-1 was no longer considered safe from collision attacks, so v2 replaced it with SHA-256.
The new format also introduced a Merkle tree structure, where each piece hash forms part of a hash tree rooted in the torrent's infohash. This allows more precise checks for file corruption and speeds up the transition from adding a torrent to actually beginning the download. Each file is now hashed individually, enabling deduplication across different torrents: if two separate torrents share an identical file, a downloader of one can obtain that file from peers seeding the other.
To protect users who had not yet upgraded, the v2 specification includes a hybrid torrent format that contains both SHA-1 and SHA-256 hashes, so a single torrent file can serve both v1-only and v2-capable clients simultaneously. Magnet links for v2 carry the same hybrid approach, embedding both hash types to maintain compatibility with older software.
The 2019 Sandvine data offered one measure of how much the landscape had shifted since 2004: BitTorrent generated 2.46% of downstream traffic and 27.58% of upstream traffic, a dramatic drop from its third-of-all-traffic peak, reflecting competition from streaming services that had built the kind of centralized, convenient infrastructure BitTorrent had deliberately set out to replace.
Common questions
Who invented BitTorrent and when was it released?
BitTorrent was designed by programmer Bram Cohen, a University at Buffalo alumnus, in April 2001. He released the first version on the 2nd of July 2001. Cohen and Ashwin Navin later founded BitTorrent, Inc. in 2004 to continue developing the technology.
How much internet traffic did BitTorrent account for at its peak?
BitTorrent accounted for a third of all internet traffic in 2004, according to a study by Cachelogic. By early 2015, AT&T estimated that BitTorrent still accounted for 20% of all broadband traffic. As of 2019, Sandvine reported it generated 27.58% of upstream traffic.
What is the difference between BitTorrent v1 and BitTorrent v2?
BitTorrent v1 uses the SHA-1 hashing algorithm, which is no longer considered safe from collision attacks. BitTorrent v2, released in 2017, uses SHA-256 and a Merkle tree structure for more precise integrity checks. A hybrid format supports both v1 and v2 clients from a single torrent file.
Is using BitTorrent legal?
The BitTorrent protocol itself is legal. Legal problems arise from using it to distribute copyrighted material without authorization. In the United States, more than 200,000 copyright infringement lawsuits have been filed related to BitTorrent since 2010.
What legitimate organizations use BitTorrent?
Facebook and Twitter use BitTorrent to distribute updates to their own servers. Blizzard Entertainment previously used it for patches to World of Warcraft, StarCraft II, and Diablo III. The Internet Archive added BitTorrent download options for more than 1.3 million files in August 2012. The British government also used it to distribute information about public spending.
What happened when Comcast blocked BitTorrent traffic in 2007?
In August 2007, Comcast was found to be actively preventing BitTorrent seeding by monitoring and interfering with peer communications. In 2008, Comcast reached a settlement with BitTorrent, Inc. agreeing to manage traffic in a protocol-agnostic way. The episode intensified the debate over net neutrality in the United States.
All sources
116 references cited across the entry
- 1webBitTorrent Protocol 1.0Bram Cohen — BitTorrent.org — October 2002
- 3webBitTorrent – a new P2P appBram Cohen — Yahoo eGroups — 2 July 2001
- 4webWhat Is BitTorrent and Is It Safe?2023-04-19
- 5webbittorrent vs HTTP2009-06-13
- 7journalA Sleep-and-Wake technique for reducing energy consumption in BitTorrent networksFabrizio Marozzo et al. — 2020
- 9webUB Engineering TweeterUniversity at Buffalo's School of Engineering and Applied Sciences
- 10webMerge pull request #59 from the8472/new-hash-algosBitTorrent — 15 May 2017
- 11webThe BitTorrent Protocol Specification v2Bram Cohen — BitTorrent
- 12webTMRRkovalensky
- 13webBittorrent-v2libbittorrent
- 14journalEstimating Self-Sustainability in Peer-to-Peer Swarming SystemsDaniel S. Menasche et al. — 2010
- 15webRarest First and Choke Algorithms Are EnoughUrvoy-Keller — Sigcomm — December 2006
- 16webPublicBT Tracker Set To Patch BitTorrent' Achilles' HeelErnesto — Torrentfreak — 12 July 2009
- 17webDecentralizedRecommendation –Tribler.org
- 18webHyperspaces for Object Clustering and Approximate Matching in Peer-to-Peer OverlaysWong, Bernard — Cornell University — 2 May 2007
- 19webCubit: Approximate Matching for Peer-to-Peer OverlaysWong, Bernard — Cornell University — 2008
- 20webApproximate Matching for Peer-to-Peer Overlays with CubitWong, Bernard — Cornell University
- 21webTorrent Exchange
- 22webStudying and enhancing the BitTorrent protocolKarthik Tamilmani — Stony Brook University — 25 October 2003
- 23arxivUnraveling BitTorrent's File Unavailability: Measurements and AnalysisSebastian Kaune — 2009
- 24conferenceContent Availability and Bundling in Swarming SystemsD. Menasche — ACM via sigcomm.org — 1–4 December 2009
- 25webThe Seeder Promotion Problem: Measurements, Analysis and Solution SpaceSebastian Kaune — Queen Mary's University London
- 29webLibtorrent FeaturesArvid Norberg — libtorrent.org — 2019-12-10
- 30webDHT ProtocolAndrew Loewenstern — BitTorrent.org — 2003-01-01
- 31webPeer Exchange (PEX)Arvid Norberg — BitTorrent.org — 2005-03-01
- 32webWebSeed – HTTP/FTP Seeding (GetRight style)Greg Hazel — BitTorrent.org — 2005-02-01
- 36webTor Project: FAQThe Tor Project
- 38webThis Website Could Be The Ultimate All-In-One Torrent Machine8 April 2016
- 39webTorrent From the Cloud With Seedr - TorrentFreak17 January 2016
- 40webVuze ChangelogAzureus.sourceforge.net
- 41journalMeasuring Large-Scale Distributed Systems: Case of BitTorrent Mainline DHTLiang Wang et al. — 2013
- 43webplugins.vuze.com
- 44webHTTP-Based Seeding SpecificationBitTornado.com
- 45webHTTP Seeding – BitTorrent Enhancement Proposal № 17John Hoffman, DeHackEd — 25 February 2008
- 46webHTTP/FTP Seeding for BitTorrentGetRight.com
- 48webBurn Any Web-Hosted File into a Torrent With BurnbitTorrentFreak — 13 September 2010
- 49webPHP based torrent file creator, tracker and seed serverPHPTracker
- 50webBitTorrent and RSS Create Disruptive RevolutionEWeek.com — 14 December 2003
- 52webBroadcatching with BitTorrentRaymond, Scott — scottraymond.net — 16 December 2003
- 53webMoveDigital API REST functionsMove Digital — 2006
- 54webProdigem Enclosure Puller(pep.txt)Prodigem.com
- 55webEncrypting Bittorrent to take out traffic shapersTorrentfreak.com — 5 February 2006
- 57webComcast and BitTorrent Agree to CollaborateAnne Broache — News.com — 27 March 2008
- 58webIs Comcast's BitTorrent filtering violating the law?Chris Soghoian — 4 September 2007
- 59webBEP12: Multitracker Metadata ExtensionBitTorrent Inc.
- 60webP2P:Protocol:Specifications:Multitrackerwiki.depthstrike.com
- 61webArstechnica.comCasey Johnston — 9 December 2008
- 62webThunder Blasts uTorrent's Market Share AwayErnesto Van Der Sar — TorrentFreak — 4 December 2009
- 63webuTorrent Dominates BitTorrent Client Market ShareTorrentFreak — 24 June 2009
- 65webMost Popular BitTorrent Client 2015Alan Henry — lifehacker — 19 May 2015
- 66webTorrent Server combines a file server with P2P file sharingTurnkeylinux.org
- 67webDoes network neutrality mean an end to BitTorrent throttling?Nate Anderson — Ars Technica, LLC — 1 February 2007
- 68webHow to Stream Movies and Download Torrent Files in Brave BrowserMark — Browser Pulse — 7 May 2020
- 70webBitLet - Bittorrent appletAlessandro Bahgat — 2008-10-10
- 71web8 Legal Uses for BitTorrent17 August 2013
- 72webComplete Download Options List – BitTorrentUbuntu.com
- 73webBitTorrent and μTorrent Software Surpass 150 Million User MilestoneBittorrent.com — 9 January 2012
- 74webApplication Usage & Threat ReportPalo Alto Networks. 2013
- 75bookIEEE P2P 2013 ProceedingsLiang Wang et al. — 1 September 2013
- 77webNeed Help?
- 78webWhat is VODO?
- 79webP2P Backed Film Platform to Reward InfluencersOctober 3, 2010
- 80newsCBC to BitTorrent Canada's Next Great Prime Minister19 March 2008
- 82webBittorrent fra NRK
- 84webVPRO gemeengoedOctober 1, 2009
- 85webDownload California DreamingNovember 8, 2010
- 87webRetrieving Amazon S3 objects using BitTorrentJanuary 1, 2025
- 88webBlizzard DownloaderFandom — 6 December 2022
- 89webDisable p2p option gone? - Battle.net Forums2016-07-15
- 90webWorld of Tanks FAQWargaming — 1 January 2025
- 91webBitTorrent Sync
- 92webBitTorrent Sync is now Resilio SyncSamuel Bennett — 2016-11-04
- 93webCombined Online Information SystemHM Government — Controller of Her Majesty's Stationery Office — 4 September 2012
- 94webUK Government Uses BitTorrent to Share Public Spending DataErnesto — TorrentFreak — 4 June 2010
- 95webHPC Data RepositoryFlorida State University
- 96book2008 IEEE International Symposium on Parallel and Distributed ProcessingCosta, Fernando — IEEE — 2008
- 97webTorrents Help Researchers Worldwide to Study Babies' BrainsTorrent Freak — 3 June 2017
- 99webAcademic Torrents: Bringing P2P Technology to the Academic WorldFräntz Miccoli — 2014
- 100webFacebook Uses BitTorrent, and They Love ItErnesto — 25 June 2010
- 101webTwitter Uses BitTorrent For Server DeploymentErnesto — 10 February 2010
- 102webBitTorrent Makes Twitter's Server Deployment 75x FasterErnesto — 16 July 2010
- 103webInternet Archive Starts Seeding 1,398,875 TorrentsErnesto — TorrentFreak — 7 August 2012
- 106webAT&T Patents System to 'Fast-Lane' BitTorrent Traffic8 May 2006
- 108conferenceUDP NAT and Firewall Puncturing in the WildHalkes — Springer — 2011
- 109webIs torrenting safe? Is it illegal? Are you likely to be caught?29 November 2018
- 110webThe Piratebay is Down: Raided by the Swedish PoliceTorrentFreak — 31 May 2006
- 111webTechnical report: An Estimate of Infringing Use of the InternetEnvisional — 1 January 2011
- 112newsBitTorrent: Copyright Lawyers' Favourite Target Reaches 200,000 Lawsuits9 August 2011
- 113magazineU.K. High Court Orders ISPs to Block The Pirate BayChloe Albanesius — 30 April 2012
- 115webMeta pirated and seeded porn for years to train AI, lawsuit saysAshley Belanger — 2025-07-28
- 116webFrom ‘John Does’ to Meta: Bay Area loses lead in porn download suits but lands a megacaseJoe Dworetzky — 2026-02-16
- 118webP2P File-Sharing in Hell: Exploiting BitTorrent Vulnerabilities to Launch Distributed Reflective DoS AttacksFlorian Adamsky — 2015
- 119webSearching for Malware in Bit TorrentAndrew D. Berns et al. — University of Iowa, via TechRepublic — 24 April 2008
- 120conferenceWhere Only Fools Dare to Tread: An Empirical Study on the Prevalence of Zero-Day MalwareHåvard Vegge et al. — IEEE Computer Society — 2009