🔍

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

🔤 码位转 UTF-8 字节Convert Code Points to UTF-8

把码位(U+4E2D、0x4E2D、\u4E2D、\U0001F600 或纯十六进制数字)转换成 UTF-8 十六进制字节(如 E4 B8 AD),可选同时显示文本。本地处理。Convert code points (U+4E2D, 0x4E2D, \u4E2D, \U0001F600 or bare hex numbers) into UTF-8 hex bytes such as E4 B8 AD, optionally showing the text as well. Processed locally.

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

「码位转 UTF-8 字节」是什么?What is the Convert Code Points to UTF-8 tool?

把码位(U+4E2D、0x4E2D、\u4E2D、\U0001F600 或纯十六进制数字)转换成 UTF-8 十六进制字节(如 E4 B8 AD),可选同时显示文本。本地处理。Convert code points (U+4E2D, 0x4E2D, \u4E2D, \U0001F600 or bare hex numbers) into UTF-8 hex bytes such as E4 B8 AD, optionally showing the text as well. Processed locally.

如何使用「码位转 UTF-8 字节」?How do I use the Convert Code Points to UTF-8 tool?

在「码位转 UTF-8 字节」中,把内容粘贴或输入到上方输入框,按需设置「字节分隔」、「大小写」,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「U+4E2D」,得到「E4 B8 AD」。In the Convert Code Points to UTF-8: Paste or type into the input box, adjust "Byte separator", "Case"; the result appears below instantly — click "Copy result" to copy it. Example: "U+4E2D" → "E4 B8 AD".

可以输入哪些格式?Which formats can I enter?

U+4E2D、0x4E2D、\u4E2D、\u{1F600}、\U0001F600,以及纯数字 4E2D,都按十六进制读取(纯数字也是十六进制,所以 41 是 U+0041,即字母 A)。多个码位用空格、逗号或分号分隔,带前缀的也可以连写,如 U+4E2DU+1F600。无法识别的一项会在错误里原样引用。U+4E2D, 0x4E2D, \u4E2D, \u{1F600}, \U0001F600 and the bare number 4E2D are all read as hex; bare numbers are hex too, so 41 means U+0041, the letter A. Separate code points with spaces, commas or semicolons, or run prefixed ones together as in U+4E2DU+1F600. An entry that cannot be read is quoted in the error.

输出是什么?What is the output?

每个码位的 UTF-8 编码字节,用十六进制表示,例如 U+4E2D(中)是 E4 B8 AD,U+1F600(😀)是 F0 9F 98 80。可以选字节分隔方式和大小写,勾选“同时显示文本”会在下一行显示对应的字符。The UTF-8 bytes of each code point in hex: U+4E2D is E4 B8 AD and U+1F600 (😀) is F0 9F 98 80. You can choose the byte separator and the case, and Also show the text adds the characters on a second line.

哪些码位会被拒绝?Which code points are rejected?

超过 U+10FFFF 的值,以及 U+D800–DFFF 的代理码位(它们不是字符,不能单独编码成 UTF-8)。如果输入的是一对代理码位(如 U+D83D U+DE00),错误会告诉你应写成的码位 U+1F600。Values above U+10FFFF and the surrogates U+D800–DFFF, which are not characters and cannot be encoded as UTF-8 on their own. If you enter a surrogate pair such as U+D83D U+DE00, the error tells you the code point to use instead, U+1F600.

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

例如在「码位转 UTF-8 字节」中输入 U+4E2D,输出为:E4 B8 AD。For example, the Convert Code Points to UTF-8 turns the input U+4E2D into: E4 B8 AD.

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

「码位转 UTF-8 字节」的设置:「字节分隔」可选 空格、无、逗号、\x 前缀(默认 空格);「大小写」可选 大写、小写(默认 大写);可勾选:「同时显示文本」。每次生成结果都按当前设置处理。Settings in the Convert Code Points to UTF-8 — "Byte separator": Space, None, Comma, \x prefix (default Space); "Case": Upper case, Lower case (default Upper case); tick boxes: "Also show the text". The result always uses the current settings.

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

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

「码位转 UTF-8 字节」免费吗?需要注册吗?Is the Convert Code Points to UTF-8 free? Do I need an account?

「码位转 UTF-8 字节」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Code Points to UTF-8 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

🔢 UTF-8 文本转码位Convert UTF-8 to Code Points🔤 码位转 Unicode 字符Convert Code Points to Unicode🔗 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🔤 UTF-32 转 UTF-8 文本Convert UTF-32 to UTF-8🔢 UTF-8 转任意进制Convert UTF-8 to Arbitrary Base🧬 UTF-8 转 Base64Convert UTF-8 to Base64🔗 UTF-8 转 Data URIConvert UTF-8 to Data URI🔟 UTF-8 转十进制字节Convert UTF-8 to Decimal8️⃣ UTF-8 转八进制字节Convert UTF-8 to Octal

← 全部工具All tools