Base 64 encoding and decoding

The calculators encode string to base64 string and decode back to original string. Special characters (+/) , generally produced by base64 algorithm, can be replaced by the data provided in additional parameter.

This page exists due to the efforts of the following people:

Anton

Timur

Timur

Created: 2015-01-20 05:24:09, Last updated: 2021-03-02 20:14:11
Creative Commons Attribution/Share-Alike License 3.0 (Unported)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/4337/. Also, please do not modify any references to the original work (if any) contained in this content.

You may use the calculators below to convert a string in base64 format and back to the original text.

PLANETCALC, Base 64 encoder

Base 64 encoder

Text to be base64 encoded
Base64
 



Base64 encoding algorithm converts input string to characters sequence, which has digits from 0 to 9, letters from a to z, capital letters from A to Z, and two special symbols: + (plus) and / (slash). The latter two symbols cannot be used in web URLs. You may change these two symbols to something else by passing desired replacement in the Special symbols replace parameter.

PLANETCALC, Base64 decoder

Base64 decoder

Text encoded as base64
Text
 



The calculator transforms input string in UTF8 characters array and then perform encoding as described in Mozilla Developer Network article

URL copied to clipboard
PLANETCALC, Base 64 encoding and decoding

Comments