Base64 Encoder & Decoder

Convert text to Base64 and back, with full Unicode support.

Free
Every tool runs inside your browser; no data is ever sent to our servers.

About Base64 Encoder & Decoder

Base64 turns binary data into text that survives text-only channels like email, JSON or a URL. It is important to understand this is not encryption — anyone can reverse it on this very page, so never use Base64 to hide a password or API key.

How to use Base64 Encoder & Decoder

  1. 1

    Enter your text or data in the box above.

  2. 2

    Press encode to convert to Base64, or decode to reverse it.

  3. 3

    If decoded output looks like garbage, the input is probably not valid Base64 or is binary data.

  4. 4

    Copy the result.

Frequently asked questions

Does Base64 provide any security?

None at all. It is a reversible format change. For confidentiality you need real encryption such as AES.

Why did my data get bigger?

Base64 maps every 3 bytes to 4 characters, roughly a 33 percent increase. That is why embedding a large image inside CSS is usually a poor trade.

Where is it commonly used?

Email attachments, data:image URLs in HTML and CSS, the Authorization header in Basic auth, and carrying binary data inside JSON.