Number base converter — offline
Binary, octal, decimal, and hex — converted exactly with BigInt, on your device.
100% private — files never leave your device
Input base:
| Binary | 11111111 | |
| Octal | 377 | |
| Decimal | 255 | |
| Hexadecimal | ff |
How it works
- 1
Pick the base of your input number.
- 2
Type the number (0x/0b prefixes and _ separators are fine).
- 3
Copy any of the four representations.
Related tools
Frequently asked questions
Are my numbers processed on a server?
No — conversion happens in your browser using BigInt, so even numbers far beyond 64 bits convert exactly.
Which bases are supported?
Binary, octal, decimal, and hexadecimal. Prefixes (0b, 0o, 0x) and underscore separators are accepted on input.
Is there a size limit?
Practically no — BigInt handles arbitrarily large integers with exact precision.