Binary / Hex / Decimal Converter

Convert numbers between binary, octal, decimal and hexadecimal.

Source base

Supports 0b, 0o and 0x prefixes on input regardless of the selected base. Negative values and values up to JavaScript's safe integer limit (253−1) are supported.

How to use Binary / Hex / Decimal Converter

Enter a value, choose the source base, then click Convert.

About this tool

Enter a value in any base and see its representation in binary, octal, decimal, and hexadecimal simultaneously. Accepts 0b, 0o and 0x prefixes.

Related tools