Runs locally — nothing is uploaded
Result
Nothing yet — enter data or press Example.
How to use
- 1Enter a number; the prefixes 0x, 0b and 0o are recognised.
- 2Choose the base it is written in.
- 3Click any result to copy it.
Up to 10,000 digits. The conversion uses BigInt, so there is no rounding as with ordinary JavaScript numbers above 2^53.
The way processors store negative integers: −1 in 8 bits is 0xFF. For negative input the tool shows the smallest standard width (8 to 128 bits) that holds it.
No, whole numbers only. Fractions often have no finite form in another base: 0.1 repeats forever in binary.
Related tools
Subnet calculatorCIDR, netmask, host range and subnets
Cron expression parserExplain cron schedules and see the next runs
JWT decoderDecode JWT header, payload and expiry
Unix timestamp converterEpoch time to date, and date to epoch
HTTP status codesSearchable list of all HTTP status codes
MIME types listFind the Content-Type for a file extension
Infrastructure headaches?
Tell us about your stack — we reply within one business day.