Base32 and Base58 Encoder and Decoder

Encode text to Base32 (TOTP secrets) or Base58 (Bitcoin-style IDs) and decode them back. Runs in your browser.

About Base32 and Base58 Encoder and Decoder

Encode text as Base32, the alphabet used for TOTP and two-factor authenticator secrets, or Base58, the alphabet used by Bitcoin-style addresses that drops look-alike characters such as 0, O, I and l. Decode either format back to text.

The text is converted to UTF-8 bytes first, so accented and non-Latin characters round-trip correctly. Base32 output is padded with = to a multiple of 8 characters.

How to use it

  1. Choose Base32 or Base58, then encode or decode.
  2. Paste the text or encoded value.
  3. Copy the output.

Questions

Is my text uploaded?

No. Everything runs in your browser; nothing you type or generate is sent to a server.

Is Base32 the same as Base64?

No. Base32 uses 32 characters (A–Z and 2–7) and is case-insensitive, which suits codes people type by hand. Base64 uses 64 characters.

Why does decoding Base58 fail on my string?

Base58 leaves out 0, O, I and l. If one of those appears, the value is not valid Base58.

More Data & Converters tools

Home · All Tools · Blog