Base58 Encoder & Decoder

Uses the Bitcoin Base58 alphabet without 0, O, I or l. Leading zero bytes are preserved as leading 1 characters.

Loading tool module...

About this base58 encoder & decoder

Base58 Encoder & Decoder — browser-based utility.

How this tool works

Uses the Bitcoin Base58 alphabet without 0, O, I or l. Leading zero bytes are preserved as leading 1 characters.

  1. Paste the example into “Input”.
  2. Set “Second input / expression” to encode.
  3. Click “Run locally” and compare “Output” with the example.

Worked example

Scenario: Convert a four-byte UTF-8 text value with Base58 Encoder & Decoder

Sample input:

CZOA

Processing: Uses the Bitcoin Base58 alphabet without 0, O, I or l. Leading zero bytes are preserved as leading 1 characters.; Second input / expression = encode

Illustrative output:

2irWFi

Limits and verification

This is Base58 text encoding, not Base58Check address validation. Empty text encodes to empty text. Decoded bytes must be valid UTF-8. Unpaired Unicode surrogate characters are rejected to prevent silent replacement during UTF-8 encoding.

Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.

Browser processing boundary

Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.

Relevant references

These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.

Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology

How to use it

  1. Paste the example into “Input”.
  2. Set “Second input / expression” to encode.
  3. Click “Run locally” and compare “Output” with the example.

Frequently asked questions

Which Base58 alphabet does the converter use?+

It uses the Bitcoin-style alphabet 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz, omitting zero, uppercase O, uppercase I, and lowercase l.

What did the browser fixture verify?+

The UTF-8 string hello world encoded as StV1DL6CwTryKyV, an independently known Base58 vector.

How are leading zero bytes handled?+

Each leading zero byte is represented by a leading 1 when encoding. Decode restores leading 1 characters as zero bytes before UTF-8 decoding.

What happens with invalid Base58 or non-text bytes?+

Decode rejects characters outside the alphabet. Decoded bytes must be valid UTF-8 to become text, so arbitrary binary payloads can raise a decoding error.