Base45 Encoder

Encode text or a file’s original bytes as Base45 text using the selected alphabet.

Input: Text (UTF-8) or original file bytesResult: Base45 text

Text input

Run to see the result

Examples

Represent bitcoin genesis newspaper headline

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

8UADZC9UAF$D.OE9461:5CECM/5646:97LN8CECKPC VD04EN44M-D2KCZEDJODX3ER44Z C-3ERTCUJCXED34ESUEX.CBJEUJC7/DP2
Alphabet
0-9A-Z $%*+\-./:
Represent a registry credential from kubernetes documentation

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

tiger:pass1234

Expected answer

BWE93D$JEE9EZQE*96DL6
Alphabet
0-9A-Z $%*+\-./:
Represent a checksum-sensitive log line with a final newline

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

event=deploy status=ready

Expected answer

9$C1$CCVE6VCP9E74ER443WENWEQPEZKE2ECQDF
Alphabet
0-9A-Z $%*+\-./:
Represent a french café in precomposed unicode

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

café

Expected answer

GPCR:CY3
Alphabet
0-9A-Z $%*+\-./:
Represent a french café with a separate combining accent

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

café

Expected answer

GPCN.CI%P
Alphabet
0-9A-Z $%*+\-./:
Represent chinese text in a utf-8 request body

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

你好,世界

Expected answer

C-SEFK*.K$DUN H4FNKCT53
Alphabet
0-9A-Z $%*+\-./:
Represent a literal plus and space inside a url parameter

Use base45 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

Input

release notes+A/B?

Expected answer

ZKETVDHECDZCB/D7WE8PE$A8*G8
Alphabet
0-9A-Z $%*+\-./:
Spec encoding example 1

Input

AB

Expected answer

BB8
Alphabet
0-9A-Z $%*+\-./:
Spec encoding example 2

Input

Hello!!

Expected answer

%69 VD92EX0
Alphabet
0-9A-Z $%*+\-./:
Spec encoding example 3

Input

base-45

Expected answer

UJCLQE7W581
Alphabet
0-9A-Z $%*+\-./:

Format reference: To Base45 background and specification

Related tools

Browse data format tools