Base64 Decode Online

The tool helps to decode a base64 code to plaintext, just enter the base64 code then press the button

Enter a base64 string then decode

Base64 has become a popular encoding method for sending binary data over the internet. The most common use of base64 is to convert binary data into text, which can be used as part of websites, emails, or other forms of communication. 

Base64 is a type of binary-to-text encoding used to send data over the internet. It is a text encoding that contains 64 characters, which can be used to represent any ASCII character.

Base64 takes binary data such as images and documents and encodes it into ASCII characters. This makes it possible for the data to be sent over the internet without any errors or other issues.

However, decoding base64 strings can be difficult for someone who is not familiar with the process. That’s why has developed an online tool called “Base64 Decode Online”. 

The Base64 Decode Online tool is a great resource for anyone who needs to quickly decode a base64 encoded string. It allows you to input a base64 encoded string and output the original value of the string. This makes it possible for programmers to easily compare their programming results, or for users to decode a base64 encoded string without any installation. 

The Base64 Decode Online tool is also very easy to use. All you have to do is enter the base64 encoded string and click “Decode”. The original value of the string will then be outputted in plain text. 

Overall, the Base64 Decode Online tool is an invaluable resource for anyone who needs to decode a base64 string quickly and easily. It helps programmers save time by comparing their results quickly and easily, and helps users decode their strings without any installation.

What is Base64 Decode tool?

Decodes data encoded with MIME base64. The tool supports decoding base64 to plain text

Base64 Decode in Php

$data = 'aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU='; 
$decoded = base64_decode($data); 
echo $decoded; 

Base64 Decode in Nodejs

const base64 = require('base64-js'); 

const data = 'aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU='; 

const decoded = base64.decode(data); 

Base64 Decode in Java

import java.util.Base64; 

public class Main 
    public static void main(String[] args) 
        String data = "aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU="; 
        byte[] decoded = Base64.getDecoder().decode(data); 
        System.out.println(new String(decoded)); 

Base64 Decode in Dart

import 'dart:convert'; 

void main() { 
    String data = 'aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU='; 
    List decoded = base64Decode(data); 
    String result = utf8.decode(decoded); 

Base64 Decode in Python

import base64 
data = 'aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU='
decoded = base64.b64decode(data) 

Base64 Decode in C

#include <openssl/bio.h>
#include <openssl/evp.h>

int main(int argc, char *argv[])
    const char* data = "aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU=";
    int data_len = strlen(data);

    BIO *bio, *b64;
    char *buffer;
    int size;

    bio = BIO_new_mem_buf(data, data_len);
    b64 = BIO_new(BIO_f_base64());
    bio = BIO_push(b64, bio);

    size = BIO_get_mem_data(bio, &buffer);
    buffer[size] = 0;

    printf("%s\n", buffer);


    return 0;

Base64 Decode in C++

#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/transform_width.hpp>

int main()
    std::string data = "aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU=";
    std::string decoded;

    typedef boost::archive::iterators::transform_width<
        8, 6
    > binary_to_base64;

    decoded = std::string(binary_to_base64(data.begin()), binary_to_base64(data.end()));
    std::cout << decoded << std::endl;

    return 0;

Base64 Decode in C#

using System;
using System.Text;

public class Program
    public static void Main()
        string data = "aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU=";
        byte[] decoded = Convert.FromBase64String(data);

Base64 Decode in Ruby

require 'base64'

data = 'aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU='

decoded = Base64.decode64(data)
puts decoded

Base64 Decode in Kotlin

import java.util.*

fun main() {
    val data = "aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU="
    val decoded = Base64.getDecoder().decode(data)

Base64 Decode in Swift

import Foundation

let data = "aHR0cHM6Ly9jb2RlemkucHJvL2Jhc2U2NC1lbmNvZGU="
let decoded = Data(base64Encoded: data, options: .ignoreUnknownCharacters)!
let string = String(data: decoded, encoding: .utf8)!