Number Base Converter
Convert numbers between binary, octal, decimal, hex, and any base from 2 to 36 with live updates. Signed two's complement and bit-length selector included.
Quick Reference (0–15)
| Dec | Bin | Oct | Hex |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
How to use Number Base Converter
-
Type a value in any field
Enter a number into the binary, octal, decimal, hex, or custom-base field. All other representations update instantly.
-
Select bit length (optional)
Choose 8, 16, 32, or 64-bit for hardware-accurate representations, especially for signed mode.
-
Toggle signed mode for negatives
Enable signed mode to see two's complement representation of negative numbers.
-
Enter a custom base
Type any base from 2 to 36 into the custom base field to convert to and from less common number systems.
-
Copy any result
Click the copy button next to any field to copy that representation to your clipboard.
Number Base Converter FAQ
How do I convert binary to decimal?
How do I convert decimal to hexadecimal?
How do I convert binary to hexadecimal?
What is two's complement?
What bases are supported?
What is hex used for in programming?
What is octal used for?
How does nibble grouping help?
Can I convert negative numbers?
Is any data sent to a server?
Background
Convert numbers instantly across all common bases and any custom base from 2 to 36. Type a value into any field — binary, octal, decimal, hexadecimal, or a custom base — and every other field updates in real time. Binary output is grouped into nibbles (4-bit groups) for easy reading. Toggle signed mode for two's complement representation of negative integers, and select bit length (8, 16, 32, 64) for accurate hardware-level results. Programmers use hex for memory addresses and color codes; binary for bitwise operations; octal in Unix file permissions. This tool supports all those use cases plus bases used in specialty contexts like base-36 (alphanumeric). Copy any result with a single click. All processing runs in your browser — nothing is sent to a server, no account needed.
Related tools
Scientific Calculator
A full-featured scientific calculator with trigonometry, logarithms, exponents, roots, memory functions, and calculation history. Full keyboard support.
Roman Numeral Converter
Convert numbers to Roman numerals and back instantly. Supports 1–3999, batch conversion, year mode, and a subtractive notation reference table.
Prime Number Tools
Check if a number is prime, find prime factorization, list all primes in a range using the Sieve of Eratosthenes, or find the Nth prime.
Percentage Calculator
Calculate X% of Y, find what percentage X is of Y, or compute percentage increase and decrease. Results update as you type.
GCD & LCM Calculator
Find the GCD and LCM of up to 10 numbers at once with step-by-step Euclidean algorithm and prime factorization methods.