devpocket.dev

Base32/58/62/85/91 Converter

Encode text or bytes with Base32, Base58, Base62, Base85 and Base91; decode with strict validation.

Runs locally
Loading tool…

How to use

  1. Choose Encode or Decode, then select a codec and variant. Base64 has its own linked tool.
  2. On the raw-byte side, choose UTF-8 text or hex bytes. Hex accepts whitespace but no 0x prefix; invalid UTF-8 requires hex output.
  3. Match Base32 padding to your data. Z85 requires four-byte input blocks. For Base58Check, include the version byte yourself.
  4. Use Sample to explore, Swap to reverse, and Copy to reuse the result. Counts exclude hex formatting; size ratio means encoded bytes divided by payload bytes, including wrappers and checksums. Input stays in memory, with an 8,192-byte payload limit.

FAQ

How is this different from a number base converter or Base64?

This tool encodes byte sequences, not numeric strings. The linked number base converter handles integers; base64-text handles Base64. Here you can choose RFC 4648 Base32 and Extended Hex with or without padding, Crockford, Bitcoin or Flickr Base58, Base58Check, Base62, Ascii85, Z85 and basE91.

Why can Base62 and Crockford results differ between tools?

Base62 here treats bytes as one big-endian integer with alphabet 0-9A-Za-z, preserving each leading zero byte as 0. Other implementations may discard zeros or use another alphabet. Crockford here groups the byte stream into five bits, zero-fills the last group, and omits a check symbol; it is not integer notation. Decoding accepts lowercase, O as 0, I/L as 1, and hyphens.

What does Base58Check validate?

It appends or verifies four checksum bytes from double SHA-256. Supply any version byte as part of the input; decoding preserves it and removes only the checksum. Leading zero bytes round-trip. A matching checksum detects many typing errors but does not prove ownership or authenticity.

Why do Base85 or binary decoding report an error?

Ascii85 accepts paired Adobe delimiters or bare data, ASCII whitespace, and z for four zero bytes, but not y shorthand. Z85 needs four-byte blocks and five-character groups without padding or whitespace. Use hex output when bytes are not valid UTF-8. Base32 requires the selected padding style and zero trailing bits; basE91 rejects whitespace and non-canonical tails. Error positions start at 1.

Related tools