Base91 Codec

91-character efficient encoding, efficiency close to Base128

📖 Example

Original Text
Hello, World! Base91 is efficient!
Base91 Encoded
=OwJh=|AQ:r??Y>F~CDm9jpweZP@;cASV64P8jr5_C
Original Length
34B
Encoded Length
42B
Expansion Rate
23.5%

Why Base91?

About 23% more efficient than Base64 encoding
Uses printable ASCII characters, fully compatible with text protocols
No checksum, suitable for internal data transfer
Non-standard algorithm, suitable for scenarios where interoperability is not needed

Character Set (91 printable characters)

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,-./:;<=>?@[]^_`{|}~