Binary Converter
Enter a binary number of any length and see it in decimal, hexadecimal and octal at once. Large values stay exact, and the bit-grouping panel shows nibbles, bytes and the two's-complement pattern for negative numbers.
How to use the Binary Converter
- Type a binary number (0s and 1s, optional 0b prefix).
- Read the decimal, octal and hexadecimal values.
- Check the bit grouping in nibbles and bytes.
- Switch the input base to convert from another system.
Features
- Exact conversion of very large numbers
- All four bases shown together
- Nibble (4-bit) and byte (8-bit) grouping
- Two's complement for negative values
- Digit validation with a clear error
Benefits
- Check bit masks and register values while coding
- Study number systems for computing courses
- Copy any base with one click
Frequently asked questions
Is there a size limit?
Inputs can be up to 4,096 digits. Calculations use arbitrary-precision integers, so there is no rounding.
How are negative numbers shown?
With a minus sign in every base. For binary, the tool also shows the two's-complement bit pattern at the smallest standard width (8, 16, 32 or 64 bits…).
Can I paste spaced binary like 1010 1100?
Yes. Spaces and underscores are ignored, and a 0b prefix is accepted.
Related tools
- Pixel Converter — Convert px to pt, em, rem, %, inches, cm and mm at any DPI, with adjustable root and parent font sizes.
- Volume Converter — Convert litres, millilitres, cubic metres, US and UK gallons, pints, cups, fluid ounces and spoons accurately.
- Unit Converter — Convert length, weight, temperature, area, volume, speed, time, data, pressure and energy units on one page.
- Length Converter — Convert between millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles.
- Weight Converter — Convert kilograms, grams, pounds, ounces, stones, tonnes, carats and grains with exact international factors.
- Temperature Converter — Convert temperatures between Celsius, Fahrenheit, Kelvin and Rankine using the correct offset formulas.