转换为十六进制

将输入字节逐个表示为两位十六进制数,适合检查和传输二进制数据。

输入: 文本 (UTF-8) / 文件结果: 文本

文本输入

运行后查看结果

案例

Explain why two visually identical café strings have different bytes — step 1

Make a text comparison and signature pitfall visible, then normalize deliberately.

输入

café

Expected answer

63 61 66 c3 a9
分隔符
Space
每行字节数
0
Explain why two visually identical café strings have different bytes — step 2

Make a text comparison and signature pitfall visible, then normalize deliberately.

输入

café

Expected answer

63 61 66 65 cc 81
分隔符
Space
每行字节数
0
Inspect the 25 UTF-8 bytes behind a family emoji sequence

Separate rendered appearance, seven Unicode code points and encoded byte size.

输入

👨‍👩‍👧‍👦

Expected answer

f0 9f 91 a8 e2 80 8d f0 9f 91 a9 e2 80 8d f0 9f 91 a7 e2 80 8d f0 9f 91 a6
分隔符
Space
每行字节数
0
Represent bitcoin genesis newspaper headline

Use hex to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

输入

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

54 68 65 20 54 69 6d 65 73 20 30 33 2f 4a 61 6e 2f 32 30 30 39 20 43 68 61 6e 63 65 6c 6c 6f 72 20 6f 6e 20 62 72 69 6e 6b 20 6f 66 20 73 65 63 6f 6e 64 20 62 61 69 6c 6f 75 74 20 66 6f 72 20 62 61 6e 6b 73
分隔符
Space
每行字节数
0
Represent a registry credential from kubernetes documentation

Use hex to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

输入

tiger:pass1234

Expected answer

74 69 67 65 72 3a 70 61 73 73 31 32 33 34
分隔符
Space
每行字节数
0
Represent a checksum-sensitive log line with a final newline

Use hex to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

输入

event=deploy status=ready

Expected answer

65 76 65 6e 74 3d 64 65 70 6c 6f 79 20 73 74 61 74 75 73 3d 72 65 61 64 79 0a
分隔符
Space
每行字节数
0
Represent chinese text in a utf-8 request body

Use hex to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

输入

你好,世界

Expected answer

e4 bd a0 e5 a5 bd ef bc 8c e4 b8 96 e7 95 8c
分隔符
Space
每行字节数
0
Represent a literal plus and space inside a url parameter

Use hex to represent the exact UTF-8 bytes. Encoding does not make public text confidential.

输入

release notes+A/B?

Expected answer

72 65 6c 65 61 73 65 20 6e 6f 74 65 73 2b 41 2f 42 3f
分隔符
Space
每行字节数
0
ASCII to 0x Hex with comma

输入

aberystwyth

Expected answer

0x61,0x62,0x65,0x72,0x79,0x73,0x74,0x77,0x79,0x74,0x68
分隔符
0x with comma
每行字节数
0
ASCII to 0x Hex with comma and line breaks

输入

aberystwyth

Expected answer

0x61,0x62,0x65,0x72,
0x79,0x73,0x74,0x77,
0x79,0x74,0x68
分隔符
0x with comma
每行字节数
4

相关工具

数据格式

操作参考

查看原始技术文档 (English)