Skip to content
MewixMewix

Number base converter

Enter digits in field A, set source and target bases in From and To, then Calculate.

Updated by the Mewix team

Bases in the From and To boxes

Field A holds the digits to convert. From is the input radix and To is the output radix — common choices are 2, 8, 10, and 16. The engine calls parseInt(trimmed, from) then toString(to). Invalid digits for the source base yield “Invalid”.

DecimalBinaryHex
101010A
25511111111FF

Integers only

Fractions and scientific notation are not supported. Very large values follow JavaScript number precision limits after parsing.

Questions

Can I use base 36?

Yes, if both fields are valid radix integers JavaScript accepts (2 through 36 for parseInt).