Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal, with exact results for arbitrarily large integers.
- Local calculation
- The result is calculated in your browser.
- Private by default
- Nothing you enter leaves your browser.
Binary
Octal
Decimal
Hexadecimal
How it works
Values are parsed into JavaScript BigInt, so even numbers far beyond 2^53 convert exactly. Prefixes such as 0x, 0b and 0o, underscores and spaces are accepted.
Related tools
Binary Translator
Translate text to binary and binary back to text, one 8-bit group per UTF-8 byte. Handy for learning and quick conversions.
ASCII Table
Full ASCII table with decimal, hexadecimal, octal and binary codes, control character names and quick search.
Color Picker and Converter
Pick a color and copy it as HEX, RGB or HSL, or paste a HEX value to convert it to the other formats instantly.