Number Base Converter
Converters
100% in-browser
Convert a number between binary, octal, decimal and hexadecimal — type in any field.
How to use the Number Base Converter
- 1 Type a number in any of the four fields.
- 2 The other bases update instantly.
- 3 Copy the value you need.
About the Number Base Converter
Programmers constantly switch between decimal, hexadecimal (colors, memory), binary (bitmasks) and octal (permissions). This converter keeps all four in sync as you type.
All conversion is done locally in your browser.
Frequently asked questions
Which bases are supported?
Binary (2), octal (8), decimal (10) and hexadecimal (16).
Does it handle large numbers?
It handles standard JavaScript integer precision (up to 2^53).