Base64 Encoder / Decoder

Last updated: 2026-06-25

TL;DR

The Base64 encoder/decoder is a free tool that encodes text to Base64 or decodes Base64 back to text, handling Unicode and emoji in a UTF-8 safe way with no corruption.

Every conversion runs in your browser, and your input is never sent to or stored on a server.

Base64 conversion

How to use

  1. Choose direction — select Encode (text to Base64) or Decode (Base64 to text).
  2. Enter input — paste the text or Base64 string you want to convert.
  3. Review and copy — click Convert to see the result, then copy it with the copy button.

What is Base64

Base64 is an encoding scheme that represents 8-bit binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It is used to transport or store arbitrary data safely in text-only environments — email attachments, data URIs, or embedding binary inside JSON.

Base64 encoding examples
Original textBase64 result
ManTWFu
HelloSGVsbG8=
dev (text)ZGV2

Characters outside the ASCII range, such as emoji and non-Latin scripts, must first be converted to UTF-8 bytes before Base64 encoding so they aren't corrupted. This tool handles that automatically. If you work with JSON, try the JSON formatter; to inspect tokens, use the JWT decoder.

Frequently asked questions (FAQ)

Are Unicode characters and emoji encoded correctly?

Yes. This tool encodes and decodes in a UTF-8 safe way. Non-ASCII characters and emoji are first converted to UTF-8 bytes and then processed as Base64, so no Unicode character is corrupted.

Is Base64 encoding the same as encryption?

No. Base64 is encoding (a change of representation), not encryption. Anyone can decode it, so it is not suitable for protecting passwords or sensitive information. It is meant to transport or store data safely as text.

Is the data I enter sent to a server?

No. All encoding and decoding is handled in the browser with JavaScript, and the text or Base64 string you enter is never sent to or stored on a server.

What happens if I enter invalid Base64?

When decoding, an invalid Base64 string shows an error message. Whitespace and line breaks are cleaned up automatically, and input with an invalid format is not converted.

Last updated: 2026-06-25