Base64 Encode / Decode

Encode text to Base64, or decode it back.

Tool Panel

Processed locally
Loading tool...
About Base64 Encode / Decode

Base64 represents binary data with 64 printable characters, so binary can travel through text-only protocols. Encode: encodes any data into strings of the 64 characters A-Z, a-z, 0-9, + and / Decode: restores the original data from a Base64 string URL-safe mode: replaces + with -, / with _, and drops the = padding

  • 1

    Encodes through UTF-8 first, so Chinese text and emoji survive the round trip.

  • 2

    Encode and decode live on the same page and update as you type.

  • 3

    Invalid Base64 raises an error instead of quietly returning mojibake.

Related tools

View all
Encode & Crypto

Base64URL Encode

Produce URL-safe Base64 without padding characters.

Encode & Crypto
Encode & Crypto

Base32 Encode / Decode

Encode or decode text using the Base32 alphabet.

Encode & Crypto
Encode & Crypto

Base36 Encode / Decode

Encode or decode numbers and text in Base36.

Encode & Crypto
Encode & Crypto

Base58 Encode / Decode

Encode or decode with Base58, the alphabet Bitcoin addresses use.

Encode & Crypto
Encode & Crypto

Binary Encode

Turn text into its 0 and 1 representation.

Encode & Crypto
Encode & Crypto

Binary Decode

Turn a binary string back into readable text.

Encode & Crypto
Encode & Crypto

Hex Encode

Convert text to a hexadecimal string.

Encode & Crypto
Encode & Crypto

Hex Decode

Convert a hexadecimal string back to text.

Encode & Crypto