Unicode Codec
Convert between text and \uXXXX / U+XXXX encodings
Unicode Codec is a free online Developer tool. Convert between text and \uXXXX / U+XXXX encodings Related terms: unicode · 编码 · 解码 · 转义 · \u · code point. Use it on this page without signing in.
字符码点表
| 字符 | 码点 | 十进制 | 二进制 | UTF-16 转义 | 类别 |
|---|---|---|---|---|---|
| H | U+0048 | 72 | 0000000001001000 | \u0048 | 拉丁大写字母 |
| e | U+0065 | 101 | 0000000001100101 | \u0065 | 拉丁小写字母 |
| l | U+006C | 108 | 0000000001101100 | \u006C | 拉丁小写字母 |
| l | U+006C | 108 | 0000000001101100 | \u006C | 拉丁小写字母 |
| o | U+006F | 111 | 0000000001101111 | \u006F | 拉丁小写字母 |
| ␣ | U+0020 | 32 | 0000000000100000 | \u0020 | 空格 |
| 工 | U+5DE5 | 24037 | 0101110111100101 | \u5DE5 | CJK 统一汉字 |
| 具 | U+5177 | 20855 | 0101000101110111 | \u5177 | CJK 统一汉字 |
| 箱 | U+7BB1 | 31665 | 0111101110110001 | \u7BB1 | CJK 统一汉字 |
| ␣ | U+0020 | 32 | 0000000000100000 | \u0020 | 空格 |
| 🛠 | U+01F6E0 | 128736 | 000011111011011100000 | \uD83D | Emoji / 符号 |
| ️ | U+FE0F | 65039 | 1111111000001111 | \uFE0F | Unicode 字符 |
支持 BMP 与补充平面字符(U+10000 以上)。解码支持 \uXXXX、\u{XXXXX} 等常见转义格式。
使用说明
- 输入文本,自动转为 \uXXXX 编码
- 或输入 \uXXXX 编码,自动解码为文本
- 同时显示每个字符的码点(U+XXXX)和十进制值
常见问题
- \u 和 U+ 的区别? \uXXXX 是 JS/Java 字符串转义;U+XXXX 是 Unicode 码点表示法
- 支持 Emoji 吗? 支持,Emoji 用超过 4 位 hex 表示(如 U+1F600)
More Developer
View allJSON Formatter
Format, minify, validate JSON, convert to Go struct / TS interface
JSON Field Search
Search JSON by field, value or path with highlights, supports jq expressions
Timestamp Converter
Convert between Unix timestamps and dates, seconds and milliseconds
Cron Expression
Generate and parse cron expressions, preview next run time
UUID Generator
Generate UUID v4 / v7 / ULID / NanoID
Hash Calculator
Compute MD5 / SHA1 / SHA256 / SHA512 of text or files
JWT Decoder
Decode JWT header and payload, view expiry time
URL Encoder / Decoder
Encode and decode URL / URI components
FAQ about Unicode Codec
What can Unicode Codec do?
Unicode Codec is a Developer tool. Convert between text and \uXXXX / U+XXXX encodings You can finish the job on this page.
Who should use Unicode Codec?
Anyone handling unicode · 编码 · 解码 · 转义 · \u · code point who does not want to install desktop software can use Unicode Codec in the browser.
Is Unicode Codec safe? Is my data uploaded?
This tool runs in your browser. We do not collect the content you enter into Unicode Codec just because you used it.
What similar tools exist?
Related tools in the same Developer group are listed at the bottom of this page.