δΈ­ζ–‡

πŸ” Base64 Encode / Decode

Encode and decode Base64 online, including Unicode text such as Chinese.

About Base64 encoding

Base64 turns binary data into ASCII text so it can travel through systems that only accept text, such as JSON, email and data URLs. It is an encoding, not encryption; anyone can decode it.

This tool handles UTF-8 text (including Chinese and emoji) and runs entirely in your browser. Use it to inspect a Base64 string or convert text into a form that is safe to embed in JSON.

How to use it

Choose Encode or Decode, paste your content, click Convert, then copy the result. Invalid Base64 input returns a clear error.

  • Encode converts plain text, including non-ASCII characters, into Base64.
  • Decode converts Base64 back into UTF-8 text.
  • Everything runs locally in the browser.

Common uses

  • Embed small images or fonts in a data URL.
  • Move binary or non-text data through a JSON API.
  • Inspect encoded values in tokens, configs or logs.

FAQ

Is Base64 encryption?
No. Base64 is reversible encoding that anyone can decode. Protect sensitive data with real encryption and access controls.
Why does decoded text look garbled?
Base64 does not define a character set. Both sides must agree on UTF-8; this tool uses UTF-8.
Why is the encoded text larger?
Base64 turns every 3 bytes into 4 characters, so the size grows by about 33%. URL-safe base64url also replaces + and / and removes trailing =.