BOXUNBAOTools
Simplify everyday tasks.Back to website
ToolboxBase64 Encoder & Decoder

Base64 Encoder & Decoder

Runs in your browser

Convert text to and from Base64 while preserving Unicode and emoji.

0 characters

How to use

Steps

  1. Paste plain text or Base64 into Input. Select URL-safe Base64 if you need URL-safe encoding.
  2. Select Encode to convert UTF-8 text to Base64 or Decode to recover the text. Use Copy result to get the full output.
  3. To verify a round trip, select Move result to input and run the reverse operation.

Example

Input 你好 and select Encode. The standard Base64 result is 5L2g5aW9. Move the result back to the input and decode it to recover the original.

Tips

  • Base64URL uses - and _and omits =when encoding. The decoder accepts newlines and omitted trailing padding.
  • This tool handles UTF-8 text, including Chinese, emoji, and multiple lines. If decoding fails, check the characters, padding, and whether the source was UTF-8. Base64 encoding is reversible.