Base64 Encode & Decode

Encode text to Base64 or decode it back — nothing leaves your browser.

How to use

  1. Paste your text or Base64 string into the input box.
  2. Click “Encode to Base64” or “Decode from Base64”.
  3. Copy the result from the output box.

Frequently Asked Questions

What is Base64 used for?

It's a way to represent binary or text data using only readable ASCII characters — common in email attachments, data URLs, and API tokens.

Does this support Unicode text like emoji or Turkish characters?

Yes, encoding/decoding uses UTF-8 under the hood, so accented and non-Latin characters round-trip correctly.

Why do I get an “Invalid Base64” error?

The input contains characters outside the Base64 alphabet, or the string length isn't a valid Base64 length — double-check for typos or truncation.