Skip to main content

Base58 Encoder / Decoder

Encode bytes to Base58 or Base58Check and decode them back.

Input

Options

Direction
Mode
Input format

Output

Enter text, hex or Base64 to encode, or load an example.

Base58 encoding alone does not guarantee a valid wallet or blockchain address.

How to use

  1. 1.Choose Encode or Decode, pick Base58 or Base58Check and an alphabet, then type or paste your input.
  2. 2.Encode accepts UTF-8 text, hex or Base64; Decode shows hex, UTF-8, Base64 and a byte array.
  3. 3.In Base58Check, set the prefix bytes when encoding or the prefix length when decoding.

Base58 Encoder / Decoder

Base58 writes bytes with 58 characters that avoid look-alikes such as 0, O, I and l. Each leading zero byte becomes the alphabet's first character, so it survives a round trip. Base58Check appends the first 4 bytes of SHA-256(SHA-256(prefix + payload)) to detect typos. A matching checksum only proves the string was not mistyped; it does not prove that a wallet or blockchain address is valid.

Privacy

Processing stays in your browser. Input and output are never uploaded or saved. Base58 encoding alone does not guarantee a valid wallet or blockchain address.

Frequently asked questions
Are leading zero bytes preserved?
Yes. Each leading zero byte becomes the alphabet's first character (1 in the Bitcoin alphabet) and decodes back to a zero byte.
Does a valid Base58Check checksum mean an address is valid?
No. The checksum only detects typos. Base58 encoding alone does not guarantee a valid wallet or blockchain address.

CodingTool is officially live on