Calculators & Converters · runs locally
Number Base Converter
Convert between binary, octal, decimal, hexadecimal and any base from 2 to 36.
Loading the number base converter…
The tool runs locally in your browser.
Read the same number four ways
Debugging bitmasks, checking a hex colour, reading a memory dump — every one of them is a base conversion problem. Enter a value once and see it in every representation at the same time.
What you can do
- Convert binary, octal, decimal and hexadecimal
- Support for any base from 2 to 36
- Live conversion as you type
- Copy any representation
How to use it
- Type the number in whichever base you have.
- Read the other bases instantly.
- Copy the one your code needs.
Privacy
Conversion is local arithmetic — useful when the value comes from logs or internal systems.
Frequently asked questions
How do I enter a hex value?
Type it in the hex field, with or without the 0x prefix.
Which digits count in base 36?
Digits 0-9 and letters a-z.
Can it handle very large values?
It uses precise integer handling for reasonable sizes; beyond that, precision is limited by the language.