Solana address formatKnow your address before you search.
Every Solana address follows the same short rules. Check them before you pick a pattern, and see which kinds of account can carry a custom address.
The format at a glance
Cafei45ub7Qe4ZE36UT5G6cU4ud8Fhhe4deS4F3cw9KT
- Fixed prefix
- None: the pattern starts at the first character
- What it encodes
- A 32-byte public key (or a 32-byte derived address)
- Length
- 32 to 44 characters, almost always 43 or 44
- Allowed characters
- Base58: 1–9 and letters, without 0, O, I or lowercase l
- Letter case
- Part of the address; ignoring it when matching makes a search easier
- Generator limit
- Prefix or suffix, up to 6 characters
Why most addresses start with 2 to H
Base58 writes the 32-byte key as one large number, so the length and the first character depend on its size. The largest 32-byte value is about 17.2 × 58⁴³, which means about 94% of addresses need 44 characters, and a 44-character address can only start with 2 to 9, A to H or, rarely, J. Every other first character comes from the shorter 43-character addresses.
That matters for a prefix, not for a suffix. Starting your prefix with an early character makes it easier to find; starting it with a late or lowercase letter makes it harder. Estimate your pattern.
| First character | Share of addresses, each | Effect on a prefix |
|---|---|---|
| 2 to 9, A to H | About 1 in 17 | Faster than average |
| J | About 1 in 70 | Close to average |
| K to Z, lowercase letters | About 1 in 1,000 | About 17 times slower than average |
| 1 | 1 in 256 | Needs a leading zero byte |
Letter case and excluded characters
Base58 leaves out four characters that are easy to confuse: the digit 0, capital O, capital I and lowercase l. Lowercase i and o and capital L are allowed, but only in that one case. Letter case is part of the address: changing it gives a different address, so always copy the full address rather than retyping it.
When a search ignores case, a letter that exists in both cases matches 2 of the 58 symbols, which halves the work for that character. Why 0, O, I and l are rejected.
Which accounts can carry a custom address
Every Solana account has the same kind of 32-byte address. A custom pattern is only possible where the address comes from a keypair you can search for. Derived addresses are fixed by their inputs.
| Account | Where the address comes from | Custom pattern? |
|---|---|---|
| Wallet (system account) | Public key of an Ed25519 keypair | Yes |
| Token mint | Keypair that signs the create-mint transaction | Yes |
| Program ID | Keypair used on the first deploy | Yes |
| Associated token account | Derived from wallet, token program and mint | No |
| Program derived address (PDA) | Hash of seeds and program ID, with no private key | No |
Details in wallet, token mint or program address. Sources: Solana accounts, Program derived addresses.
Ask AI about custom Solana addresses
Take a ready-made question with you. Choose an assistant to continue.
Ready to try a pattern?
Open the generator →