二進位制轉換器
即時將文本轉換為二進位制程式碼,或將二進位制轉換為文本。
推薦工具
精心挑選的實用工具
Translating Between Text and Binary
Overview
Binary is the base-2 number system computers use, where every character is stored as a sequence of 0s and 1s. This translator converts plain text to binary and back, making it easy to see how letters map to their underlying byte values. It runs entirely in your browser.
How to Use (Step by Step)
- 1
Enter text or binary
Type text to encode, or paste 0s and 1s to decode.
- 2
Pick the direction
Choose text-to-binary or binary-to-text.
- 3
Copy the result
The converted output appears instantly for you to copy.
How It Works
Each character is mapped to a number via its character code (ASCII or Unicode), and that number is written in base-2, usually as an 8-bit byte. For example, the letter A is 65, which is 01000001 in binary. Decoding reverses the process: each 8-bit group becomes a number, which maps back to a character.
When to Use This
Learning how computers represent text. Completing a homework or class exercise on number systems. Encoding a short message as binary for fun or a puzzle.
Frequently Asked Questions
A byte is 8 bits, enough to represent 256 values, which covers the standard ASCII character set. Unicode characters may use multiple bytes.