二進位到 ASCII
輕鬆將二進位代碼轉換為 ASCII 字元
轉換器工具
0 bits
Enter binary digits in 8-bit chunks, separated by spaces (e.g., 01000001 01000010).
關於此工具
二進位到 ASCII 轉換器是一種將二進位代碼轉換為其 ASCII 字元等效項的工具。每個8位二進位塊都轉換為單個 ASCII 字元,前提是二進位值在有效的 ASCII 範圍內。
如何運作
- The input binary string is split into 8-bit chunks (spaces are allowed for readability but not required).
- 每個8位二進位塊都轉換為其十進位等效數據塊。
- The decimal value is checked to ensure it falls within the valid ASCII range (0-127 for standard ASCII).
- 然後,十進位值將轉換為其相應的 ASCII 字元。
- 生成的 ASCII 字元將組合起來形成最終的文字輸出。
常見用途
- 電腦科學教育:了解計算機如何將二進位數據轉換為文本。
- 資料復原工具:將二進位數據解碼回可讀文字。
- Cryptography:解碼已轉換為二進位的加密消息。
- 網路協定:解釋通過網路傳輸的二進位數據。
- Debugging:將二進位日誌或數據轉儲轉換為人類可讀的文本。
ASCII 系統基礎知識
The ASCII (American Standard Code for Information Interchange) system uses 7 bits to represent 128 characters, including English letters (both uppercase and lowercase), numbers, and various symbols. Each ASCII character corresponds to a specific binary value between 0 and 127.
部分二進位到 ASCII 轉換表
Binary (8-bit) | ASCII 十進位 | Character |
---|---|---|
00100000 | 32 | Space |
00100001 | 33 | ! |
00100010 | 34 | " |
00100011 | 35 | # |
01000001 | 65 | A |
01000010 | 66 | B |
01100001 | 97 | a |
01100010 | 98 | b |
00110000 | 48 | 0 |