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”.
| Decimal | Binary | Hex |
|---|---|---|
| 10 | 1010 | A |
| 255 | 11111111 | FF |
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).