Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 strings with full Unicode/UTF-8 support. Perfect for data URIs, API payloads, and embedding binary data.
Encoding
Input
0 characters
Output
0 characters
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 ASCII characters. It is commonly used to embed binary data in text-based formats such as JSON, XML, HTML, and email.
- Safely embed images and files in HTML or CSS.
- Transmit binary data through text-only protocols.
- Encode authentication credentials for HTTP headers.
- Store binary blobs in JSON or database text fields.
How It Works
Encoding
Paste any text and click Encode. The tool converts your text into a Base64-encoded string, handling Unicode characters correctly through UTF-8 encoding.
Decoding
Paste a Base64 string and click Decode. Invalid characters or malformed strings will be flagged with a clear error message so you can correct the input.