Binary / Hex / Decimal Converter
Convert between any bases from 2 to 36.
Binary / Hex / Decimal Converter translates a number between binary, octal, decimal, hexadecimal and any base from 2 to 36, all four common bases updating at once as you type. It also shows the bit pattern with byte grouping and handles two's-complement negative values, entirely in the browser.
Loading Binary / Hex / Decimal Converter…
Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.
How to use Binary / Hex / Decimal Converter
- Type a value into any base field.
- Watch the others update as you type.
- Read the grouped bit pattern below.
Questions about Binary / Hex / Decimal Converter
How are negative numbers represented?
In two's complement, at a bit width you choose — 8, 16, 32 or 64. That is how computers actually store signed integers, and it explains why −1 shows as
FFFFFFFF in 32-bit hex.What is the largest number it handles?
Arbitrary precision via BigInt, so numbers far beyond 64 bits convert exactly with no floating-point rounding.
Can it convert fractional values?
Yes, binary and hexadecimal fractions are supported after the point, which is useful when inspecting floating-point representations.
Can I paste a value with spaces or underscores in it?
Yes. Spaces and underscores are stripped before parsing, so
1010 0110 and 0xFF style grouping both work. A digit that does not belong to the base is rejected rather than quietly ignored.Is this the right tool for a colour hex code?
Only if you want the plain number —
FF8800 converts to 16,746,496 here. For splitting a hex colour into red, green and blue or turning it into HSL, the colour converter listed below is the one you want.Is Binary / Hex / Decimal Converter really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Binary / Hex / Decimal Converter?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.