Back to JS Tools

Base64 Encoder/Decoder

Encode text to Base64 and decode Base64 back to text. Support for images, JSON, and any text data. Perfect for embedding binary data in URLs and HTML.

Input: 0 chars
Output: 0 chars

About Base64 Encoder/Decoder

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is commonly used to embed images, files, and other binary data directly into HTML, CSS, or JSON. Base64 encoded data takes about 33% more space than the original binary data.

This tool supports standard Base64 encoding/decoding as well as UTF-8 text with international characters including Chinese, Japanese, Korean, and emojis.

Frequently Asked Questions

What is Base64?

Base64 is an encoding scheme that converts binary data into a text format using 64 different ASCII characters, making it safe for transmission in text-based protocols.

Why use Base64?

Base64 is used to embed binary data (like images) in text formats like HTML, CSS, and JSON, and to safely transmit binary data through systems that only support text.