Handytool
DeveloperFreeRuns locally

Number Base Converter

Convert between binary, octal, decimal, and hexadecimal simultaneously — plus any custom base 2–36 — with big-integer support, negatives, and digit grouping.

Conversions run locally in your browser with exact big-integer math.

About the Number Base Converter

This number base converter keeps binary, octal, decimal, and hexadecimal fields synchronized — type into any one and the rest update live. Add a custom base from 2 to 36 for anything from base-3 to base-36, toggle readable digit grouping, and work with arbitrarily large values thanks to native BigInt support, including negative numbers. It's a fast, precise radix converter that runs entirely in your browser with no rounding surprises.

Number Base Converter features

  • 01

    Four bases, live-synced

    Binary, octal, decimal, and hex are always in agreement. Edit whichever base your data is in and read off the others instantly — no round-tripping through decimal by hand.

  • 02

    Big integers, no overflow

    Powered by BigInt, so 64-bit values, hashes, and huge numbers convert exactly without the precision loss floating-point calculators suffer past 2^53.

  • 03

    Custom base and grouping

    Pick any base 2–36 for the custom field, and toggle digit grouping (nibbles for binary and hex, threes for decimal) to keep long values readable. Negative numbers are supported too.

Number Base Converter FAQ

How do I convert binary to decimal?
Type your binary digits into the binary field and the decimal value appears immediately, along with octal and hexadecimal. Editing any field updates all the others, so the conversion works in every direction.
Can it convert very large numbers?
Yes. The converter uses JavaScript BigInt, so numbers far beyond 2^53 — like 64-bit integers or long hashes — convert exactly with no rounding, unlike calculators built on floating-point math.
What bases are supported?
Binary (2), octal (8), decimal (10), and hexadecimal (16) have dedicated fields, plus a custom field for any base from 2 to 36 using digits 0–9 and letters a–z.
Does it handle negative numbers?
Yes — put a minus sign in front and the negative value is carried through every base. Note this is signed magnitude, not two's-complement, so it shows -1010 rather than a fixed-width complement form.
What is digit grouping?
It inserts spaces to make long numbers readable — binary and hex are grouped in fours (nibbles) and decimal in threes. Toggle it off if you need an unspaced value to copy elsewhere.

Related tools

Developer

Explore other tools

All tools