How Long Is a V3 Tor Onion Address?

A standard Version 3 (V3) Tor onion address is 56 characters long, excluding the .onion top-level domain. When including the .onion suffix, the total address length is 62 characters. This article explains the exact length, structural breakdown, and cryptographic design behind standard V3 onion addresses.

Exact Character Count

An example of a standard V3 onion address looks like this: vww6ybal4bd7szmgncyruucpgfkqahzddi37ktceo3ah7ngmcopnpyyd.onion

The Cryptographic Structure of 56 Characters

The 56-character string is encoded using Base32 (comprising the letters a-z and numbers 2-7). It represents a raw 35-byte binary payload structured into three specific parts:

  1. Ed25519 Public Key (32 bytes): The full cryptographic public key for the hidden service, which eliminates the need for a central directory authority to verify ownership.
  2. Checksum (2 bytes): A SHA3-256 hash output used by the Tor client to detect typos and verify data integrity before attempting a connection.
  3. Version Field (1 byte): Identifies the onion address version (set to \x03 for V3).

When these 35 bytes are encoded into Base32, each character represents 5 bits of data, resulting in exactly 56 characters: (35 bytes × 8 bits/byte) ÷ 5 bits/character = 56 characters

V3 vs. Deprecated V2 Length