Skip to content

Base64 Encoder

Encode text to Base64 with full UTF-8 support (emoji and accents included), with optional MIME or PEM line wrapping.

Runs in your browserText → Base64
Loading tool…

Example

Input
Hello, world! ✓
Output
SGVsbG8sIHdvcmxkISDinJM=

How to use the Base64 Encoder

  1. Paste or type your Text into the input area, or open a file from your device.
  2. Adjust the options above the editor if the tool offers any.
  3. Review the Base64 result, then copy it or download it as a file.

Privacy and limitations

  • Your data is processed on your device and is not uploaded to any server.

Frequently asked questions

Is Base64 encryption?

No. Base64 is a reversible encoding that anyone can decode. It makes binary data safe to embed in text formats; it does not hide or protect it.

Why does my output differ from btoa()?

btoa() only accepts Latin-1 characters. This tool encodes text as UTF-8 first, which is what servers and other languages expect for non-English text and emoji.

Browse all base64 tools →