Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal — live, with every base shown at once.
Convert numbers between binary, octal, decimal and hexadecimal — live, with every base shown at once. Handles huge numbers with arbitrary precision and auto-detects 0x/0b/0o prefixes, so you can paste hex from code straight in.
How to use the Number Base Converter
- Type a number in any base (prefixes like 0x are auto-detected).
- Pick the input base or leave it on auto-detect.
- Read the value in binary, octal, decimal and hex at once.
Frequently asked questions
How do I convert binary to decimal?
Type the binary number, choose Binary as the input base, and read the decimal row — 1010 becomes 10.
How do I convert hex to decimal?
Paste the hex value (with or without 0x) and read the Decimal row instantly.
Can it handle 64-bit values?
Yes — conversions use arbitrary-precision integers, so values far beyond 64 bits convert exactly.
What does the Character row show?
The Unicode code point for the number, useful when decoding escapes like 0x1F600.