MyToolsKart

Base64 Encode / Decode

Encode text to Base64 or decode Base64 back to text — UTF-8 safe and instant. Everything runs in your browser.

Text
Base64

What is Base64?

Base64 is a way of representing binary or text data using only 64 plain ASCII characters (A–Z, a–z, 0–9, + and /). Because the result contains no special or control characters, it can be safely embedded in places that only accept text — URLs, JSON, XML, data URIs, email attachments and configuration files. Encoding makes data roughly a third larger, but guarantees it survives systems that might otherwise mangle raw bytes.

How to encode or decode

  1. Choose Encode (text → Base64) or Decode (Base64 → text).
  2. Type or paste your input.
  3. The result appears instantly — click Copy result to grab it.

Where you’ll see Base64

Frequently asked questions

Is Base64 encryption? No — it’s encoding, not encryption. Anyone can decode it, so never use it to protect secrets.

Does it handle emojis / non-English text? Yes — encoding and decoding are UTF-8 safe.

Why did decoding fail? The input isn’t valid Base64 — check for missing characters or stray spaces.

Is my data private? Completely — nothing is uploaded; it’s all done in your browser.