Number Base Converter
convert numbers between binary, octal, decimal, and hex
By Bikram NathLast updated
Paste any integer in binary, octal, decimal, or hex and instantly see all four representations side by side. Useful when reading ARM disassembly where operands are hex but your bitmask logic is in binary: entering 0xFF immediately shows 11111111, 377, and 255 at once. Showing all four bases simultaneously without switching modes is what separates this from single-direction converters.
Try it now — free, instant, no signup
What is Number Base Converter?
Number Base Converter accepts an integer in any of the four common positional notation systems — base 2, 8, 10, or 16 — and displays the equivalent value in all four bases at the same time. Type 255 in the decimal field and 0xFF, 0377, and 11111111 appear immediately, letting you cross-reference without a second lookup.
Most developers reach for this instead of manually running parseInt() and toString() in a browser console, or opening RapidTables for a one-off conversion. It is faster than Python's bin()/oct()/hex() trio when you need all four results and don't have a terminal open, and it avoids the mental overhead of remembering that Python's oct() prefixes 0o while C traditionally uses 0.
One practical gotcha: the tool converts integers only. Floating-point values in other bases — such as IEEE 754 binary fractions — are out of scope, and entering a decimal point will produce unexpected results or an error. JavaScript's parseInt() underlying most browser-based converters also silently drops the fractional part rather than warning you, so if you type 10.5 expecting base-2 output for 10.5₁₀, you will get the conversion of 10 instead.