Got a hex value — from a colour code, a memory dump, or a piece of code — and need the raw bits behind it? This free hex to binary converter turns each hex digit into its 4-bit binary group, so FF becomes 11111111 and 2F becomes 00101111. Everything runs in your browser, so nothing is uploaded, nothing is stored, and no signup is needed.
How to use this hex to binary converter
Three quick steps — no signup, no cost.
Enter hex digits (0–9, A–F) with or without a 0x prefix and with or without spaces — upper and lower case both work.
The converter replaces every hex digit with its 4-bit group and joins the groups in the same order.
Copy the binary output, grouped in fours or as one continuous string, and paste it wherever you need it.
Why this hex to binary converter keeps every leading zero
Dropping leading zeros is the most common hex-to-binary mistake — and it changes where every bit sits.
Each hex digit maps to exactly 4 bits, including leading zeros inside the digit — 2 becomes 0010, not 10.
A leading 0x is recognised and stripped before conversion, so values copied from code work without manual cleanup.
Uppercase and lowercase hex letters convert identically, so pasted values work as they are.
Conversion runs in your browser, so your values are never uploaded or stored.
Hex to Binary Converter FAQs
Short, direct answers to the questions readers ask most.
Replace each hex digit with its 4-bit binary equivalent and join the groups in order — 3DC becomes 0011 1100 1101, and dropping the leading zeros of the whole number gives 1111001101.
Yes. A leading 0x is stripped before conversion, so 0xFF and FF give the same result.
Because each hex digit must give 4 bits: 2 is 0010 and F is 1111, so together they are 00101111 — dropping the leading zeros inside a digit would shift every later bit.
Yes — free, with no account and no signup.
Related Tools
More free converters that work the same way — right in your browser.
Turn JSON data into XML in your browser, with no upload and no signup.
XML to JSON ConverterTurn XML into JSON in your browser, with no upload and no signup.
CSV to JSON ConverterTurn CSV rows into JSON in your browser, with no upload and no signup.
TXT to CSV ConverterTurn line-based text into a CSV file in your browser, with no upload.
Try the related tools above, or go back to the Convertion homepage for more free converters.
