Encoding
FILE 08🔡

Base64 Encode / Decode

Encode any text to Base64 or decode Base64 back to plain text. Unicode-safe and runs entirely in your browser — nothing is uploaded.

// Input

Base64

What is Base64 encoding?

Base64 is a way of representing binary or text data using only 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It is not encryption — it is a reversible encoding designed to move data safely through systems that only handle text, such as email, JSON, HTML data URIs and HTTP headers.

This tool encodes text to Base64 and decodes Base64 back to text, and it is Unicode-safe, so emoji and non-Latin scripts round-trip correctly. Everything runs in your browser; nothing is uploaded.

When Base64 is used

  • Embedding images or fonts directly in HTML/CSS as data: URIs.
  • Encoding binary attachments in email (MIME).
  • Carrying credentials in HTTP Basic Authentication headers.
  • Storing or transmitting small binary blobs inside JSON or XML.

Base64 is not security

Because Base64 is trivially reversible, it provides no confidentiality whatsoever. Anyone can decode it instantly — as this very tool demonstrates. Never use Base64 to "hide" passwords, tokens or secrets; use proper encryption for that.

If you are decoding a value you found and it looks like Base64 (often ending in one or two = signs), paste it here to read it. To share text through a text-only channel, encode it here first.

// Frequently asked questions

Is Base64 encryption?+

No. Base64 is a reversible encoding, not encryption. It offers no security — anyone can decode it instantly.

Does this handle emoji and Unicode?+

Yes. The encoder and decoder are Unicode-safe, so emoji and non-Latin text encode and decode correctly.

Why does Base64 sometimes end with = signs?+

The = characters are padding added so the output length is a multiple of four. They are a normal part of the format.

Is my data uploaded anywhere?+

No. Encoding and decoding happen entirely in your browser.

How do I know if a string is Base64?+

Base64 uses only A–Z, a–z, 0–9, + and /, often with trailing =. If decoding produces readable text, it was valid Base64.

// Other instruments