Base64 Encoder & Decoder

Convert any text to or from Base64 — a popular encoding format used to safely transmit binary or special-character data over text-based protocols like JSON, HTTP and email. The tool handles full Unicode (including emoji), so encoded strings decode back to the exact original text. Everything runs in your browser, so it's safe even for tokens and other sensitive payloads.

Frequently Asked Questions

What is Base64?

Base64 is a way of encoding binary or text data using only 64 printable ASCII characters. It's commonly used to embed images in HTML/CSS, transmit data in JSON, or store credentials in HTTP headers.

Does this tool support Unicode?

Yes — emojis and non-Latin characters are properly UTF-8 encoded before Base64 conversion, so they round-trip cleanly.

Is Base64 secure?

Base64 is encoding, not encryption. Anyone with the encoded string can decode it. Don't use it to hide secrets.

Can I encode files?

Use the Image to Base64 tool for files. This page is optimized for plain text input and output.