Base64 Encoder / Decoder

Encode text or files to Base64, or decode Base64 strings back to plain text.

Input type

Mode

What is Base64?

Base64 is an encoding scheme that converts binary data into a string of ASCII characters using 64 printable characters (A-Z, a-z, 0-9, +, /). It is commonly used to embed binary data in text formats like JSON, XML, HTML, and email.

Standard Base64

Uses + and / characters. Standard for most use cases like data URIs and email attachments.

URL-safe Base64

Replaces + with - and / with _ to avoid encoding conflicts in URLs and filenames.