Skip to content

Base64 Encoder/Decoder

Encode and decode text to Base64 format

Frequently asked questions

What is Base64 encoding used for?

Base64 converts binary data to ASCII text for safe transmission. Common uses: embedding images in CSS/HTML, sending files via JSON APIs, email attachments (MIME), and data URLs.

Why does Base64 increase file size?

Base64 uses 6 bits per character to represent data, compared to 8 bits in binary. This results in approximately 33% size increase, plus potential padding characters.

What's URL-safe Base64?

Standard Base64 uses + and / characters that have special meaning in URLs. URL-safe Base64 replaces these with - and _, making encoded strings safe for use in URLs and filenames.