Radix Converter
Radix Converter instantly converts a number between binary, octal, decimal and hexadecimal, showing all four bases at once. It uses BigInt internally, so precision holds even for numbers beyond 64 bits. It also handles any base from 2 to 36, fractions, two's complement and the IEEE-754 floating-point bit layout.
Any base (2–36) and fractions
You can use a decimal point; the fraction is cut at 12 digits.
Two's complement (signed integers)
IEEE-754 floating point
How it works
- 1Pick the source base (2, 8, 10 or 16) and enter the number.
- 2The other three bases are computed instantly and shown as cards.
- 3An invalid digit for the chosen base (e.g. '2' in binary) shows a warning.
- 4Copy any of the results you need.
Frequently asked questions
Does it support negative numbers?−+
Yes, prefix the value with `-`; the sign is preserved when converting to the other bases.
Does precision get lost for very large numbers?−+
No. The conversion uses JavaScript's `BigInt` type, so hex/binary values well beyond `Number`'s 2^53 safe-integer limit still convert exactly.
Are decimal (fractional) numbers supported?−+
No, only integers are supported; entering a fractional part is treated as invalid.
Does case matter for hex input?−+
No, `ff` and `FF` are handled the same way; output is produced in lowercase.
Is the number I enter sent to a server?−+
No, the entire conversion runs in your browser.
Why can't 0.1 be represented exactly in binary?−+
Its binary expansion is infinite; float32/float64 truncate it, so the stored value is very close to but not exactly 0.1. The tool shows the actually stored value.
Embed on your site
<iframe src="https://toolsqube.com/en/software-engineering/radix-converter/embed" width="480" height="360" style="border:0;border-radius:14px" title="Radix Converter · ToolsQube" loading="lazy"> </iframe>
Want to go deeper on this topic: Software Engineering Tools Guide →