RevealTheme logo

Bộ chuyển đổi Hex sang nhị phân

Chuyển đổi số thập lục phân sang nhị phân. Mỗi chữ số thập lục phân mở rộng thành đúng 4 chữ số nhị phân.

Cách sử dụng công cụ này

  1. 1

    Type or paste a hex value into the input box, for example 1A2B or 0x1A2B.

  2. 2

    An optional leading 0x and any spaces are removed automatically before conversion.

  3. 3

    Read the binary result below the box, shown as 4-bit groups separated by spaces.

  4. 4

    If the box stays empty, check your input contains only the digits 0-9 and letters A-F.

Bộ chuyển đổi Hex sang nhị phân là gì?

Việc chuyển đổi từ thập lục phân sang nhị phân là một phép thay thế từng chữ số: 0 → 0000, F → 1111, và cứ thế. Kết quả được nhóm thành các nibble (khối 4 bit) để dễ đọc hơn. Hữu ích để đọc địa chỉ bộ nhớ, giá trị màu và lệnh máy theo dạng mẫu bit cơ sở của chúng.

Các trường hợp sử dụng phổ biến

  • Decoding a hex color like FF8800 into its red, green, and blue bit patterns when working on a design or shader.

  • Inspecting the binary layout of a memory address or register value printed by a debugger.

  • Teaching or learning how each hex digit corresponds to a 4-bit nibble in a computer-science class.

  • Checking the bit pattern of a hardware flag or bitmask defined in hex in firmware or driver code.

  • Translating a hex opcode or byte from a disassembly into binary to read individual instruction fields.

  • Verifying that a hex constant in a config file expands to the bit pattern you expect before committing it.

Công cụ liên quan