Base64 Decode Base64 Encode CSS Beautifier Url Encoder Url Decoder Image to Base64 Base64 to Image

Linux base64 encode

base64 - Encode data in base64 format

Command

base64 FILE

Parameters

FILE - The file to be encoded

Return

Returns the encoded string or file.

Example
#echo linux base64 encode | base64
Output
bGludXggYmFzZTY0IGRlY29kZQo=
Github

https://github.com/base64encode/examples/blob/master/base64encode.sh

See also:
Linux base64 decode