IT Calculators
Base64 Encoder / Decoder
Encode and decode text using Base64. Supports Unicode (UTF-8) characters.
What is Base64 & How does it work?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is commonly used to transmit data over media that only handles text, such as email attachments or data URLs in HTML.
Every 3 bytes of input are converted into 4 Base64 characters. If the input length is not a multiple of 3, padding characters
= are appended. Decoding reverses this process exactly.
Encoded = Base64(UTF-8(input))
Input size → encoded size ≈ ⌈n/3⌉ × 4 characters
Parameters
chars
bytes
Result
Input Length
—
characters
Output Length
—
characters
Output Byte Size
—
bytes (UTF-8)
Results are for informational purposes only and do not constitute professional advice.
