Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings back to plain text.

[ Advertisement ]
Input
[ Advertisement ]

What Base64 encoding is used for

Base64 encodes binary data into a string of 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It was designed to safely transmit binary content through systems that only handle text — like email protocols (SMTP) or HTTP headers.

You'll encounter Base64 in: embedding images in HTML/CSS (data:image/png;base64,...), storing binary data in JSON, encoding JWT tokens, and transmitting file attachments in APIs.

Base64 increases data size by about 33% because every 3 bytes of binary data becomes 4 characters. It is not compression. It is also not encryption — Base64 strings are trivially reversible. Never use it to hide sensitive data.

Frequently asked questions
What is Base64?
Base64 is an encoding scheme that converts binary data into ASCII text using 64 characters. It's commonly used to embed images in HTML/CSS and transmit data over text-based protocols.
Is Base64 encryption?
No. Base64 is encoding, not encryption. It's easily reversible and provides no security. Never use it to hide sensitive data.