Loading calculator...
Loading calculator...
Encode plain text to Base64 or decode Base64 strings back to plain text. Supports Unicode text.
About Base64:
Base64 encodes binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /)
Every 3 bytes of input become 4 Base64 characters.
Output is always a multiple of 4 characters; = signs are padding.
Base64 is an encoding scheme that converts binary data into a string of ASCII characters. It uses 64 printable characters (A-Z, a-z, 0-9, +, /) to represent binary data, making it safe to transmit in text-based protocols.
Base64 is used to embed binary data (like images or files) in text-based formats like JSON, XML, HTML, and email. It is also used in HTTP Basic Authentication and data URLs (data:image/png;base64,...).
Yes. Base64-encoded data is approximately 33% larger than the original binary data because every 3 bytes are encoded as 4 characters.
No. Base64 is encoding, not encryption. It is reversible without any key and provides no security. Never use Base64 to protect sensitive data.
Standard Base64 uses + and / which have special meaning in URLs. Base64 URL encoding replaces + with - and / with _, making it safe to use in URLs without percent-encoding.
Base64 processes data in 3-byte groups. If the input length is not a multiple of 3, = padding characters are added to make the output length a multiple of 4.