Old onion addresses were 16 characters long. The Tor Project retired them, and since October 2021 they no longer work. Current v3 addresses are 56 characters, use stronger cryptography, and include a built-in checksum, so a mistyped address simply fails instead of taking you somewhere else.
There is a specific kind of frustration that only exists on the Tor network: you find a link, paste it in, and get a page telling you the address is invalid. Nine times out of ten the explanation is boring. The link is from a directory that has not been updated since 2021, and it is pointing at an address format that no longer exists.
This is the single most common reason people think Tor is broken. The network works fine. The link is a fossil.

The short answer
Onion addresses have come in two formats. Version 2 addresses were 16 characters followed by .onion. Version 3 addresses are 56 characters followed by .onion. Since October 2021, only version 3 works. Tor Browser will refuse a v2 address rather than try to resolve it, and the Tor software that used to support them no longer contains the code.
If a page you are looking at prints a 16-character address, you can stop reading it. It has not been maintained for at least five years. That does not mean the site is malicious, although it might be. It means the site is talking about a network that no longer exists.
v2 vs v3 at a glance
| v2 (retired) | v3 (current) | |
|---|---|---|
| Length | 16 characters | 56 characters |
| Cryptography | RSA-1024, SHA-1 | Ed25519, SHA3-256 |
| Checksum | None | 2 bytes, built into the address |
| Descriptor discovery | Distributed hash table | Hash ring, signed descriptors |
| Offline keys | No | Yes |
| Client authorisation | Basic | Built in, with named clients |
| Status | Removed October 2021 | The only supported format |
Why v2 was retired
v2 was not broken in the way people imagine. Nobody found a way to forge an address or decrypt traffic. The problem was structural: v2 relied on a 1024-bit RSA key and SHA-1, both of which have been on the way out for years, and its discovery mechanism exposed the network to enumeration in a way that was hard to fix.
Practically, v2 also made life easy for people who wanted to run many services. Because the address was derived from a hash of the public key, operators could grind keys to produce addresses with recognisable prefixes. That was a convenience for legitimate services and a gift to anyone building a convincing phishing clone. A page could claim to be the “official” version of something and have an address that started with the same few characters as the real one.
The Tor Project spent years on the replacement. v3 was designed from the start to fix the parts of v2 that were awkward rather than broken: it uses modern Ed25519 keys, it signs descriptors so the network can verify them, it supports keeping the private key offline, and it adds a checksum so a single typo produces a clean error instead of a silent connection to the wrong place.
The timeline
The migration ran for the better part of a decade, which is worth remembering when people say the Tor Project “suddenly killed” their links.
- 2015. The v3 onion service design is proposed and discussed in the open. The specification is public from the start.
- 2017. Tor 0.3.2 adds support for v3 services, and the network begins to carry both formats.
- September 2020. The Tor Project publishes a deprecation timeline and starts telling operators to migrate.
- July 2021. v2 support is removed from the Tor release that follows, and the network stops accepting new v2 descriptors.
- October 2021. v2 onion services stop resolving entirely.
- November 2021. Tor Browser 11 ships without v2 support. Pasting an old address produces an error page rather than a timeout.
That is roughly six years of notice and five years of running both formats side by side. Directories that did not move were not caught out; they ignored a warning that was repeated for years.
What it broke
The immediate casualty was the enormous library of link lists that had been copied around the network since the early 2010s. A lot of them were already years out of date. After October 2021, they became actively misleading, because a reader had no way to tell whether a dead link was dead because the site was gone or because the format was retired.
This is where the v2 format becomes a useful dating tool. A directory that still lists 16-character addresses was last edited before 2021. A directory that lists 56-character addresses was edited after 2017 at the earliest, which does not make it trustworthy but does mean somebody touched it recently.
The second casualty was the habit of trusting prefixes. Under v2, an address that started with the same six characters as the real one was very likely a deliberate attempt to impersonate it. People learned to check the first few characters and stop. Under v3, that habit is worse than useless, because the important part of the address is the whole thing and the check is built in.
Anatomy of a v3 address
A v3 address is not a random string. It is a 35-byte structure encoded in base32, which produces exactly 56 characters.
The three parts are:
- A 32-byte public key. This is the identity of the service. The matching private key never leaves the server, and with modern setups it does not even need to be on the server.
- A 2-byte checksum. It is derived from the public key and the address version. This is what makes a typo fail cleanly instead of resolving to a different service.
- A 1-byte version number. For v3 this is
0x03, which is why every v3 address ends in the letterd.
Those 35 bytes are concatenated and then base32-encoded as one stream, which is why the fields do not line up neatly with character boundaries. The result is 56 characters that look random but are internally consistent: change one character and the checksum no longer matches, and Tor Browser tells you the address is invalid rather than trying to connect.
That last property is underrated. Under v2, a mistyped address usually produced a timeout, which told you nothing. Under v3, a typo is caught locally before any connection is attempted. If you see “Invalid Onionsite Address”, the address is malformed, not merely offline.
The “Invalid Onionsite Address” error
Tor Browser shows this error for a specific reason, and it is worth knowing what each cause looks like.
- 16 characters. A v2 address. Nothing can be done; the service is gone or must be found at a new address.
- Wrong length or illegal characters. A copy-paste error, a line break in the middle, or a character from a different alphabet. Base32 uses the letters a to z and the digits 2 to 7, so a stray 1, 8 or 0 anywhere in the address is a malformed address.
- Uppercase letters. Onion addresses are case-insensitive in practice, but some tools and links mishandle them. Lowercase everything.
- Checksum failure. The address is the right shape but the checksum does not match, which means at least one character is wrong. This is the case where a phishing clone or a bad transcription is most likely.
Note what is not on that list: “the site is down”. A service that is offline produces a timeout or a connection failure, not an invalid address. If Tor Browser tells you the address is invalid, the problem is the address.
How to check a link before you trust it
Length is a useful filter and nothing more. A 56-character address proves the link was written after 2017; it does not prove the service is real. Phishing clones have been using v3 addresses since v3 existed.
The checks that actually work are about provenance. Get the address from the organisation’s own website, ideally over HTTPS, and compare every character rather than the first few. If the organisation publishes a Tor mirror, the link should come from their page, not from a directory that lists links for a living.
Tor Browser also has a built-in signal: the .onion available button appears when a normal website advertises its own onion address through an HTTP header called Onion-Location. That address comes from the site you are already on, which makes it much harder to spoof than a link on a third-party page. If the site offers the button, use it.
We go through the full verification routine, including the checksum check, in how to tell a real onion link from a phishing clone.
What this means in 2026
The v2 cleanup is over, but the dead-link problem it created is not. Most “dark web links” pages on the open web are copies of copies, and many of them were last edited before the migration. Search engines index them, they show up in results, and readers click them and conclude that Tor is broken.
The practical rule is simple. If a page lists 16-character onion addresses, close it. If it lists 56-character addresses but does not say who runs the service or where the address came from, treat it as decoration. The only directory worth using is one that states its verification method, dates its checks, and is willing to show dead links as dead.
There is also a quieter consequence that matters for anyone running a service: v3 addresses are stable if you keep the key, but they are not portable between unrelated services, and they cannot be shortened or branded. That is the trade-off the Tor Project chose deliberately. Short, memorable, forgeable addresses were the problem, not the feature.
FAQ
Why does my onion link not work?
Most often because it is a 16-character v2 address, which has not worked since October 2021. If it is 56 characters, check for a truncated copy-paste, a stray character, or a line break in the middle. If the address is well-formed but the page does not load, the service is offline or has moved.
How long is an onion address?
Current v3 addresses are 56 characters, plus the .onion suffix. The retired v2 format was 16 characters. If you see a number other than 56, something is wrong with the link.
Can a v3 address be shortened?
No. The length is the point: it encodes a full public key plus a checksum. Any service offering shorter onion links is either redirecting through the clear web or making addresses up.
Do v3 addresses always end in “d”?
Yes. The last character encodes the version byte, which is 0x03 for v3, and that produces the letter d in base32. An address ending in something else is not a valid v3 address.
Are old v2 onion sites recoverable?
Not at their old addresses. If the operator kept the private key and migrated to v3, the service exists at a new address. If they did not, the service is gone, and no amount of searching will bring the old address back.
Related guides
These are the pages most worth reading next, in the order we would read them.
- How the Dark Web Works — how a request reaches an onion service
- Tor Browser Explained — where the invalid-address error appears
- How to Spot a Phishing Clone — checking an address before you trust it
- The Hidden Wiki Explained — the directories full of dead v2 links
- Dark Web Glossary — address, descriptor, rendezvous point
- Best Dark Web Sites — addresses that still work, checked regularly
- Darknet Tech — more on addresses and relays
Sources
- Tor Browser manual, tb-manual.torproject.org
- Tor Project, v2 onion service deprecation timeline
- Tor Project, rendezvous specification, version 3
- Tor Project, onion services overview
- Tor Project support, onion services and Onion-Location
- Tor Metrics, unique .onion addresses seen by directory authorities