CodeLobe.com/tools/sqab91


SQAB91 : String Quotable ASCII Base91

A text encoding like Base64 but more efficient.

Download SQAB91

A command line tool for SQAB91 encoding is available:

Both downloads contain the 32bit (i386) and 64bit (amd64) versions.

.\,.| /, -\▄▄█▓▓▓▓▓▄/ .\▓▓▓▒▒▒▒▒▒▓▌' \-█▓▓▒▒▒▒▄▄▄░▒-▌▓▒▒▒▒¡▄▄ /=▒░▒▒▒▒▀▀▀░▒▄▄█▄ /▒░░▒▒▒▒▌░░▓░▒/▒▒░░░░, ▀▀▀-▒▒▒░░░= \▄▄▄' \▐▒▒▒▒░░░.▓█▓▓▓▒▌, \▄▄▄/ `▐▓▒▒▒▒░░░░▐\│▀▀▒░▄. \█▓▒▓▒|\▐▓▒▓▒▒░░░░░, `▀▌ \▓▒▓▀▀▒▓▐▓▒▒▒░░░░░░ ',/ \▄█▓▒▒▀\ \▐▒▓▒▒░░░░░░`,▄▓ .-. -▀▀▀▀\ -░▐▒▒░░▄▄▄▄ .' / `▐▒▒░░ . `, . =- =░▒░ . ▓▄▄▄ ▀▀▌░▒ . . ▓█▓▒░ ▐▀█▄ ▓▀ $¢$£. ▓░ ▒▓▀▀ $£¥ ▓▒ ▄£¥£¢, ▓▓▓▓▓▓▓▒▓▓▓£¢¥£$░ ░£$£¥▄▄ ▓▓▓▓▄▄$£¥£¢¥£▄▄ ▒░ ▒▀▀░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌░▒▌█░▌ ▒▒ ░ ▓ ░ ▄▄▒░ ░▒█░█▐░█▐▓▓▓▓▌█▓▓▌█▓▓▓▐▓▒▒▓▒ ░▒░░▒░▒▒▒░▒░░▒░░▓░▓░▒▒▓▒▒▒ ▒▒▒▒░▒▒▒░▒▓░▒▓▒▓▒▒▒▒░

SQAB91 Features

Here are some features that set String Quotable ASCII Base 91 Encoding apart
from other encodings.

Encoding Examples

The following 270 characters are used as a data input:

Man is distinguished, not only by his reason, but by this singular passion
from other animals, which is a lust of the mind, that by a perseverance of
delight in the continued and indefatigable generation of knowledge, exceeds
the short vehemence of any carnal pleasure.

SQAB91 Encoded in HTML safe mode: 341 characters (126% larger)

6?+3YQ:f5%1oirT"FHva@mp4O:n9nZ]]3K=mDu@4CWKn^D:$`GA3fgj*1%[wr%|)I.ZU?_fV46_r
qrpF/Lz''S?f*YGr$ZsWFJv'fnq4|.Si=Z_I/JdGaQEdoX8n;,nY1Fj'3pKfL%pl8-]:H.va:fj*
V%InfD*$ZN;'^Qq4l0DlyYeWoJ5J]Q{cN_Bl;,q7qL^'ueN78Sk9@raL)IbmZXd('+Jk;,PL`Gml
fn4dl*8qD=n7oJ"b(ST5o{n9Qq3$pJ$yLcac[M\Cx+[i`GbamlN78So9dqMOqL5(]Xp4Ep^rIq7$
xG='EfeV$6OuXY-FTKNU'SafO0FD$Qs!

Base64 Encoded: 365 characters (135% larger)

TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz
IHNpbmd1bGFyIHBhc3Npb24KZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg
dGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YKZGVsaWdodCBpbiB0aGUgY29udGlu
dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzCnRo
ZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4K

In this example SQAB91 saved 11% over Base64.

However, SQAB91's Run Length Encoding (RLE) compression can save even more.

Example 35 bytes:

-------=======[TEST]=======-------

SQAB91 Encoded: 29 bytes (6 characters Smaller than input)

u2(!{_(!?{p`|AB`u?)!)I(!S\y!

Base64 Encoded: 49 bytes (14 characters Larger than input)

LS0tLS0tLT09PT09PT1bVEVTVF09PT09PT09LS0tLS0tLQo=

SQAB91 is 41% smaller than Base64 in this example.

Online SQAB91 Encoder: Comming Soon!

An open source reference implementation SQAB91 and online encoder tool
is being developed and will be ready soon.

Linux(R) is a registered trademark of Linus Torvalds.
Windows(R) is a registered trademark of Microsoft Corporation.