Free Tool

Number Base Converter

Convert between binary, octal, decimal, and hexadecimal in real-time. Supports BigInt, ASCII text, IEEE 754, and two's complement.

Number Base Conversion
Binary
Octal
Decimal
Hex
Bit Grouping (4-bit)
Enter a number above
ASCII ↔ Binary Converter
Text
Binary
Hex
Decimal (char codes)
IEEE 754 Floating Point
Number
32-bit Float (Single Precision)
Sign (1 bit) Exponent (8 bits) Mantissa (23 bits)
64-bit Double (Double Precision)
Sign (1 bit) Exponent (11 bits) Mantissa (52 bits)
Hex Representation
Two's Complement
Decimal
Bit Width
Binary (Two's Complement)
Hexadecimal
Range
Steps: For negative numbers, start with the positive binary, invert all bits, then add 1. The MSB (most significant bit) indicates the sign: 0 = positive, 1 = negative.
Founding Member

Get NexTool Pro

No banners, clean output, enhanced features on all 150+ tools. One-time payment.

$29 — Get Pro Browse 125+ Free Tools →

Frequently Asked Questions

How do I convert decimal to binary?

Divide the number by 2 repeatedly and collect the remainders from bottom to top. Or simply type a decimal number above and the binary appears instantly.

What is hexadecimal used for?

Hexadecimal (base-16) is widely used in programming for colors (#FF0000), memory addresses, MAC addresses, and compact byte representation.

What is two's complement?

Two's complement is the standard binary representation for signed integers. The highest bit is the sign bit. To negate: invert all bits and add 1.