🔍

首页Home › 编码与加密Encoding & Crypto

🔤 Unicode 转 UTF-16Convert Unicode to UTF-16

写成 UTF-16 码元的十六进制(可含 BOM)。本地处理。可设置「字节序」、「加 BOM (FEFF)」。Write UTF-16 code units as hex (optional BOM). Processed locally. Settings: Byte order, Add BOM (FEFF).

使用说明与常见问题How-to & FAQ

「Unicode 转 UTF-16」是什么?What is the Convert Unicode to UTF-16 tool?

写成 UTF-16 码元的十六进制(可含 BOM)。本地处理。可设置「字节序」、「加 BOM (FEFF)」。Write UTF-16 code units as hex (optional BOM). Processed locally. Settings: Byte order, Add BOM (FEFF).

如何使用「Unicode 转 UTF-16」?How do I use the Convert Unicode to UTF-16 tool?

在「Unicode 转 UTF-16」中,把内容粘贴或输入到上方输入框,按需设置「字节序」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「A」,得到「0041」。In the Convert Unicode to UTF-16: Paste or type into the input box, adjust "Byte order"; the result appears below instantly — click "Copy result" to copy it. Example: "A" → "0041".

表情符号会输出几个码元?How many units does an emoji give?

UTF-16 中基本平面以外的字符要用两个 16 位码元(代理对)表示,例如 😀 输出 d83d de00。勾选“加 BOM”时开头会多一个 feff。In UTF-16, characters outside the Basic Multilingual Plane need two 16-bit units (a surrogate pair), so 😀 gives d83d de00. With Add BOM ticked, a feff is added at the start.

是大端还是小端?Big-endian or little-endian?

默认大端(BE),每个码元先写高字节,如 A = 0041;选“小端 LE”则先写低字节,如 A = 4100,BOM 写成 fffe。Big-endian (BE) by default, with the high byte first, so A is 0041. Choose Little-endian (LE) to put the low byte first, so A is 4100 and the BOM is fffe.

输入和输出是什么样的?What does the input and output look like?

例如在「Unicode 转 UTF-16」中输入 A,输出为:0041。For example, the Convert Unicode to UTF-16 turns the input A into: 0041.

有哪些选项可以调整?What options can I adjust?

「Unicode 转 UTF-16」的设置:「字节序」可选 大端 BE、小端 LE(默认 大端 BE);可勾选:「加 BOM (FEFF)」。每次生成结果都按当前设置处理。Settings in the Convert Unicode to UTF-16 — "Byte order": Big-endian (BE), Little-endian (LE) (default Big-endian (BE)); tick boxes: "Add BOM (FEFF)". The result always uses the current settings.

编码和加密有什么区别?Is encoding the same as encryption?

编码(如 Base64、URL 编码)可直接还原,不提供保密性;加密需要密钥。「Unicode 转 UTF-16」的处理全部在本地完成。No. Encoding (Base64, URL…) is reversible by anyone; encryption needs a key. The Convert Unicode to UTF-16 works fully offline in your browser.

「Unicode 转 UTF-16」免费吗?需要注册吗?Is the Convert Unicode to UTF-16 free? Do I need an account?

「Unicode 转 UTF-16」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Unicode to UTF-16 is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🔢 Unicode 转码位Convert Unicode to Code Points#️⃣ Unicode 转十六进制Convert Unicode to Hex🔗 Unicode 转 Data URLConvert Unicode to Data URL🔤 Unicode 转 UTF-32Convert Unicode to UTF-32🔗 Unicode URL 编码URL Encode Unicode🔢 任意进制转 UTF-8 文本Convert Arbitrary Base to UTF-8🧬 Base64 转 UTF-8 文本Convert Base64 to UTF-8🔤 码位转 UTF-8 字节Convert Code Points to UTF-8🔗 Data URI 转 UTF-8 文本Convert Data URI to UTF-8🔟 十进制字节转 UTF-8Convert Decimal to UTF-88️⃣ 八进制字节转 UTF-8Convert Octal to UTF-8🔤 UTF-16 转 UTF-8 文本Convert UTF-16 to UTF-8

← 全部工具All tools