Base64 Encoder / Decoder
Encode and decode Base64 with full Unicode support.
Your converted text appears here
Choose Encode or Decode, enter your text on the left, then click Convert. UTF-8 is handled correctly, so emoji and accented characters round-trip — all in your browser.
Runs entirely in your browserEncode and decode Base64, locally
Base64 turns any text into a safe ASCII-only string you can drop into URLs, config files, or data attributes — and back again. This tool encodes and decodes with full UTF-8 support, so emoji and accented characters survive the round trip intact. Invalid Base64 is caught and explained rather than producing garbage. Everything runs in your browser, so your text is never uploaded to any server.
Common questions
How do I encode text to Base64?
Type or paste your text, make sure the mode is set to Encode, and click Convert. The tool UTF-8 encodes the text first so any character — including emoji — is preserved.
How do I decode a Base64 string?
Switch the mode to Decode, paste the Base64 string, and click Convert. The tool decodes it and reconstructs the original UTF-8 text.
Does it handle emoji and accented characters?
Yes. It uses TextEncoder/TextDecoder around btoa/atob, so multi-byte UTF-8 characters encode and decode correctly instead of being mangled.
What happens if the Base64 is invalid?
The tool shows a clear error message explaining the input is not valid Base64, rather than silently producing broken output.
Is my text uploaded anywhere?
No. Encoding and decoding happen entirely in your browser tab using built-in browser APIs. Your text never leaves your device.