Base64 Encoder and Decoder
Encode text to Base64 or decode it back, with full Unicode support.
Runs in your browser — nothing is uploadedWhat Base64 is for
Base64 rewrites arbitrary data using only 64 safe characters, so it can travel through places that expect plain text: a JSON field, an HTTP header, a data URI in a stylesheet, an email attachment. It is an encoding, not encryption — anyone can decode it, and this page is the proof.
Umlauts, accents and emoji
The browser's built-in btoa accepts only Latin-1, which is why so many Base64
tools break on "Zürich" or an emoji. This one converts to UTF-8 bytes first, so anything you
can type round-trips exactly.
URL-safe Base64
Standard Base64 uses + and /, both of which mean something else
inside a URL, plus = padding that tends to get mangled. The URL-safe variant
swaps them for - and _ and drops the padding. Use it for anything
landing in a query string or a path segment — JWTs are encoded exactly this way.
Nothing is uploaded
The work happens in your browser. Decoding a token here does not send it anywhere, which matters given what tokens usually contain.
Other free tools
Need the whole website, not just the snippet?
Describe it in a sentence and relivo builds it — free until you put it online.