Encoders & Text

Base64 / Base32 / Base58 / Base85

Encode and decode across base families, byte-accurate for any input.

  • History kept on this deviceRecent results are kept in this browser's local storage until you clear them.
  • Runs in your browserProcessing happens in this page. No application server receives your input.
Base64 (standard)
More options

Input

Output

Byte mapping

Show byte mapping

Supported base families and alphabets

  • Base64 encodes 3-byte groups into 4 characters using standard (RFC 4648 with +, /, and = padding) or urlsafe (RFC 4648 §5 with -, _, and no padding). Decoding auto-detects standard vs. URL-safe and padded vs. unpadded inputs.
  • Base32 encodes 5-byte groups into 8 characters across RFC 4648 (A–Z2–7 with = padding), Crockford (0–9A–Z excluding I, L, O, U; accepts hyphens and folds i/l to 1 and o to 0 on decode), and z-base-32 (human-oriented lowercase alphabet, unpadded).
  • Base58 performs big-integer base conversion over Bitcoin, Ripple, and Flickr alphabets, preserving leading zero bytes (0x00) as the alphabet's zero character.
  • Base85 encodes 4-byte groups into 5 characters across Ascii85 (accepts optional <~...~> framing and z all-zero group shorthand on decode; never emits z on encode), Z85 (ZeroMQ, requiring 4-byte encode / 5-character decode multiples), and RFC 1924 (fixed 128-bit / 16-byte / 20-character payloads).

Example

UTF-8 input café (5 bytes: 63 61 66 c3 a9) encodes to:

  • Base64 (standard): Y2Fmw6k=
  • Base64 (URL-safe): Y2Fmw6k
  • Base58 (Bitcoin): CDK2VUL (exact radix-58 of 0x636166c3a9; note that the summary table shorthand 2QMHKfnA decodes to 6 bytes)

Limits and binary payloads

  • Base64, Base32, and Base85 accept text and binary files up to 16.0 MB.
  • Base58 is quadratic in input length and refuses payloads above 4096 bytes (5594 encoded characters); use Base64 for bulk data.
  • Decoded output is previewed as UTF-8 text; non-UTF-8 bytes render as U+FFFD with an explicit byte-count badge and warning, while Save writes the exact raw binary bytes.

Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.