Base64 Encoder / Decoder
Encode plain text to Base64 or decode Base64 back to readable text. Supports Unicode and emoji. Runs entirely in your browser — nothing is sent to any server.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It is commonly used to embed binary data (like images) in text-based formats such as JSON, XML, HTML, or email.
Common use cases include encoding images in CSS (data:image/png;base64,…), encoding API credentials in HTTP headers, and safely transmitting binary content through text-only channels.
Base64-encoded data is approximately 33% larger than the original binary.
Related: Base64 Decoder
Frequently Asked Questions
What is Base64 encoding?
Base64 represents binary or text data using 64 printable ASCII characters, so it can be safely transmitted in places that expect text, such as URLs, JSON or email.
Is Base64 encryption?
No. Base64 is encoding, not encryption — it provides no security. Anyone can decode it, so never use it to protect secrets.
Does it support Unicode and emoji?
Yes. The tool handles full UTF-8, so accented characters, non-Latin scripts and emoji encode and decode correctly.
Is my data sent to a server?
No. Encoding and decoding happen entirely in your browser; your input never leaves your device.
When is Base64 used?
Common uses include embedding images in CSS/HTML data URIs, encoding credentials in HTTP headers and safely carrying binary data inside JSON or XML.
Can I quickly switch between encode and decode?
Yes. A swap button flips the input and output so you can move between encoding and decoding without retyping.