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

Perl decode_base64()

Decode a base64 string by calling the decode_base64() function.

Function

decode_base64($string);

Parameters

$string - The encoded data.

Return value

Decoded data

Example
use MIME::Base64;
$encoded = 'YmFzZTY0IGVuY29kZWQgc3RyaW5n';
$decoded = decode_base64($encoded);
Github

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