Base64 Decode

Enter text to decode from Base64 format
Click Save to generate shareable url

Similar Tools

What can you do with this base64 decode online tool

Base64 decode is used when binary data is shipped across a network, because some protocols may interpret data as control character or data can be corrupted when the protocol intepret data as special character combination. So, when data is transfered thru a protocol it's better if you encode data before transmiting and decode it after receiveing.

Function

string base64_decode ( string $data [, bool $strict = false ] );

Params

$data - The encoded data.

$strict - Returns FALSE if input data contains characters outside the base64 alphabet.

Return value

Returns the original e.g decoded data.

Returns FALSE on failure.

Example

$decode = 'Q29kZSBCZWF1dGlmeQ==';

echo base64_decode($decode);

Function

Base64.decode64 ( data )

Params

data - Data that needs to be decoded.

Return value

Returns base64 decoded data ignoring characters outsite base alphabet.

Example

require 'base64'

data = 'Q29kZSBCZWF1dGlmeQ=='

decoded_data = Base64.decode64(data)