ASCII 转换器
通过字符、十进制、十六进制、二进制或八进制查找 ASCII 码——一次查看所有表示形式。
The ASCII table is foundational knowledge for anyone working in software, networking, or hardware, but nobody memorises all 128 code points. When you encounter a raw decimal value in a protocol dump, a hex byte in a disassembly, or a control character reference in documentation, you need a quick lookup that shows the character, its name, and all its representations at once.
This tool lets you look up any ASCII code point by entering the character itself, its decimal value, its hex representation, its binary byte, or its octal value. The result shows every equivalent representation alongside the character's official name and category — printable, control, whitespace — making it equally useful for protocol analysis, debugging terminal escape sequences, and teaching.
如何在线查找 ASCII 码
- 1
输入字符或代码
在输入框中输入字符、十进制码、十六进制值、二进制字符串或八进制值。
- 2
查看所有表示形式
字符、十进制、十六进制、二进制和八进制表示同时显示。涵盖标准 ASCII(0-127)和扩展 ASCII(128-255)。
- 3
查询控制字符
控制字符(0-31 和 127)显示其控制名称(TAB、LF、CR 等),便于清晰识别。
How ASCII Encoding Works
ASCII (American Standard Code for Information Interchange) assigns 128 code points to a 7-bit integer range from 0 to 127. Code points 0–31 and 127 are control characters — non-printable codes that once controlled teletype machines and terminals. DEL (127) was designed to be punched over any character on paper tape. Code points 32–126 are printable: space, punctuation, digits, and the Latin alphabet in upper and lower case.
ASCII is a proper subset of UTF-8: any byte with its high bit clear (0x00–0x7F) is unambiguously an ASCII character in a UTF-8 stream. This compatibility was a deliberate design decision that enabled a smooth global transition from ASCII to Unicode — existing ASCII text files are valid UTF-8 without any conversion.
为什么使用 FileCrank ASCII 转换器?
- ✓ 为任意字符显示十进制、十六进制、二进制和八进制表示。
- ✓ 涵盖标准 ASCII(0-127)和扩展 ASCII(128-255)。
- ✓ 按名称(TAB、LF、CR 等)识别控制字符。
- ✓ 完全在浏览器中运行——不向任何服务器发送数据。
功能与规格
常见问题
什么是 ASCII 码?
ASCII(美国信息交换标准代码)为 128 个字符(包括字母、数字、标点符号和控制字符)分配了唯一编号(0-127)。字母 A 的 ASCII 码为 65(十进制)、41(十六进制)、1000001(二进制)。
标准 ASCII 和扩展 ASCII 有什么区别?
标准 ASCII 涵盖代码 0-127,是通用的。扩展 ASCII 涵盖 128-255,因编码而异(Windows-1252、Latin-1 等)。此工具显示扩展范围内的值,但将其标记为非标准。
我可以查找制表符或换行符的 ASCII 码吗?
可以。直接输入十进制代码:9 表示制表符,10 表示换行(LF),13 表示回车(CR)。控制字符在字符字段中显示其控制名称。
此工具与十六进制转换器有何不同?
ASCII 转换器以字符为中心——您一次查找一个字符在所有表示形式中的值。十六进制转换器对字符串操作——您粘贴十六进制字符串,一步将多个字节解码为文本。
ASCII Lookup vs. Unicode Charts vs. man ascii
The `man ascii` command on Unix shows the full table but requires terminal access and only displays decimal, hex, and octal — not binary. Online Unicode charts cover all 1.1 million code points but are designed for Unicode and do not highlight ASCII-specific categories like control characters. A focused ASCII tool gives you exactly the 128 code points you need, cross-referenced by every number base, with control character names — faster and less cluttered than a full Unicode reference.
相关工具
FileCrank ASCII 转换器查找任意字符或 ASCII 码,同时显示所有表示形式——十进制、十六进制、二进制和八进制,在浏览器中运行。
Advertisement