Base64 Encoder & Decoder

Encode plain text to Base64, or decode Base64 back to plain text. Everything runs in your browser, and your data is never uploaded anywhere.

Input
0 characters
Output
0 characters

What is Base64?

Base64 is a way of representing binary or text data using only 64 printable characters (A–Z, a–z, 0–9, + and /). It's commonly used to safely embed data in places that only support plain text, such as URLs, JSON, XML, emails and configuration files.

Base64 is an encoding, not an encryption method.It doesn't use a key or password, and anyone can decode a Base64 string back to its original form. Don't use Base64 alone to protect sensitive information.

How to encode text to Base64

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

How to decode Base64

  1. Paste your Base64 string into the input box.
  2. Click Decode from Base64.
  3. The original text appears in the output box.

If the input isn't valid Base64, an error is shown instead of a result. Use Swap to move the output back into the input box and reverse the operation.

Common uses for Base64

  • Embedding small images or fonts directly in CSS or HTML.
  • Sending binary data (like attachments) over text-based protocols such as email.
  • Storing data in JSON, XML or URLs without breaking the format.
  • Encoding API keys, tokens or credentials for transport, not for secrecy.

Frequently asked questions

Is this Base64 tool free?

Yes. The Tiny Utils Base64 Encoder & Decoder is free to use.

Is my data uploaded to a server?

No. Encoding and decoding happen directly in your browser. Your text is never sent to Tiny Utils or anywhere else.

Is Base64 encryption?

No. Base64 is an encoding scheme, not encryption. It doesn't use a key, and any Base64 string can be decoded by anyone. Use proper encryption if you need to keep data secret.

Does this tool support Unicode and emoji?

Yes. Text is encoded as UTF-8 before conversion to Base64, so accented characters, symbols and emoji are all supported.

Why does decoding sometimes show an error?

Decoding fails if the input isn't valid Base64, or if it decodes to bytes that aren't valid UTF-8 text. Double-check you've pasted the complete Base64 string, including any trailing= padding.