Base64 Encoder / Decoder

Encode and decode Base64 with UTF-8 support.

Runs entirely in your browser

FAQ

Does it handle non-ASCII text?
Yes. We UTF-8 encode with TextEncoder before Base64, so Persian, Chinese, emoji, and other multi-byte characters round-trip correctly.
What's the URL-safe variant?
URL-safe Base64 replaces + with -, / with _, and drops trailing padding. It's what JWTs and OAuth use. Decoding accepts either form.

Related tools