Base-58 Encoder / Decoder
About Base-58
Base-58 is a binary-to-text encoding scheme used for Bitcoin addresses and other cryptocurrencies. It is similar to Base-64 but avoids characters that could be mistaken for one another, such as 0 (zero), O (capital o), I (capital i), and l (lowercase L).
This makes it more human-readable and less prone to transcription errors. Base-58Check adds a checksum to detect errors.
Wallet Import Format (WIF) Tool
Easily convert between a raw 256-bit (32-byte) private key in hex and its corresponding WIF representation.
Base-58Check Address Validator
Enter a Base-58 encoded string (like a Bitcoin address) to verify its checksum. This helps detect typos and ensures the address is mathematically valid.
Base-58 Reference
Base-58 Alphabet
The 58 characters used, excluding 0, O, I, and l.
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Common Bitcoin Version Bytes (Prefixes)
The first byte of data in a Base-58Check string determines its type and how it's displayed.
| Prefix | Version Byte (Hex) | Description |
|---|---|---|
1... | 0x00 | P2PKH Address (Pay-to-Public-Key-Hash) |
3... | 0x05 | P2SH Address (Pay-to-Script-Hash) |
K... or L... | 0x80 | Private Key WIF (Compressed/Uncompressed) |
m... or n... | 0x6F | Testnet P2PKH/P2SH Address |
bc1... | N/A (Bech32) | SegWit Address (not Base-58, but common) |