Base64 Encode / Decode
How to Use
Type or paste text into the input area to instantly encode or decode Base64. Use the toggle to switch between Encode and Decode mode.
What Is Base64
Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It is commonly used to embed images in HTML/CSS, transmit data in JSON or XML, and encode email attachments (MIME).
UTF-8 Support
This tool fully supports UTF-8 encoding. Unlike the native btoa() function which only handles ASCII, this tool uses TextEncoder/TextDecoder to correctly process multibyte characters including Japanese, Chinese, Korean, and emoji.
Privacy
All encoding and decoding happens entirely in your browser. Your data is never sent to a server, stored, or logged. You can safely encode sensitive content such as API keys or tokens.