Any-Base Converter
Resultado
Value in every base (2-36)

Conversor de Qualquer Base

Convert a number between binary, octal, decimal, hex and any base from 2 to 36, with every base shown at once on the right.

It uses big-integer math, so even very long numbers keep full precision; input may carry 0x / 0b / 0o prefixes, and "Auto-detect" infers the source base from the prefix and characters.

Features

How to use

  1. Enter a value on the left (e.g. 255, 0xFF, 0b1010, 1f).
  2. Choose the source base (leave Auto-detect if unsure) and the target base.
  3. The converted value shows on the left; every base 2-36 is listed on the right.

FAQ

Why is big-number conversion exact?

Plain math uses floats and loses precision past 2^53; here every digit is processed with big-integer arithmetic, so the result is exact.

How does Auto-detect decide the base?

0x means hex, 0b binary, 0o octal; all-digit input is decimal; input with a-f but no prefix is treated as hex.

Are fractions supported?

Only integers for now; fractional base conversion is error-prone and rarely needed.

Related tools & reading

Feedback

Este site é apenas front-end: sem backend nem contas. O feedback vai para GitHub Issues, Discussions ou e-mail.

Cole isso no issue ou e-mail para me ajudar a localizar o problema; não inclui nada do que você digitou

Also: Ver feedback existente · Feedback por e-mail (sem conta GitHub):278975598@qq.com