Base64 Decode Example in PHP

            
    $str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
    echo base64_decode($str);
    

Base64 Decode Example in Javascript

            
    var str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
    console.log(atob(str));
    

Base64 Decode Example in C#

            
    var str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
    byte[] data = System.Convert.FromBase64String(str);
    var result = System.Text.ASCIIEncoding.ASCII.GetString(data);
    

How Base64 Decode Online?

You can easily decode Base64 encoded string using this online tool. To decode just enter encoded string into the textbox provided and press decode button.

base64-decoding

You can also check similar Base64 Encode tool.