SimsimTools

Base64 Encode/Decode

Encode or decode Base64 text (UTF-8 safe).

Your files stay on your device

This tool processes everything locally in your browser. Nothing is uploaded to a server.

📝 About Base64 Encode/Decode

This tool converts text to Base64 and back. Base64 is an encoding scheme that represents binary data using 64 printable characters (A–Z, a–z, 0–9, + and /), with = used as padding. It exists so that arbitrary bytes can travel safely through systems designed for plain text, such as email, JSON fields, data URLs and HTTP Basic authentication headers.

The encoder first turns your text into UTF-8 bytes, so Korean, emoji and other non-Latin characters are handled correctly rather than throwing the error you might see with a naive btoa() call. Decoding reverses the process and interprets the result as UTF-8 text; if the input is not valid Base64, you’ll get a clear error message.

Keep in mind that Base64 is an encoding, not encryption: anyone can decode it, and it makes data about 33% larger. Use it for transport and embedding, never for hiding secrets. Everything runs locally in your browser.

📘 How to use

  1. 1

    Enter your text

    Type or paste plain text to encode, or a Base64 string to decode, into the Input box.

  2. 2

    Choose Encode or Decode

    Press Encode to convert text to Base64, or Decode to turn Base64 back into readable text.

  3. 3

    Copy the result

    Check the Output box and use the copy button to take the converted text wherever you need it.

❓ FAQ

Is Base64 a form of encryption?

No. Base64 is a reversible encoding with no key, so anyone can decode it. Use real encryption if you need to protect data.

Does it support Korean and emoji?

Yes. Text is converted to UTF-8 bytes before encoding and decoded back as UTF-8, so multilingual text round-trips correctly.

Why does decoding fail with “Invalid Base64 input”?

The input may contain characters outside the Base64 alphabet or have broken padding. URL-safe Base64 that uses - and _ instead of + and / must be converted back to the standard characters first.

Why is the encoded text longer than the original?

Base64 represents every 3 bytes with 4 characters, so output is roughly a third larger than the input bytes.

🔗 Related tools