Hex to Binary Converter
Paste a hexadecimal value to get its binary form instantly. The 0x prefix and spaces are optional, and you can pad the result to clean 4-bit groups. Everything runs in your browser.
How to convert hex to binary
- Paste or type your hexadecimal value. A 0x prefix is optional.
- Turn on padding if you want the output aligned to 4-bit groups.
- Copy the binary output and use it wherever you need it.
Examples
Single byte
0xFF
11111111
Padded nibble
A
1010
Frequently asked questions
How does hex map to binary?
Each hexadecimal digit equals exactly 4 binary digits, called a nibble. For example, F is 1111, A is 1010 and 0 is 0000, so you can convert one digit at a time.
Why are leading zeros sometimes missing?
Binary drops leading zeros, so a value like 5 shows as 101, not 0101. Turn on padding to align the output to whole 4-bit groups so every nibble stays the same width.
Do I need the 0x prefix?
No. The 0x prefix is optional and case-insensitive. You can paste FF, 0xFF or 0XFF and get the same result. Spaces between digits are ignored too.
Can it handle very large hex values?
Yes. The converter uses BigInt, so there is no size limit and even 64-bit or larger values convert exactly without rounding.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser, so your input never leaves your device.
Related tools
Binary to Hex
Convert binary to hexadecimal online. Paste a binary number and get exact hex, with optional uppercase. Handles huge values. Runs in your browser.
Hex to Decimal
Convert hex to decimal online. Paste a hexadecimal value, with or without a 0x prefix, and get the exact base 10 number. Runs in your browser.
Binary to Decimal
Convert binary to decimal online. Paste any binary number, with or without spaces, and get the exact base-10 value instantly. Runs in your browser.
Celsius to Fahrenheit
Convert Celsius to Fahrenheit instantly. Type a temperature in C and get F, with the formula and a quick reference table. Runs in your browser.
Centimeters to Inches
Convert centimeters to inches instantly. Type a length in cm and get inches, with the formula and a quick reference table. Runs in your browser.
CSV to JSON
Convert CSV to JSON online. Turn spreadsheet rows into clean JSON objects or arrays, with smart number and boolean typing. Free tier plus API.