Base64 Encoder & Decoder

Quickly encode or decode Base64 text, including Chinese and special characters. Copy results for API debugging or data handling.

How to use Base64 encode & decode

Paste plain text and choose Encode for a Base64 string; paste valid Base64 and choose Decode to restore readable text. Base64 is a representation format, not encryption.

  • Supports Chinese, English, digits, and common special characters
  • Useful for inspecting JWT fragments, API fields, and simple data URIs
  • Before decoding, ensure the string is complete and padding is correct
  • Conversion runs entirely locally — text is never uploaded

FAQ

Can I encode files?

This tool is mainly for text. Images or large files use more memory — prefer a local CLI or dedicated file tool.

Why does decoding fail?

Common causes: truncated content, incomplete padding, or characters outside the Base64 alphabet. Make sure you copied the full string.

Does my data leave the browser?

No. Encoding and decoding run locally in the browser — ideal for temporary text you do not want uploaded.