Conversor de Bases Numéricas
Ingresa un número en binario, octal, decimal o hexadecimal y ve cómo se actualizan todas las representaciones con precisión BigInt.
Entrada
Resultados
- BIN
- 11111111
- OCT
- 377
- DEC
- 255
- HEX
- FF
How to convert number bases
Convert integers between binary, octal, decimal, and hexadecimal, including large values that need BigInt precision.
Accepted input
Choose the base of the number you are entering. Spaces and underscores are ignored, optional 0b, 0o, and 0x prefixes are accepted, and negative integers keep their sign.
Output formats
The result panel shows the same integer in BIN, OCT, DEC, and HEX. Hexadecimal output uses uppercase A-F for readability.
What it does not handle
- Fractional values or decimal points.
- Scientific notation such as 1e6.
- Two's-complement width calculations for signed binary storage.
Conversion notes
The converter treats input as an integer value, not as a fixed-width memory representation. Add your own byte width when you need two's-complement interpretation.
Preguntas frecuentes
Can I paste 0xFF or 0b1010?
Yes. Prefixes such as 0x, 0o, and 0b are stripped after the sign, as long as the selected input base matches the digits.
Why is my number rejected?
At least one digit is outside the selected base, such as 2 in binary or G in hexadecimal.
Does it support very large integers?
Yes. The conversion uses BigInt, so values larger than JavaScript's normal safe integer range remain precise.
Does it convert fractions?
No. This tool is for whole integers only.
