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

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