Examples
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 10 | 1010 | 12 | A |
| 255 | 11111111 | 377 | FF |
| 4096 | 1000000000000 | 10000 | 1000 |
Features
- Input in base 2, 8, 10, 16, 32 or 36; prefixes like 0x, 0b and 0o are accepted.
- Arbitrary precision with BigInt — no rounding errors, even for 100-digit numbers.
- An extra target base of your choice (2–36).
- Bit and byte length of the number.
Frequently asked questions
Does it support negative numbers?
Yes, a leading minus sign is kept in every base.
Does it support fractions?
No, it converts whole numbers (integers).
Why is hex used in programming?
One hex digit is exactly four bits, so bytes (two hex digits) are easy to read.

