Number Base Converter
Convert numbers between Binary, Octal, Decimal, and Hexadecimal in real time.
The Number Base Converter lets you instantly translate integers between the four most common numeral systems used in computing: binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Edit any field and all others update live.
Frequently Asked Questions
What number range is supported? +
The tool supports integers within JavaScript's safe integer range (up to 2^53 − 1). For very large numbers, consider a BigInt-based tool.
Are negative numbers supported? +
Yes — prefix your decimal input with a minus sign. The binary, octal, and hex representations will also carry the minus prefix.
Why is hex input case-insensitive? +
Hexadecimal digits A–F can appear in either case. The tool accepts both and always outputs uppercase hex for consistency.
Frequently Asked Questions
- Binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16).
Related Tools
Text to HEXEncode text as hexadecimalTimestamp ConverterUnix epoch ↔ datecURL to CodeConvert cURL to fetch / PythonColor ConverterHEX, RGB, HSL conversionColor PaletteGenerate color schemesUnit ConverterLength, weight, temperatureRoman NumeralsArabic ↔ Roman numeralsFile SizeBytes, KB, MB, GB converter