Encoding converter
Convert data between text, hex, binary, Base32, Base36, Base45, Base58, Base62, Base64, Base85 and Z85.
About this tool
Different systems store binary data in different text encodings. This page converts between any two of them: text, hex, binary, octal, Base32, Base36, Base45, Base58, Base62, Base64, Base64URL, Base85 and Z85.
Base85 packs 4 bytes into 5 characters, which is denser than Base64. Z85 is the ZeroMQ variant of Base85 that is safe to put in source code. Base45 is the encoding used in QR codes such as the EU digital COVID certificate, and Base62 and Base36 are common in short IDs.
Questions
- Which encoding is the most compact?
- Of the ones here, Base85 and Z85 have the smallest output, about 25% larger than the raw bytes. Base64 adds about 33% and hex doubles the size.
- Is my input sent to a server?
- No. The page loads a compiled Dart engine into a Web Worker and does all the work in your browser tab. Nothing you type or drop in is uploaded, and the tools keep working offline once the page has loaded.