Development

Base64 Encoder

Convert text to Base64 and decode Base64 to text quickly.

How to use Base64

  1. Enter text in the field.
  2. Select Text to Base64 or Base64 to Text.
  3. Copy the visible result when needed.

Short example

Enter hello and select Text to Base64.

hello → aGVsbG8=

Decoding aGVsbG8= returns hello. Base64 is encoding, not encryption.

Common uses

  • Prepare text for a Base64 field.
  • Decode a received Base64 value.
  • Check a short encoding example.

Notes and limitations

  • The interface accepts text only; it has no file upload or declared maximum size.
  • It converts Unicode text with encodeURIComponent/unescape and applies the reverse conversion when decoding.
  • Empty input and invalid Base64 display messages. Base64 does not provide secrecy or protection.

Frequently asked questions

Does it accept files?

No, text only.

Does it handle Unicode?

Yes. The conversion uses browser handling compatible with UTF-8.

What happens with invalid input?

The page displays an invalid Base64 message.

Result