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

MySQL from_base64()

Decode an input String using Base64.

Function

FROM_BASE64(str)

Parameters

str - The String to be decoded

Return value

Returns the Base64-decoded version of str.

Example
#note: This function was added in MySQL 5.6.1.
mysql> SELECT FROM_BASE64('YmFzZTY0IGVuY29kZWQgc3RyaW5n');
-> base64 encoded string
Github

https://github.com/base64decode/examples/blob/master/base64decode.sql

See also:
MySQL to_base64