ToolCabana

Conversor de bases numéricas

Converte números inteiros entre as bases 2 e 36.

Favorites are saved in this browser. Find them in My favorites.

Conversor de bases numéricas

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Como usar Conversor de bases numéricas

The Number base converter takes a whole number written in one base and rewrites it in another base from 2 to 36, such as binary, octal, decimal or hexadecimal. It accepts up to 10,000 digits and a leading minus sign, uses exact big-integer arithmetic so long values do not lose precision, and reports any digit that is invalid for the source base.

  1. Digite ou cole sua fonte, ou carregue um exemplo.
  2. Altere as configurações básicas ou abra o modo avançado para refinar o resultado.
  3. Revise e copie ou baixe seu resultado. Pause os resultados ao vivo para executar manualmente. Fontes ou configurações individuais acima de 20,000 caracteres exigem uma execução explícita.

O que esta ferramenta suporta

Converte números inteiros entre as bases 2 e 36.

Base de origem
Range: 2 to 36
Base de destino
Range: 2 to 36

Limites e processamento

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.

Fonte de exemplo
255

Perguntas frequentes

How do I convert decimal to hexadecimal?

Enter the decimal number, set Source base to 10 and Destination base to 16. For example, 255 becomes ff. Letters in the output are lowercase, and digits above 9 use a to z for bases up to 36.

Can I convert very large binary numbers?

Yes. The converter uses big-integer arithmetic instead of floating-point numbers, so it can convert whole numbers of up to 10,000 digits without rounding. It does not accept fractions or decimal points.

Why does it say a digit is not valid in my base?

Each base only allows digits lower than the base. Binary allows 0 and 1, octal allows 0 to 7, and hexadecimal allows 0 to 9 and a to f. The error names the first digit that does not fit the source base.

Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

Quais são os limites de entrada?

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.