Base64 Decode Base64 Encode
More Tools
Other tools: Base64 Image Encoder | Base64 Image Decoder | Url Encoder | Url Decoder

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