Base91 Encode Online Tool
Enter the text to be encoded
basE91 encoding
basE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient. The overhead produced by basE91 depends on the input data. It amounts at most to 23% (versus 33% for base64) and can range down to 14%, which typically occurs on 0-byte blocks. This makes basE91 very useful for transferring larger files over binary unsafe connections like e-mail or terminal lines.
As the name suggests, basE91 needs 91 characters to represent the encoded binary data in ASCII. From the 94 printable ASCII characters (0x21-0x7E), the following three ones have been omitted to build the basE91 alphabet:
- (dash, 0x2D)
\ (backslash, 0x5C)
' (apostrophe, 0x27)
The translation table is composed of the remaining characters as shown below.
0 A 0x41 13 N 0x4E 26 a 0x61 39 n 0x6E 52 0 0x30 65 % 0x25 78 > 0x3E
1 B 0x42 14 O 0x4F 27 b 0x62 40 o 0x6F 53 1 0x31 66 & 0x26 79 ? 0x3F
2 C 0x43 15 P 0x50 28 c 0x63 41 p 0x70 54 2 0x32 67 ( 0x28 80 @ 0x40
3 D 0x44 16 Q 0x51 29 d 0x64 42 q 0x71 55 3 0x33 68 ) 0x29 81 [ 0x5B
4 E 0x45 17 R 0x52 30 e 0x65 43 r 0x72 56 4 0x34 69 * 0x2A 82 ] 0x5D
5 F 0x46 18 S 0x53 31 f 0x66 44 s 0x73 57 5 0x35 70 + 0x2B 83 ^ 0x5E
6 G 0x47 19 T 0x54 32 g 0x67 45 t 0x74 58 6 0x36 71 , 0x2C 84 _ 0x5F
7 H 0x48 20 U 0x55 33 h 0x68 46 u 0x75 59 7 0x37 72 . 0x2E 85 ` 0x60
8 I 0x49 21 V 0x56 34 i 0x69 47 v 0x76 60 8 0x38 73 / 0x2F 86 { 0x7B
9 J 0x4A 22 W 0x57 35 j 0x6A 48 w 0x77 61 9 0x39 74 : 0x3A 87 | 0x7C
10 K 0x4B 23 X 0x58 36 k 0x6B 49 x 0x78 62 ! 0x21 75 ; 0x3B 88 } 0x7D
11 L 0x4C 24 Y 0x59 37 l 0x6C 50 y 0x79 63 # 0x23 76 < 0x3C 89 ~ 0x7E
12 M 0x4D 25 Z 0x5A 38 m 0x6D 51 z 0x7A 64 $ 0x24 77 = 0x3D 90 " 0x22
-> source base91.sourceforge.net