RevealTheme logo

Conversor de Decimal para Binário

Converta números decimais para binário, hexadecimal e octal, todas as bases de uma vez.

Como usar esta ferramenta

  1. 1

    Type or paste a decimal (base-10) whole number into the input box.

  2. 2

    Read the binary, hexadecimal (shown with a 0x prefix), and octal forms in the table that appears below.

  3. 3

    Change the number to convert a different value, or clear the box to hide the results.

  4. 4

    Copy any line of output you need straight from the table into your code or terminal.

O que é o Conversor de Decimal para Binário?

Cada base é útil em contextos distintos. O decimal é fácil para as pessoas. O binário mostra os bits reais armazenados na memória. O hexadecimal é uma representação compacta de bytes. O octal é usado sobretudo para as permissões de arquivos do Unix. Converter entre eles é uma tarefa constante para os desenvolvedores; esta ferramenta faz as três de uma vez.

Casos de uso comuns

  • Checking the binary pattern of a value while debugging bitmask or flag-based logic in your code.

  • Translating a decimal color or byte value into hex when writing CSS, HTML, or low-level data.

  • Working through computer-science homework on number bases and verifying your hand conversions.

  • Reading an octal Unix file-permission value such as 755 and seeing its binary bits.

  • Confirming what bits an embedded-systems register value sets before flashing firmware.

  • Quickly converting a network or protocol constant between decimal, hex, and octal during analysis.

Ferramentas relacionadas