Tools / Base32 / Base58 / Base85 Encoder

Base32 / Base58 / Base85 Encoder.

Encode and decode Base32, Base32hex, Base58 (Bitcoin), Ascii85 and Z85.

Runs in your browser

Encode: read the input as UTF-8 text or hex bytes. Decode: show the result as text (when valid UTF-8) or hex.

Ctrl/⌘ + Enter to run · Ctrl/⌘ + Shift + C to copy the result

Result
Result
Details

About Base32 / Base58 / Base85 Encoder

This converter handles the binary-to-text encodings that Base64 does not cover. Base32 (RFC 4648) uses only upper-case letters and the digits 2–7, which is why TOTP secrets in authenticator apps and DNS-safe identifiers use it; Base32hex keeps the same rules with the alphabet 0–9 and A–V so that encoded values sort in the same order as the bytes. Base58 is the Bitcoin alphabet: it drops 0, O, I and l so that addresses and IPFS hashes survive being read aloud or retyped, and leading zero bytes become leading "1" characters. Ascii85 (the Adobe variant used in PostScript and PDF) packs four bytes into five printable characters and writes an all-zero group as "z"; Z85 is ZeroMQ's string-safe variant, which requires the input length to be a multiple of four bytes. For example, "Hello, world!" is JBSWY3DPFQQHO33SNRSCC=== in Base32 and 72k1xXWG59wUsYv7h2 in Base58. Switch "Bytes as" to hex when you need to encode raw bytes such as a hash or a key instead of UTF-8 text; when decoding, the result falls back to hex automatically if the bytes are not valid UTF-8. Common mistakes: pasting Base32 in lower case (accepted here, but some libraries reject it), confusing Base58 with Base64 because both look random, expecting Base58 to have a checksum (Base58Check adds one on top; this tool shows the plain encoding), and trying Z85 on data whose length is not divisible by four. Decoding errors point to the exact character that is outside the alphabet. Base58 is limited to 8 KB of data, because its cost grows with the square of the length. Everything runs in your browser; nothing is uploaded.

How to Use

  1. Paste text, hex bytes or an encoded string into the input.
  2. Pick encode or decode and the encoding (Base32, Base32hex, Base58, Ascii85 or Z85).
  3. Copy the result; the details panel shows byte and character counts.

Frequently Asked Questions

Why does Base58 not contain 0, O, I or l?

Those characters are easy to confuse when read or typed by hand. Base58 was designed for Bitcoin addresses, so it removes them along with + and /, which also makes the output safe in URLs and double-click selectable.

Does this calculate Base58Check or a Bitcoin address?

No. It encodes and decodes plain Base58. Base58Check adds a version byte and a 4-byte double-SHA-256 checksum before encoding; you can append those bytes yourself in hex mode.

What is the difference between Ascii85 and Z85?

Both pack 4 bytes into 5 characters. Ascii85 uses the characters ! to u and a "z" shortcut for zero groups; Z85 uses a different alphabet without quotes or backslashes so the output can sit inside source-code strings, and it only accepts lengths that are multiples of 4.

Is Base32 padding required?

RFC 4648 output ends with "=" padding to a multiple of 8 characters, and this tool writes it. When decoding, padding and whitespace are optional.

Is my data sent anywhere?

No. Encoding and decoding run in your browser and the page makes no network requests.

Related Tools