🔐 Base64 Encoder/Decoder

Convert text to and from Base64 encoding

Input Bytes
13
Output Bytes
20
Size Change
+53.8%
Characters
20

💡 Quick Examples

📚 About Base64

What is Base64? Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format using 64 characters (A-Z, a-z, 0-9, +, /).

Why use it? Base64 is commonly used to encode binary data for transmission over text-based protocols like email (MIME), embedding images in HTML/CSS (data URIs), and storing binary data in JSON.

URL-safe variant: Uses - and _ instead of + and /, and omits padding (=). Useful for passing data in URLs without encoding.

Size overhead: Base64 encoding increases data size by approximately 33% (every 3 bytes become 4 characters).