Convert between number bases
Convert a number between binary, octal, decimal, and hex instantly, with arbitrary-precision accuracy.
Conversions run in your browser. Nothing is uploaded to our servers.
Fullscreen
Input base
Value
01
Pick the input base
Binary, octal, decimal, or hex. Whichever your number is already in.
02
Type the value
All four bases update live as you type.
03
Copy what you need
Click any row to copy that value.
Frequently asked
Is my input sent anywhere?
No. Conversion is plain arithmetic, done in this tab. Nothing is sent anywhere.
Is there a size limit?
No. This uses arbitrary-precision integers (BigInt), so it stays exact even well past the point a regular JavaScript number would start losing precision.
Can I convert negative numbers?
Yes. Put a minus sign in front of the value.
Does this work offline?
Yes, once the page has loaded.