Base64 Decode Online Tool




About Base64 Decode Online Tool:

This online base64 decode tool helps you to convert a base64 format String into a raw string.

Paste your Input String or drag text file in the first textbox, then press "Base64 Decode" button, and the result will be displayed in the second textbox.

comic base64 decode

More information about Base64:

RFC 3548: https://tools.ietf.org/html/rfc3548.html

Python Implementation of Base64: https://docs.python.org/2/library/base64.html

Java Implementation of Base64: https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html

Base64 Decode with Python (with package base64):

import base64

def base64_decoder(str):
    return base64.b64decode(str.encode())
    

Base64 Decode with Java (with package MessageDigest):

import java.util.Base64;

public String decode(String str)  {
    byte[] decodedBytes = Base64.getDecoder().decode(str.getBytes());
    String text = new String(decodedBytes);
    return text;
}