Base64 Encode/Decode

Runs entirely in your browser — never uploaded

Encode text to Base64 or decode it back — entirely in your browser.

0 characters
0 characters

Frequently asked questions

What is Base64 encoding used for?

Base64 turns binary or text data into a safe ASCII string — commonly used to embed data in JSON payloads, URLs, email attachments, or data: URIs in HTML/CSS.

Does this support Unicode text?

Yes. Text is UTF-8 encoded before Base64 encoding, so emoji and non-Latin characters round-trip correctly when you encode then decode.

Can I encode a file, not just text?

This tool encodes text only. For files, use a dedicated file-to-Base64 converter, or paste file content as text if it’s already text-based (like JSON or code).

Why does my decoded output show garbled characters?

That usually means the input wasn’t valid Base64 to begin with, or it was encoded with a different character encoding than UTF-8.