HexaConvert

Base64 Encoder / Decoder

Convert text to Base64 and back. Unicode is handled correctly, so emoji and accented characters survive the round trip.

About this tool

Encodes text to Base64 and decodes it back. Base64 exists to move arbitrary bytes through channels that only reliably carry text, which is why it turns up in data URIs, email attachments, JSON payloads and HTTP basic auth.

How to use it

  1. 1Paste your text or your Base64 string.
  2. 2Pick the direction, encode or decode.
  3. 3Copy the result.

Good to know

Unicode is handled properly

Text is encoded as UTF-8 before Base64 is applied, so accented letters, Cyrillic, Greek and emoji all survive the round trip. The naive approach using btoa alone throws on anything above Latin-1.

It is encoding, not encryption

Base64 is trivially reversible and offers no secrecy whatsoever. Anyone holding the string can read it. Never use it to hide a password or a key.