Binary / Hex / Decimal Converter
Type a number in any base and see decimal, binary, 0x hex, the Unicode character and bit length at once — BigInt-exact beyond 64 bits.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
Binary / Hex / Decimal Converter
Convert binary, hexadecimal, decimal, and ASCII values quickly.
The Binary / Hex / Decimal Converter takes one number typed in any of those three bases and shows all of them at once, plus the matching Unicode character and the bit length. It parses with JavaScript BigInt, so values far beyond the 32-bit or 64-bit range convert exactly instead of drifting into floating-point rounding. It is built for developers reading register dumps, byte values, colour codes and protocol fields who want a single copy-ready answer rather than three separate lookups.
How to use Binary / Hex / Decimal Converter
Pick the base you are typing in from the Input format switch — Decimal, Binary or Hex — then edit the box beneath it. The tool opens on Decimal with 255 already filled in and converts as you type, so there is no convert button to press.
Read the five result cards: Decimal, Binary, Hexadecimal shown with an 0x prefix, Unicode character for that code point, and Bit length. A stray character replaces them with the rule you broke, such as Binary value can only contain 0 and 1.
Click the clipboard icon on any card to copy that value — Copied flashes in green beside the input box — or press Reset to put the tool back to Decimal 255.
Why use Binary / Hex / Decimal Converter
Arbitrary precision, not 53-bit
BigInt parsing means a 128-bit hash or a huge decimal converts digit-for-digit, where a normal calculator would round it.
Every representation in one pass
Decimal, binary, uppercase hex with the 0x prefix, the Unicode character and the bit length all update from a single input.
Tells you why input is rejected
Stray characters produce a specific message — binary limited to 0 and 1, hex to 0-9 and A-F, decimal to whole numbers — instead of a silent NaN.
Common use cases
- You are reading a hardware datasheet that gives a status register as 0xB4 and you need the bit pattern to see which flags are set — paste it in hex mode and read the binary 10110100 and the 8-bit length.
- A CSV export contains raw code points like 8364 and you want to know which characters they are before writing a parser — decimal mode shows the Unicode character alongside the hex 0x20AC.
- You are writing a bitmask constant and want to confirm that 1111 1111 1111 in binary really is 4095 and 0xFFF, so the mask width in your header file matches the field width in the spec.
Frequently asked questions
How do I convert hex to binary?
Switch the input format to hex, paste the value, and read the binary output row. A leading 0x is stripped automatically, and each hex digit maps to exactly 4 binary digits, so 0xB4 becomes 10110100.
Link to answerCan it handle numbers bigger than 64 bits?
Yes. Parsing uses BigInt, which has no fixed width, so a 128-bit or 256-bit value converts exactly. Standard JavaScript numbers lose precision above 2^53 - 1 (9,007,199,254,740,991); this tool does not.
Link to answerWhat does the Unicode character row show?
It shows the character whose code point equals your number, for any value from 0 up to 0x10FFFF (1,114,111) — the highest code point Unicode defines. Anything above that, or a negative number, is reported as outside the Unicode range.
Link to answerWhy does a negative number not produce binary or hex?
Negative binary and hex depend on a chosen width and encoding — two's complement in 8, 16, 32 or 64 bits gives four different answers for the same value. Rather than guess a width, the converter returns the decimal and marks binary and hex as unsupported for negatives.
Link to answerEmbed this tool on your site
Add the Binary / Hex / Decimal Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/binary-hex-decimal-converter"
title="Binary / Hex / Decimal Converter — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/binary-hex-decimal-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>