PHP : base64_decode()

base64_decode — Decodes data encoded with MIME base64


Function

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

Parameters

$data - The encoded data.
$strict - Returns FALSE if the input contains any character not in the Base64 alphabet.

Return value

Returns the decoded data or FALSE if decoding fails. The output may be binary.

Example

<?php
  $str = 'SSB3aWxsIGNvbWUgYmFjayBzb29u';
  echo base64_decode($str);
?>

Home Page Base64Decode List Privacy Policy About Us Contact

This website uses cookies to enhance your experience, personalize content and ads, and analyze our traffic.

©2025 Design by base64decodeonl.com