Find a tool

Base64 encoder

Encode and decode UTF-8 text.

Loading / 加载中
Your input is processed on this device.

How to use

Choose Encode for text or Decode for standard Base64. Decoding validates the alphabet, padding and UTF-8 bytes. Whitespace around encoded lines is allowed.

Example

Hello → SGVsbG8=

Good to know

Where is my data processed?

Your browser performs the operation. Input stays in page memory. Markdown draft saving is available when you explicitly enable it on this device.

Can I encode Chinese text and emoji?

Yes. Text is converted to UTF-8 bytes before Base64 encoding. Decoding validates the UTF-8 bytes before displaying the text.

Why does Base64 decoding fail?

Check the standard Base64 alphabet and padding. The decoded bytes must form valid UTF-8 text. Whitespace in the encoded input is allowed.