Base64 Encoder / Decoder
Encode text for APIs and data-URIs, or decode Base64 back — UTF-8 safe.
Free to use · No account required
Enable JavaScript to use the interactive Base64 Encoder / Decoder. The input fields and calculations run in your browser.
How it works
Encoding is done on the UTF-8 bytes of your text, so emoji and accented characters survive the round trip (plain btoa() alone corrupts them).