RevealTheme logo

二进制翻译器

将文本转换为二进制代码,或进行反向转换。每个字符都会转换为其8位的ASCII表示。

如何使用本工具

  1. 1

    Pick a direction from the dropdown: 'Text → Binary' to encode, or 'Binary → Text' to decode.

  2. 2

    Type or paste your input into the text box.

  3. 3

    Read the converted result in the gray output panel below as you type — it updates live.

  4. 4

    When decoding, separate each 8-bit group with a space so the tool knows where one character ends and the next begins.

什么是二进制翻译器?

计算机将所有文本都存储为二进制:由0和1组成的序列。每个ASCII字符都映射到0到127之间的一个数字,可容纳于7位中(为字节对齐而补足到8位)。例如,字母“A”的十进制是65,其二进制为01000001。

常见使用场景

  • Teaching or learning how ASCII characters map to their binary byte values in a computer science class.

  • Decoding a short binary string someone shared in a puzzle, CTF challenge, or chat message.

  • Quickly checking the 8-bit pattern of a specific letter or symbol while debugging low-level code.

  • Creating a simple binary-encoded message for a hobby project, escape room, or geocaching clue.

  • Demonstrating place value and base-2 representation when explaining how data is stored.

  • Sanity-checking that a piece of text is pure ASCII before sending it through a byte-oriented protocol.

常见问题

它能处理表情符号吗?
表情符号是多字节的UTF-8。本工具处理的是ASCII(基础拉丁字符)。若需完整的Unicode二进制,你需要一个UTF-8字节序列转换器。

相关工具