NBNumbarn

Base64 Encode / Decode

Adjust the inputs below. Results update as you type.

How it works

Base64 represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). Every 3 bytes of input become 4 Base64 characters, expanding data by 33%. Padding '=' characters align output to multiples of 4. URL-safe Base64 replaces + with − and / with _ to avoid URL encoding issues. Common uses: embedding images in HTML/CSS, encoding email attachments (MIME), and transmitting binary data in JSON APIs.

SGVsbG8=

Related calculators