Number Base Converter

Last updated: Jan 5, 2025

Convert between binary, octal, decimal, and hexadecimal numbers with optional bit width control.

Number Base Converter

How it works

Simply enter your number in any base in the input field above, and the converter will automatically transform it to converted number. You can copy the result with one click or clear both fields to start over.

Examples

Convert binary to decimal

Input:101010 (base 2)
Output:42 (base 10)

Convert decimal to hex

Input:255 (base 10)
Output:FF (base 16)

Frequently Asked Questions