ToolJovia
Developer

Base64 Encoder

Encode Unicode text as standard Base64 using UTF-8, entirely in your browser.

✓ Browser-local processing

Loading tool…

How to use Base64 Encoder

Convert readable text into a standard Base64 string. Accented characters, non-Latin scripts, and emoji are encoded as UTF-8 bytes before Base64 conversion.

  1. Enter the text to encode.
  2. Run the encoder.
  3. Copy or download the standard Base64 result.

Good to know

  • Text input only, up to 200,000 characters. This is not a binary-file encoder. Unpaired Unicode surrogates are rejected rather than replaced.
  • Uses the standard + and / alphabet with = padding, rather than Base64URL.
  • Base64 is an encoding and provides no confidentiality.

Encode an emoji and preserve an intentional leading BOM

The example input starts with an actual, invisible U+FEFF character, followed immediately by Hello and a smiling emoji. The encoder first turns the complete text into UTF-8 bytes, including those for the leading U+FEFF, and then uses standard Base64. Run it and compare the exact output below. Pasting that output into Base64 Decoder should recover the original leading character as well as the emoji. Typing the visible letters backslash-u-F-E-F-F instead would encode a different string, so preserve the actual example input when checking the round trip.

Actual leading U+FEFF, then Hello🙂; the first character is invisible

Hello🙂

Expected standard Base64

77u/SGVsbG/wn5mC
Try this in the tool

Common questions

Does it encrypt my text?

No. Anyone with the Base64 string can decode it.

What happens to emoji?

They are encoded as UTF-8 bytes and can be recovered with the matching decoder.

Keep going with related tools

All developer →