DevTools Logo

Base58 Encoder / Decoder

Base58 Encoder / Decoder

Bitcoin alphabet — encode, decode, Base58Check, CIDv0

Runs in your browserRuns in your browser

Input

Output

Enter input to encode Base58

Try "Hello World" or hex "00005a"

Input: 0 BOutput: 0 B

About this tool

Converts text/hex bytes to and from Base58 (Bitcoin alphabet — excludes 0OIl + +/ for human transcription safety) with Base58Check display for common crypto formats. Unlike base64/base32, Base58 is a base-conversion of a big integer, not bit-slicing: bytes → BigInt → repeated division by 58, with leading zero bytes mapped to 1 characters.

How to use this tool

  1. Choose mode

    Select Encode (text/hex → Base58) or Decode (Base58 → text/hex). The tool auto-detects from your input.

  2. Set input mode

    For encoding: choose Text (UTF-8) or Hex (0x-prefixed or space-separated). For decoding: Base58 input always.

  3. Enable Base58Check

    Toggle Base58Check to show version byte, payload, and checksum validation. Set version byte for encode.

  4. Enter input

    Type or paste text, hex, or Base58. Leading zero bytes become '1' characters.

  5. Copy or download

    Output appears live. Use Copy button, download .txt, or swap direction to re-encode the result.

Frequently asked questions

Why does Base58 exclude 0, O, I and l?

These characters look alike in many fonts. Excluding them prevents transcription errors when humans copy addresses or CIDs.

Why does my string start with 1s?

Each leading 0x00 byte in the input becomes a '1' in Base58. This preserves exact byte length on round-trip.

What is Base58Check?

Base58Check adds a version byte prefix and a 4-byte double-SHA256 checksum. Used for Bitcoin WIF, addresses, and CIDv0.

How do I decode an IPFS CIDv0?

Paste the CIDv0 (starts with Qm, 46 chars). The tool auto-detects it and shows multihash code (0x12), length (0x20), and digest.

Is Monero Base58 the same?

No. Monero uses a block-based Base58 (58-byte blocks) with different alphabet. This tool implements Bitcoin-style whole-integer Base58.