RevealTheme logo

Decimaal-naar-binair-converter

Converteer decimale getallen naar binair, hexadecimaal en octaal, alle talstelsels tegelijk.

Hoe u deze tool gebruikt

  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.

Wat is de decimaal-naar-binair-converter?

Elk talstelsel is nuttig in verschillende contexten. Decimaal is gemakkelijk voor mensen. Binair toont de werkelijke bits die in het geheugen zijn opgeslagen. Hexadecimaal is een compacte weergave van bytes. Octaal wordt vooral gebruikt voor de bestandsrechten in Unix. Tussen deze stelsels converteren is een terugkerende taak voor ontwikkelaars; deze tool doet alle drie tegelijk.

Veelvoorkomende toepassingen

  • 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.

Gerelateerde tools