BinTxt

Binary to Hex & Hex to Binary Converter.

Instantly translate bits and nibbles with our interactive 4-bit visualizer. Clean, fast, and minimal.

BINARY → HEX HEX → BINARY
Binary Input
Hex Output

The Binary to Hexadecimal Guide

Understanding how 4 bits (a nibble) directly translate to a single hexadecimal digit.

1. What is a Nibble?

In computing, a nibble is exactly four bits (half a byte). Since a bit can be 0 or 1, a 4-bit group can have $2^4 = 16$ possible values. This aligns perfectly with the Hexadecimal system (Base-16), which uses 16 digits: 0-9 and A-F.

2. How the Visualizer Works

Whenever you type a binary string, our tool pads it with leading zeros until its length is a perfect multiple of 4. It then slices the binary string into nibbles and maps each directly to its Hex equivalent.

3. Hex/Binary Lookup Table

Binary Nibble Hex Digit
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019
1010A
1011B
1100C
1101D
1110E
1111F