Free & Private Online Browser Utility
Binary, Hex, Decimal & Octal Converter Free
Convert numbers across any radix base from base-2 to base-36 directly in your browser. Convert between binary, octal, decimal, hexadecimal, and custom bases with real-time bidirectional calculations. The engine uses JavaScript BigInt arithmetic to handle large multi-byte registers without floating-point truncation, making it suitable for systems programming, low-level debugging, and embedded development.
How to use
-
Step 1: Select Input Base
Choose Binary (base 2), Octal (base 8), Decimal (base 10), Hexadecimal (base 16), or custom radix.
-
Step 2: Enter Number String
Type your number; illegal digits for the selected base are rejected in real time.
-
Step 3: Copy Converted Formats
Read converted values across all standard bases and copy the required representation.
Worked example
Input: Decimal: 255
Output: Binary: 11111111 | Hex: FF | Octal: 377
Computed using BigInt.toString(radix) with input validation against active base.
Tips & limits
- Each hexadecimal digit corresponds to exactly 4 binary bits (one nibble): 0xF = 1111.
- Hexadecimal prefixes conventionally use '0x', while binary uses '0b' and octal uses '0o' in code.
- Arbitrary-precision BigInt arithmetic avoids precision loss when working with large 64-bit integer masks.
Common problems
- Character rejected in binary mode
Binary accepts digits 0 and 1 only; switch to Hexadecimal if your input contains digits 2-9 or letters A-F.
- Hexadecimal output shows lowercase letters
Use the Uppercase toggle to format hex digits in uppercase (e.g., 0xFF rather than 0xff).
Frequently Asked Questions (FAQ)
What is the maximum number base supported?
The converter supports bases from base-2 (binary) up to base-36, utilizing digits 0–9 and letters A–Z.
How many bits can this tool convert without rounding?
By using native BigInt registers, the tool can convert numbers hundreds of bits long without precision degradation.
Is any data sent to external servers?
No. All base conversions and string formatting execute purely in local browser memory.