Base64 Encode Pro

Live Mode Switch

Related Pages: Base64 Decode.

About Base64 Encode Pro:

This pro online base64 encode tool helps you to encrypt one input string into a base64 format String.

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

Can Base64 Encode encrypt my data?

No, you can't. Base64 can change the string's appearance, but it doesn't need a password to decode the string. Base64 uses the characters A-Z, a-z, 0-9, plus '=' in the end to encode all characters within string.

comic base64 encode

More information about Base64:

RFC 3548:

Python Implementation of Base64:

Java Implementation of Base64:

Base64 Encode with Python (with package base64):

import base64

def base64_encode(str):
    return base64.b64encode(str.encode())

Base64 Encode with Java (with package MessageDigest):

import java.util.Base64;

public String encode(String str)  {
    byte[] encodedBytes = Base64.getEncode().encode(str.getBytes());
    String text = new String(encodedBytes);
    return text;