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.
Open source

NexTool on GitHub

269 free tools. No signup. Open source. Built by Christian Bucher.

GitHub Browse 269 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.

Related Tools

CSS Box Shadow Generator · Emoji Picker & Search · Meta Tag Generator · Free Color Palette Generator · Favicon Generator

Related Tools

Free Icon Generator · Free Git Diff Viewer · HTTP Status Code Reference

Related Tools

Free Color Palette Generator · Free JSON to YAML Converter · Free ASCII Art Generator

Related Tools

Free JSON to YAML Converter · YAML to JSON Converter · Free CSS Gradient Generator