Masukkan teks
Base64 Result
Choose an operation to start

Encoder & Decoder Base64 / URL / Unicode

One page for the encodings you reach for most often: Base64, URL percent-encoding, Unicode escapes, HTML entities and hexadecimal. Choose the format, click Encode or Decode, and the result appears below — multi-byte characters included, with no mangled text.

Every conversion happens locally, so the text you paste never leaves your device.

Features

How to use

  1. Enter the text you want to process on the left.
  2. Pick Base64, URL, Unicode, HTML entities or Hex on the right.
  3. Click Encode or Decode; the result shows up in the panel below.
  4. Use the Copy button on the result panel to take it with you.

FAQ

Is Base64 encryption?

No. Base64 is only a way of representing binary data with printable characters, and anyone can reverse it directly. It provides no confidentiality whatsoever; when secrecy matters, use a real cipher such as AES.

Why does a Base64 string end with equals signs?

The equals signs are padding. Base64 encodes every 3 bytes as 4 characters, so when the input length is not a multiple of 3, one or two = characters are appended to keep the output length a multiple of 4.

Should I use encodeURI or encodeURIComponent?

Use encodeURIComponent for individual query parameter values, because it also escapes &, =, ? and /. Use encodeURI when escaping a whole URL that must keep its structure, since it leaves those syntactic characters alone.

The decoded text is garbled. What went wrong?

Usually the original was encoded with a character set other than UTF-8, or the content was encoded twice. Try decoding once more and see whether the result still looks encoded; this page always treats text as UTF-8.

Related tools & reading

Umpan balik

Situs ini murni front-end: tanpa backend maupun akun. Umpan balik via GitHub Issues, Discussions, atau email.

Tempel ini ke issue atau email untuk membantu menemukan masalah; tidak menyertakan apa pun yang Anda ketik

Also: Lihat umpan balik yang ada · Umpan balik email (tanpa akun GitHub):278975598@qq.com