Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal bases.
Binarybase 2
-
Octalbase 8
-
Decimalbase 10
-
Hexadecimalbase 16
-
How to Use Number Base Converter
- 1Select the input number base: binary, octal, decimal, or hexadecimal.
- 2Enter the number you want to convert.
- 3View the number converted to all other bases simultaneously.
- 4Copy any converted value with one click.
Zenovay
Privacy-first analytics for your website
Understand your visitors without invasive tracking. GDPR compliant, lightweight, and powerful.
Related Tools
Color ConverterConvert colors between HEX, RGB, HSL, and CMYK formats. Live preview with color picker.
Unit ConverterConvert between units of length, weight, temperature, area, volume, speed, and more.
Unix Timestamp ConverterConvert between Unix timestamps and human-readable dates. Show ISO 8601, UTC, local time, and relative time.
YAML to JSON ConverterConvert between YAML and JSON formats. Handles nested objects, arrays, strings, numbers, and booleans.
Frequently Asked Questions
What number bases are supported?▾
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter a value in any base and see the result in all other bases simultaneously.
How does the conversion work?▾
The tool parses the input in the selected base, converts it to a JavaScript number (decimal), then outputs it in all four bases. For hexadecimal output, letters are displayed in uppercase.
Is there a size limit for numbers?▾
The tool supports numbers up to JavaScript's safe integer limit (2^53 - 1). For very large numbers, results may lose precision.
Can I convert negative numbers?▾
Negative numbers are supported for decimal input. Binary, octal, and hex inputs are treated as unsigned.
Is my data processed locally?▾
Yes, all conversions happen entirely in your browser. No data is sent to any server.
When should I use a number base converter?▾
Use it when working with low-level programming, reading memory addresses (hex), analyzing binary protocols, debugging bitwise operations, or understanding file permissions in octal.
Can I copy the converted values?▾
Yes. Each output format has a copy button that copies the value with its standard prefix (0b for binary, 0o for octal, 0x for hex) to your clipboard.