Encode / Decode
CyberChef - Online tool for encode and decode:
base64
The following command base64-encodes the string ”text”:
1
base64 encode -d <clearText>
The following command decodes a base64–encoded string:
1
base64 decode -d <textB64>
other way:
1
echo '<string>' | base64 -d