Base64 Encoder / Decoder

Instantly encode text to Base64 or decode Base64 strings. Supports URL-safe encoding and file encoding.

Input
Output
What is Base64?
Encoding
Converts binary data to ASCII text using 64 printable characters (A-Z, a-z, 0-9, +, /)
Use cases
Email attachments, data URIs, JWT tokens, API credentials, storing binary in JSON
URL-safe
Replaces + with - and / with _ so the string is safe in URLs without encoding
Size overhead
Base64 output is ~33% larger than the original input due to the encoding