Base64 Encode / Decode

Type or paste on the left, choose a direction, and read the result.

Advertisement In-content responsive — ad slot

Encode and decode Base64 instantly

Paste text to convert it into Base64, or paste a Base64 string to turn it back into readable text. The conversion is UTF-8 aware, so emoji, accented letters and non-Latin scripts survive the round trip intact. It all runs in your browser, which means even sensitive strings never leave your device.

What Base64 is for

Base64 encodes data using a 64-character alphabet of letters, digits, + and /, so binary or unusual text can pass safely through systems that expect plain ASCII. You'll see it in data URIs for inline images, email attachments, JSON Web Tokens, and API payloads that must stay text-only.

Important: Base64 is encoding, not encryption. It offers no security — anyone can decode it — so never rely on it to hide secrets.

Encoding vs. decoding

  • Encode — turns normal text into a Base64 string (longer, made only of the Base64 alphabet).
  • Decode — reverses a valid Base64 string back into the original text. Invalid input is flagged rather than silently mangled.

Frequently asked questions

What is Base64 encoding?

Base64 represents binary or text data using 64 printable ASCII characters. It is used to safely embed or transmit data through channels that only reliably handle text, such as email, URLs and JSON.

Is Base64 encryption?

No. Base64 is encoding, not encryption. It scrambles nothing and provides no security — anyone can decode it. Never use it to protect secrets.

Does this tool handle emoji and non-English text?

Yes. It encodes and decodes UTF-8 correctly, so accented characters, non-Latin scripts and emoji round-trip without corruption.