Base64 Encoder & Decoder
Encode plain text to Base64 or decode Base64 strings back to readable text. Supports Unicode and URL encoding.
Base64 Encoder / Decoder
What Is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used to encode binary data — like images or files — for transmission over text-based protocols like email (MIME) or HTTP, where binary data isn't guaranteed to survive intact.
Common Use Cases
Embedding images directly in HTML or CSS using data URIs, encoding API credentials in HTTP Basic Auth headers, encoding email attachments (MIME), encoding data in JSON APIs that don't support binary, and encoding tokens or IDs in URLs where special characters could cause issues.
Base64 Is Not Encryption
Base64 encoding is not encryption and provides no security. Anyone can decode a Base64 string trivially. Never use Base64 to "secure" sensitive data — it's purely a data representation format. For actual security, use proper encryption (AES, RSA) with strong keys.