Base64 Decoder / Encoder

Decode or encode Base64 strings and files instantly

Mode
Charset
Input (Text to Decode)
Output
Input Size
0
bytes
Output Size
0
bytes
Ratio
0%
change
Valid Base64

What is Base64?

Base64 is a binary-to-text encoding scheme that converts binary data into ASCII string format. It uses 64 printable characters (A-Z, a-z, 0-9, +, /) making it safe for transmission over text-based systems like email and HTTP.

Common Uses

Encoding images in data URIs, transmitting files over email, embedding assets in HTML/CSS, API authentication tokens, and storing binary data in JSON/XML formats.

URL-Safe Variant

Standard Base64 uses + and / characters. URL-safe Base64 replaces these with - and _ to avoid conflicts with URL syntax and special character handling.

MIME Standard

The MIME standard (RFC 2045) recommends wrapping encoded data at 76 characters per line. Enable "Line breaks" to follow this standard for email compatibility.