文本到二進位
輕鬆將文字轉換為二進位代碼
轉換器工具
0 characters
每個字元都轉換為8位二進位字串。
關於此工具
A text to binary converter is a tool that transforms text characters into their binary equivalents. Each character in the English alphabet (both uppercase and lowercase), numbers, and various symbols are represented by a unique sequence of 8 bits (0s and 1s).
如何運作
- Each character is first converted to its ASCII value (a number between 0-127 for standard ASCII).
- 然後,此 ASCII 值將轉換為 8 位二進位字串。
- 如果二進位表示形式小於8位,則添加前導零以使其長度為8位。
常見用途
- 電腦科學教育:瞭解文本在計算機中的存儲方式。
- 資料傳輸:將文本轉換為二進位以通過網路傳輸。
- Cryptography:用於各種加密和編碼演算法。
- Debugging:在程式設計和系統管理中分析二進位數據。
- 數位通信:如何以數位方式表示信息的基礎知識。
二進位系統基礎
The binary system uses only two digits: 0 and 1. Each digit in a binary number is called a bit. An 8-bit binary number can represent 256 different values (from 0 to 255).
示例轉換表
Character | ASCII 值 | 二進位表示 |
---|---|---|
A | 65 | 01000001 |
B | 66 | 01000010 |
C | 67 | 01000011 |
1 | 49 | 00110001 |