Skip to content
Developer Tools

Base64 Encoder / Decoder

Encode UTF-8 text as Base64 or decode it back to text. Supports Unicode and the URL-safe alphabet.

Preparing tool…

No registration · Free to use

How to use Base64 Encoder / Decoder

  1. Enter UTF-8 text or Base64 content.
  2. Choose encode or decode, optionally enabling Base64URL.
  3. Check and copy or download the resulting text.

Frequently asked questions

Is Base64 encryption suitable for hiding passwords?

No. Base64 is reversible encoding that anyone with the data can decode. It does not protect passwords, tokens or private information.

Why can it encode Chinese and emoji?

Text is converted to UTF-8 bytes before encoding, then decoded as valid UTF-8. This preserves Chinese text, accented letters and emoji.

How does Base64URL differ from regular Base64?

It replaces + and / with - and _ and omits trailing padding when encoding. Choose the alphabet matching your input when decoding.

Why do some Base64 values fail UTF-8 decoding?

Base64 can hold arbitrary binary data, while this tool outputs text. Images, archives and non-UTF-8 bytes are not necessarily valid text.

Can it convert image or PDF files to Base64?

It currently handles text and text-file imports up to 1 MB. Arbitrary binary file uploads, data-URL image conversion and binary file restoration are not included.

Verify sign-in

Add 24Convert

Your browser has not offered one-click installation yet. Use these steps to add the app manually.

  1. Click Copy website address below.

  2. Open this website in Chrome / Edge.

  3. Paste the address into the address bar, open the site, then click Install.