Base64 Encode / Decode

Convert text to Base64 and back, fully UTF-8 safe — emoji and any language work. Everything runs in your browser — your text never leaves your device.

How to encode or decode Base64

  1. Paste your text (or a Base64 string) into the top box.
  2. Click Encode to convert it to Base64, or Decode to turn Base64 back into text.
  3. Click Copy result to grab the output.

What is Base64?

Base64 represents any data using just 64 safe characters — A–Z, a–z, 0–9, + and /, with = as padding. It exists so binary data or special characters can pass through systems built for plain ASCII text: email attachments, JSON payloads, data URIs, basic-auth headers and more.

This tool is UTF-8 safe: unlike the raw btoa() function in JavaScript, it correctly handles emoji, accented letters, Korean, Japanese, Chinese and every other Unicode character in both directions.

Base64 is not encryption

A common mistake is treating Base64 like a way to hide data. It is only an encoding — a reversible re-labelling of bytes. Anyone can decode it in a second (this page proves it). If you need to protect a password or secret, use real encryption instead.

Is it private and safe?

Yes. Toolyard encodes and decodes text inside your browser on your own device. Your text is never uploaded anywhere, so it stays completely private.

Frequently asked questions

What is Base64?

An encoding that turns any data into a string of 64 safe characters (A–Z, a–z, 0–9, + and /). It lets binary or special-character text travel safely through ASCII-only systems like email or JSON.

Does Base64 encrypt my text?

No. Base64 is an encoding, not encryption. Anyone can decode it instantly, so never use it to hide passwords or secrets.

Is my text uploaded?

No. Everything runs on your device and nothing is sent anywhere.

Is it free?

Completely free, no sign-up.