RevealTheme logo

Konwerter z systemu dziesiętnego na binarny

Konwertuj liczby dziesiętne na binarne, szesnastkowe i ósemkowe – wszystkie systemy naraz.

Jak korzystać z tego narzędzia

  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.

Czym jest konwerter z systemu dziesiętnego na binarny?

Każdy system liczbowy jest przydatny w innym kontekście. System dziesiętny jest łatwy dla ludzi. System binarny pokazuje rzeczywiste bity przechowywane w pamięci. System szesnastkowy to zwięzła reprezentacja bajtów. System ósemkowy używany jest głównie do uprawnień plików w systemie Unix. Konwersja między nimi to stałe zadanie programistów; to narzędzie wykonuje wszystkie trzy naraz.

Typowe przypadki użycia

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

Powiązane narzędzia