Binary to hex converter with nibble grouping

Convert binary to hexadecimal by grouping bits into nibbles.

Was this helpful?
Share Tool

11111111 in hex is FF: split the bits into nibbles of four from the right and map 1111 to F twice. This page pads on the left so the last group is always four bits, then prints the hex digits.

Need the reverse? Hex to binary expands each digit to four bits. For four bases together, use all bases at once in the binary converter.

101101 is two nibbles after a left pad: 0010 1101 → 2D. 2D hex is 45 decimal — the same integer the binary to decimal page reports. A full byte 11111111 is FF.

Grouping from the left is the usual mistake: 101101 without a pad looks like 1011 01, which is not a nibble pair. Always pad to a multiple of 4 first. Spaces and 0b in the paste are ignored.

Open Step-by-step working to see each nibble and its hex glyph. Colour codes and 32-bit dumps belong on the reverse page; arithmetic on bits belongs on the binary calculator. A 16-bit pattern such as 1111111111111111 is FFFF; that is 65535 unsigned, not a colour, and the nibble walk is the same four-bit map eight times.

How to convert binary to hex

  1. Paste a bit string (spaces, underscores, optional 0b). Invalid digits show a red error.
  2. Read the hex card. Groups of four bits appear as the nibble row so you can check each map.
  3. Open Step-by-step working to see left-padding and each 0000–1111 → 0–F step.
  4. Copy the hex. For the other direction, follow the reverse link to hex → binary.

Key Features

  • Binary → hex with left-pad to whole nibbles
  • Visible 4-bit groups and the 0000–1111 table
  • Examples 11111111 → FF and 101101 → 2D
  • Spaces, underscores and 0b accepted
  • Local, no upload

Group from the right, then map

  • 11111111 splits as 1111 1111 → F F. No padding needed because the length is already a multiple of 4.
  • 101101 has length 6, so add two zeros on the left: 00101101 → 0010 1101 → 2 D.
  • A nibble 1010 is A (10), 1011 is B, 1100 is C, 1101 is D, 1110 is E, 1111 is F. 0000 is 0.
  • 1111 0000 is F0, a common mask. 0000 0001 is 01, which some dumps write as 1 after stripping a leading zero.

Worked bytes and a colour-sized string

  • One byte 11111111 → FF = 255 decimal. One byte 00000000 → 00.
  • 101101 → 2D = 45 decimal. That is the same 45 the doubling method gives on binary-to-decimal.
  • Twenty-four colour bits 111111111000100000000000 group as FF 88 00 — the orange #FF8800 on the reverse page.
  • Do not group from the left on an unpadded string. 101101 grouped left as 1011 01 is B plus a broken pair, not 2D.

Common mistakes

  • Forgetting the left pad, so 101101 becomes “B1” in your head (1011 and 01) instead of 2D.
  • Mapping 1010 to 10 decimal and writing “10” as two hex digits. The hex glyph for 1010 is a single A.
  • Mixing bit grouping of 3 (octal) with grouping of 4 (hex). Triplets belong on binary to octal.
  • Pasting hex here. Hex input is hex to binary.
  • Expecting UTF-8 text. Letters are the binary translator.

Nibble table (0000–1111 ↔ 0–F)

  • Each row is one hex digit. This page maps bits → glyph; the reverse page maps glyph → bits.
NibbleHexDecimal
000000
000111
001022
001133
010044
010155
011066
011177
100088
100199
1010A10
1011B11
1100C12
1101D13
1110E14
1111F15

Frequently Asked Questions

What is 11111111 in hex?

FF. Two nibbles of 1111. Decimal 255, octal 377.

What is 101101 in hex?

2D. Pad to 00101101, then 0010 → 2 and 1101 → D.

Why pad on the left?

Hex digits are 4-bit groups counted from the least significant bit. Left pad keeps the low nibble aligned.

Is 2D the same as 45 decimal?

Yes. 2×16 + 13 = 45, which matches 32+8+4+1 from the bits 101101.

Can I paste bits with spaces?

Yes. Spaces, underscores and 0b are removed before grouping.

Does this convert text to hex?

No. Bytes of a string are the text-to-hex tool. This page only groups a 0/1 number into hex digits.

Expert Guide for Binary to Hex Converter

View Blog
Text to Hex: How ASCII and UTF-8 Hex Encoding Works

Text to Hex: How ASCII and UTF-8 Hex Encoding Works

Convert text to hexadecimal by hand and online. Worked examples show why "Hi" is 48 69 but ₹ becomes E2 82 B9 in UTF-8, plus spacing and 0x formats.

Read Guide

Categories

Browse all FlashKit tools