代码、数据与二维码工具

Base64文本编解码

UTF-8文本双向转换;文件Base64另列。

优先本地处理无需注册隐私说明 ↗

使用步骤

如何使用

  1. Paste text or a Base64 value up to 100,000 characters.
  2. Choose Encode to Base64 or Decode from Base64.
  3. Review and copy the result.

UTF-8 text handling

The tool encodes and decodes UTF-8 bytes with TextEncoder and TextDecoder. It works for Unicode text such as accented letters, non-Latin scripts, and emoji.

Base64 is not encryption

Base64 is an encoding for bytes, not a way to protect private data. Do not treat an encoded secret as hidden, and check the decoded text before using it.

常见问题

你可能还想知道

Why does decoding fail?

The value may contain invalid Base64 characters, bad padding, or bytes that are not valid UTF-8 text.

Can I encode emoji?

Yes. The encoder converts Unicode text to UTF-8 bytes first.

Is Base64 secure?

No. Anyone can decode Base64; it is not encryption.