+Moyoutil
English

Base64 Encoder and Decoder

Encode or decode UTF-8 text, including non-English characters.

How to use the Base64 Encoder and Decoder

Replace text with a Base64 string, or restore Base64 to the original UTF-8 text. It is not a tool to convert files or images.

Example usage

Hello is encoded as SGVsbG8=. Hangul can also be used because it is converted to UTF-8 and then encoded.

Please note

Base64 is not encryption. Anyone can restore the original text, so do not use it to hide secrets.

Step-by-step instructions

  1. Enter plain text or Base64 string.
  2. Select encoding if it is plain text, or decoding if it is a Base64 string.
  3. Click Copy results to use elsewhere.

Base64 is not a cipher to hide content

Base64 is a way to express byte data as characters. This tool converts the input text to UTF-8 bytes and then creates a standard Base64. Decoding supports only valid UTF-8 text. If you insert Base64 from an image or compressed file, an error may occur because the original data is not text.

Base64 conversion input and result example
Original textBase64
HelloSGVsbG8=
안녕7JWI64WV

Frequently Asked Questions

Will it be encrypted if I change it to Base64?

No. Anyone can decode it, even without a key. Do not use it to protect your authentication information or password.

Are JWT strings also converted as is?

JWT uses Base64URL. This tool is for standard Base64 and does not support full JWT validation or signature verification.

What happens to line breaks when decoding?

Processes the input Base64 after removing spaces and line breaks. Line breaks in the original text are restored as included in UTF-8 data.

Created and operated by: Moyoutil · Content review: 2026-10-01 · Error report

Tool Utilization Blog

See all blogs

Base64 Pad Bits: Why Zg== and Zh== Both Decode to f

Different Base64 strings can restore the same bytes. Reproduce pad bits, canonical output and the actual Moyoutil decoder behavior.

Read the article

SHA-256 to Base64: Why 44 and 88 Characters Mean Different Inputs

Encoding raw SHA-256 bytes and encoding hexadecimal text produce different Base64 values. Compare 32 bytes, 44 characters and 88 characters with the actual tools and code.

Read the article

Base64 vs Base64url: Why - and _ Cause Decode Errors

Reproduce the alphabet differences between Base64 and Base64url, identify identical outputs, and separate JWS padding rules from encoding alphabets.

Read the article

Base64 Decode Errors: Valid Bytes Are Not Always UTF-8 Text

Separate Base64 decoding from UTF-8 interpretation. Test /w==, w6k= and ww== to identify the failed step and check the original encoding.

Read the article

Base64 Length: Padding and UTF-8 Byte Counts

Calculate Base64 output length and padding with verified examples. Compare UTF-8 bytes, a Korean character, line breaks and Moyoutil’s text-only conversion scope.

Read the article

Why Identical-Looking Text Has Different Bytes and Hashes: NFC vs NFD

Compare NFC and NFD text using measured character counts, UTF-8 bytes, Base64 and SHA-256. Learn when normalization is appropriate and what Moyoutil actually checks.

Read the article