Encode text to Base64 or decode it back — entirely in your browser.
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.
Yes. Text is UTF-8 encoded before Base64 encoding, so emoji and non-Latin characters round-trip correctly when you encode then decode.
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).
That usually means the input wasn’t valid Base64 to begin with, or it was encoded with a different character encoding than UTF-8.