Base64 Encoder / Decoder

Convert between text and Base64. Unicode-safe — handles emoji, accents, and any UTF-8 input.

Copied!

What this does

Base64 is the standard way to represent binary or non-ASCII text as plain ASCII — useful for embedding images in CSS/HTML, encoding small payloads in JSON, basic-auth headers, and anywhere binary needs to ride through a text channel. This encoder is Unicode-safe (uses TextEncoder + btoa under the hood), so emoji and accented letters round-trip cleanly.

Notes