If you find an old forum post or a 2015 news article linking to something like xxxxxxxxxxxxxxxx.onion, sixteen characters and done, that link is dead and has been since late 2021. It's not that the site went offline (though it probably did). The whole address format was switched off across the Tor network, deliberately, after a few years of warnings.
A lot of people experienced this as a sudden event: one week their bookmarks worked and the next week Tor Browser called them invalid. The technical case for it had been building for a decade.
What was wrong with v2
The v2 design dates from the mid-2000s and it showed its age in several places at once.
The identity key was RSA-1024. That size was considered marginal even when it was chosen, and by the late 2010s nobody would recommend it for anything long-lived. The address itself was the first 80 bits of a SHA-1 hash of that key, base32-encoded into 16 characters. Eighty bits isn't much room. It's enough that collisions for a specific address are still impractical, but it made vanity generation for six or seven characters cheap, and it left no margin at all.
The bigger problem was the directory design. In v2, the relays storing a service's descriptors (the HSDirs) could see which onion address each descriptor belonged to. A researcher or an attacker who ran a bunch of relays with the HSDir flag could quietly collect a list of onion addresses that were never published anywhere. People did this, and some of the relays caught doing it went further and started probing the services they'd discovered. A service that the operator thought was private wasn't.
Worse, the HSDir positions for a given service were predictable. Someone could generate relay keys that would land right next to a target service's descriptor IDs in the hash ring, become its HSDirs for a day, and then refuse to serve the descriptor (censoring it) or log who asked for it. It took effort, but it was a known attack, not a theoretical one.
What v3 fixed
The replacement, specified as Tor proposal 224 and shipped in tor 0.3.2 around the start of 2018, rebuilt the cryptography and the directory logic together:
| v2 | v3 | |
|---|---|---|
| Identity key | RSA-1024 | ed25519 |
| Address | 16 chars, truncated SHA-1 | 56 chars, full public key + checksum |
| HSDirs learn the address | Yes | No (blinded keys) |
| HSDir positions | Predictable and grindable | Depend on a shared random value from the directory authorities |
| Descriptor contents | Readable by HSDirs | Encrypted with a key derived from the address |
| Client authorization | Clunky, rarely used | x25519 keys, built in |
The shared random value is easy to overlook. The directory authorities run a commit-and-reveal protocol each day to agree on a random number nobody could predict in advance. HSDir placement depends on it, so you can't grind relay keys ahead of time to sit next to a particular service. And because HSDirs only see a hash-derived blinded key, the harvesting trick stopped working entirely. For the details on the new format, see Anatomy of a v3 .onion Address.
The timeline
v2 and v3 ran side by side for a few years. Most operators didn't bother moving, because v2 worked and the short address was already printed on stickers and pasted into wikis. So in mid-2020 the Tor Project published a fixed schedule:
- July 2020: the deprecation plan was announced.
- September 2020: tor 0.4.4 started logging warnings for anyone running or visiting a v2 service.
- July 2021: tor 0.4.6 removed v2 support from the code.
- October 2021: updates to the remaining supported tor series disabled v2, and Tor Browser followed in its version 11 releases.
Once enough relays upgraded, v2 descriptors had nowhere to be stored, and the format was effectively dead network-wide regardless of what an individual operator ran.
What happened to the old sites
Well-run services announced v3 addresses well ahead of the cutoff, usually signing the new address with a key their users already trusted (a PGP key, or a message posted on the old address itself). The Tor Project, DuckDuckGo, major news outlets and SecureDrop instances all did this without much fuss.
The long tail didn't. A lot of v2 sites were abandoned projects that nobody was going to update, and they simply vanished. Link lists and directory sites were hit hard: some Hidden Wiki copies kept serving pages of v2 links for months afterwards, which is one reason old directories look like graveyards. We wrote about the general problem in why onion sites go offline so often. If you want a current list, our onion directory only carries v3 addresses.
Phishers loved the transition. Every legitimate site had to tell its users "our address has changed, here's the new one," and that's precisely the message a scammer wants to send too. For a while there were plenty of fake "our new v3 address" posts pointing at clones. The lesson from that period still holds: when a service changes its address, verify the change through a channel you already trust, and be suspicious of a new address you only heard about from a random link page. There's more on that in our piece on phishing mirrors.
If you still have v2 keys
Some people still have an old private_key file sitting in a HiddenServiceDir on a server that's been running untouched since 2019. Tor will refuse to start the service with a modern version. There's nothing to migrate. Generate a fresh v3 service, which happens automatically on any current tor when you add a new HiddenServiceDir (the old HiddenServiceVersion 3 line is now the default and can be left out), and announce the new address. Then delete the old RSA key, or keep it only if you think you'll ever need to prove you owned the old address by signing something with it. A handful of operators did that during the transition, and it was a neat way to bridge the trust gap.