/
/
What Is a .onion Address?

What Is a .onion Address?

A .onion address is the name of a service on the Tor network. Its current 56-character name is derived from cryptographic keys. You need Tor-aware software to reach it, and the complete name matters: recognizing the beginning is not enough to identify the service.

Updated By Justin Wilson

Read the whole address

A Tor onion destinationCurrent v3 format
duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion
56-character service identity

The long name carries key information.

.onion

The special-use network ending.

Read it as a full name

Keep all 56 characters before the ending.

Not a location code

The letters do not identify a hosting country.

DuckDuckGo’s address, as published by Tor. Count the 56-character service label before .onion; the scheme, ending, subdomains, and path sit outside that count.

An onion name identifies a service, not a hosting IP address. Onion services can support websites and other applications. Our dark-web guide explains the wider setting.

How Tor handles the name

Ordinary domainName → network destination
Enter the nameexample.com

Your browser needs a destination.

Look up the nameDNS

DNS can supply an address for the domain.

Fetch the pageWebsite connection

The browser connects to the destination.

Onion serviceService identity → Tor connection
Use the full name56 characters + .onion

Tor-aware software recognizes the ending.

Use Tor’s protocolService discovery

Tor locates connection information for the identity.

Authenticate the serviceMatching identity

The connection reaches the service for that name.

DNS answers the name lookup; the browser fetches the page. An onion service uses Tor’s naming and connection protocol.

An onion name is generated from keys rather than bought through a DNS registrar. Changing DNS providers does not add Tor support. The computer behind the service is a separate matter, covered in our onion-hosting guide.

Why the name has 56 characters

What the name contains

35 bytes of data

1d04a1d04a338c6e6ae970bfabee49049d6702250984ca950c01673f4ec034ad916403
Public key
32 bytes
Checksum
2 bytes
Version
1 byte
Base32

280 bits
÷ 5 bits

The encoded service name

56 characters

duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad
Then append .onion

Five bits become one character

The first four groups in this example:

00011d
10100u
00010c
01010k
Each hex cell is one byte; each letter cell is one character. The fields are combined before encoding, so their boundaries do not form three clean chunks in the printed name.

Base32 uses letters a to z and digits 2 to 7. The name is encoded data, not a password for the visitor to decrypt. The private key is not in it; the operator keeps that key to prove control of the service identity.

A correct connection can still reach the wrong site

You used the publisher’s address

Intended site

Expected identityTor connection matches this address

You reached the service the publisher told you to use.

You used a different address

Lookalike site

Different identityTor connection matches this address

The connection can be valid even though this is not the site you intended.

Both connections can authenticate successfully.

Tor follows the address you supplied. It cannot know which organization you had in mind.

Copying a page’s logo and layout does not copy its service identity.

Check the rest of a familiar-looking name

A recognizable beginningduckduckgo
A 10-character prefix leaves 46 characters unchecked.

A changed remainder means a different address, even when the beginning looks right.

Each block represents one remaining character.

Operators can generate names with a chosen beginning. Impersonators can use a similar-looking prefix too.

Bookmark the full address after checking it against the publisher’s own information. If that name changes later, verify the replacement there too; a familiar page design cannot vouch for a new identity.

Check where the hostname ends

An onion hostnameTor name
Schemehttp://
Hostnameduckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion
Path/

The hostname ends in .onion, and the service label has the current 56-character format.

“Onion” inside an ordinary hostnameDNS name
Schemehttps://
Hostnamehost.onion.example.com
Path/

The ending is example.com. The earlier “onion” label does not make this a direct Tor onion address.

“Onion” inside a page pathDNS name
Schemehttps://
Hostnameexample.com
Path/help/.onion

The hostname is example.com. The .onion text occurs after the hostname, inside the path.

In the last example, .onion is part of the path. It has no effect on how the hostname is reached.

A link’s visible label can say anything. Check the destination in the browser, including where the hostname ends, before relying on the word “onion.”

Replace old v2 links with the publisher’s current address

Legacy v2

16
characters before .onion

No longer supported by Tor Browser.

Current v3

56
characters before .onion

The current onion-address format.

Each square is one character; the .onion ending is excluded. A v2 address cannot be converted by adding extra characters.

A 16-character link needs a new address from the operator. For a current name, an “invalid address” message is a reason to check the copied text first. A service-connection failure can instead mean the site is offline.

Our onion-address access guide covers connection checks. Google search visibility is a separate question.

Ties the FindCheapBroadband meerkat mascot

Keep a trusted copy of the full address

Get the address from the publisher, verify the full name, and bookmark it. Recheck a replacement address through that same source. The page’s appearance and a familiar prefix cannot do that verification for you.

More questions about onion addresses

What should I check when a copied address fails?

Re-copy the full address from the publisher’s own information. Check for a truncated name or surrounding punctuation rather than guessing missing characters. A 56-character count alone does not prove that the checksum is valid or the service is online.

Is an http:// onion address unencrypted?

A direct Tor connection to an onion service is encrypted end to end even when its URL begins with http://. That protects the connection; it does not establish who published the address or whether you should trust the content.

Does every onion address open a public website?

No. Some serve other applications, and some require client authorization. If Tor Browser asks for an authorization key, knowing the address is not enough; you need access from the operator.

Justin Wilson

Justin Wilson

Justin Wilson writes about broadband services, internet providers, network technology and consumer connectivity for FindCheapBroadband. His articles cover industry news and practical questions about getting online. View full author profile.

Originally published · Updated

SourcesTor and protocol references