首页Home › 编码与加密Encoding & Crypto
🔤 Unicode 转字节Convert Unicode to Bytes
UTF-8 / UTF-16LE 十六进制字节。可设置「编码」。UTF-8 / UTF-16LE hex bytes. Settings: Encoding.
使用说明与常见问题How-to & FAQ
「Unicode 转字节」是什么?What is the Convert Unicode to Bytes tool?
UTF-8 / UTF-16LE 十六进制字节。可设置「编码」。UTF-8 / UTF-16LE hex bytes. Settings: Encoding.
如何使用「Unicode 转字节」?How do I use the Convert Unicode to Bytes tool?
在「Unicode 转字节」中,按需设置「编码」等选项,然后点击「转换」按钮即可。In the Convert Unicode to Bytes: Set "Encoding", then click "Convert".
表情符号等代理对怎么处理?How are surrogate pairs such as emoji handled?
UTF-8 模式按完整码点编码,表情符号通常是 4 个字节;UTF-16LE 模式按 JavaScript 的 UTF-16 码元输出,基本平面外的字符会显示为两个码元(代理对),共 4 个字节。In UTF-8 mode each full code point is encoded, so an emoji is usually 4 bytes. In UTF-16LE mode the output follows JavaScript UTF-16 code units, so a character outside the Basic Multilingual Plane appears as two code units (a surrogate pair), 4 bytes in total.
有哪些选项可以调整?What options can I adjust?
「Unicode 转字节」的设置:「编码」可选 UTF-8、UTF-16LE(默认 UTF-8)。每次生成结果都按当前设置处理。Settings in the Convert Unicode to Bytes — "Encoding": UTF-8, UTF-16LE (default UTF-8). The result always uses the current settings.
编码和加密有什么区别?Is encoding the same as encryption?
编码(如 Base64、URL 编码)可直接还原,不提供保密性;加密需要密钥。「Unicode 转字节」的处理全部在本地完成。No. Encoding (Base64, URL…) is reversible by anyone; encryption needs a key. The Convert Unicode to Bytes works fully offline in your browser.
「Unicode 转字节」免费吗?需要注册吗?Is the Convert Unicode to Bytes free? Do I need an account?
「Unicode 转字节」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Unicode to Bytes is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.