Toolvito

Works on this device

Base Encoding Converter

Choose an encoding, then type or paste text or bytes to encode, or encoded text to decode. The work is done on your device. Nothing is sent anywhere.

Your data

RFC 4648 Base32 and Base32hex, and the Crockford alphabet.

Type or paste here. It is converted on this device and is not sent anywhere.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Enter your data, or choose Try an example.

How to use this converter

  1. Choose the encoding in the menu, such as Base32 or Base58.
  2. Choose the direction: Encode turns plain data into encoded text, and Decode turns it back.
  3. Type or paste your data. For plain data, say if it is text or bytes written in hex.
  4. Choose the alphabet or form when the encoding has more than one.
  5. The result shows as you type. Choose Copy text or Download file to keep it.
  6. When you decode, strict reading is on. It accepts only the exact alphabet and padding and names the position of the first mistake. Untick it to accept spaces, line breaks and either letter case.

The encodings and their rules

Encodings in this tool
Encoding Rule Source
Base32 Five bytes become eight characters from A to Z and 2 to 7. The last group is filled with = signs. RFC 4648, section 6
Base32hex The same rule with the characters 0 to 9 and A to V. RFC 4648, section 7
Crockford Base32 The characters 0 to 9 and A to Z without I, L, O and U. No padding. For bytes, the bits are grouped as in RFC 4648. Douglas Crockford, Base 32
Base16 Each byte becomes two hex digits. RFC 4648, section 8
Base58 The bytes are read as one whole number and written with 58 characters (no 0, O, I or l). Each zero byte at the start becomes one 1. Bitcoin
Base58Check A version, the data, and four checksum bytes (SHA-256 used twice), all written in Base58. Bitcoin
Ascii85 Four bytes become five characters from ! to u. Four zero bytes become one z. Adobe PostScript and PDF
Z85 Four bytes become five characters of its own alphabet. The data length must be a multiple of 4 bytes. ZeroMQ RFC 32
Base85, RFC 1924 alphabet Four bytes become five characters of the RFC 1924 alphabet, as Python b85encode does. RFC 1924 (alphabet only)
Base45 Two bytes become three characters; a last single byte becomes two. RFC 9285
Base36, Base62 A whole number, or bytes read as one whole number, written with 36 or 62 characters. No standard; the rule is stated with the result

Base64 has its own tool: the Base64 Encoder & Decoder.

Worked example

The text Hello World! is 12 bytes. In Base32 it is JBSWY3DPEBLW64TMMQQQ==== (24 characters). In Base58 it is 2NEpo7TZRRrLZSi2U (17 characters). In Base16 it is 48656C6C6F20576F726C6421.

The text Hello!! in Base45 is %69 VD92EX0. The space is part of the result. The number 123456789 in Base36 is 21i3v9.

Limits you should know

  • An encoding is not a cipher. It hides nothing: anyone can decode the text.
  • Never type a private key, a recovery phrase or a password into a web page, also not here. The Base58Check form is for public data such as addresses.
  • The Base58Check checksum finds typing mistakes. It does not show that an address is in use or that it is yours. Check an address in your wallet software before you send money.
  • Text is read as UTF-8. Decoded bytes that are not UTF-8 text, or that have control characters, are shown in hex.
  • For Base36 and Base62 with bytes there is no standard. This tool keeps each zero byte at the start as one 0. Another tool may give another result.
  • Crockford Base32 was made for numbers. For bytes this tool groups the bits as RFC 4648 does. A tool that reads the bytes as one number gives another text.
  • Z85 cannot hold data whose length is not a multiple of 4 bytes, so such data is refused and not padded.
  • The largest input is 100,000 characters. Base58 and the byte forms of Base36 and Base62 take 4,096 bytes; a whole number can have 5,000 digits.
  • Files cannot be opened here. Bytes can be entered in hex.

Related tools