Loading...
Loading...
We use cookies to enhance your experience, analyze site usage, and serve personalized content. By clicking "Accept All," you consent to our use of cookies. See our Cookie Policy and Privacy Policy for details.
Convert numbers between binary, octal, decimal, hexadecimal, and base36
25511111111377255ff7v733/Bit Length
8
ASCII Interpretation
.
Two's Complement (signed, 8-bit)
000000011. Parse input "255" in base-10
2. Convert to decimal: 255
3. Convert to Binary (base-2): 11111111
3. Convert to Octal (base-8): 377
3. Convert to Decimal (base-10): 255
3. Convert to Hexadecimal (base-16): ff
3. Convert to Base-32: 7v
3. Convert to Base-36: 73
3. Convert to Base-64: 3/
Converts numbers between any two bases from binary (base-2) to base-64 with arbitrary precision using JavaScript BigInt. Features include auto-detection of common prefixes (0b, 0o, 0x), two's complement representation for negative numbers, ASCII interpretation showing what bytes the number represents as characters, step-by-step conversion showing the division algorithm, and support for fractional input with configurable precision.
Developers frequently need to convert between number bases for low-level data, bit manipulation, memory addresses, or network protocols. A single tool handling arbitrary bases, large numbers (BigInt), and signed representations eliminates context-switching between specialized calculators.
Systems programmers (Rust, C, C++) working with binary protocols, embedded engineers reading register values, security researchers analyzing memory dumps, computer science students, and web developers interpreting color codes or bitfields.
Enter your number — prefixes like 0b, 0o, 0x are auto-detected, or manually select input base
Select the output base from the dropdown (base-2 through base-64)
Toggle options: 'Show Steps', 'ASCII Interpretation', and 'Two's Complement' for signed negatives
Click 'Convert' or press Enter — result appears with step-by-step breakdown if enabled
For fractional numbers (e.g. 12.75), both integer and fractional parts are converted and combined
Copy the result or copy a specific step from the step list for documentation
Input: '0xFF' | To: Decimal | Auto-detect => Output: '255' (auto-detects 0x prefix)Input: '-42' | To: Binary 8-bit | Two's Complement ON => Output: '11010110'BigInt supports arbitrarily large integers limited only by memory.
The tool uses output base to determine bit width.
Yes, both integer and fractional parts are converted separately.
Groups the number into bytes and maps each to its ASCII character.
Convert JSON data to CSV format with advanced formatting options
Convert CSV data to JSON format with advanced parsing options
Generate TypeScript interfaces and types from JSON data
Convert Unix timestamps to human-readable dates and back
Dive deeper with our comprehensive guides and tutorials.