Base64 Encoder / Decoder

Convert text to Base64 or decode Base64 back to plain text. Runs entirely in your browser — fast, free, and private.

What is Base64 encoding?

Base64 is a binary-to-text encoding that represents arbitrary data using a 64-character alphabet (A–Z, a–z, 0–9, + and /). It lets binary content move safely through channels designed for text, such as email, JSON, XML, and data: URIs.

How to use this tool

  1. Paste your text into the Input box.
  2. Click Encode to Base64 to convert it, or Decode from Base64 to reverse it.
  3. Use Copy output to grab the result.

The tool encodes via UTF-8, so Unicode text and emoji round-trip correctly.

Frequently asked questions

Is my data uploaded anywhere?
No. Encoding and decoding happen entirely in your browser using JavaScript. Your text never leaves your device.
Does this support Unicode and emoji?
Yes. The tool encodes text as UTF-8 first, so accented characters, non-Latin scripts, and emoji all encode and decode correctly.
What is Base64 used for?
Base64 represents binary data as ASCII text so it can travel safely through systems built for text — email (MIME), JSON, XML, data URIs, and HTTP headers.