Base64 Decode Base64 Encode Image to Base64 Base64 to Image

Java encode()

Encode an array of bytes using Base64.


public static java.lang.String encode(byte[] data)


data - The bytes to be encoded

Return value

A valid Base64 representation of the input

See also:
Java base64 decode uses cookies for personalization and functionality. By continuing using this website, you agree to our use of cookies. More info