RevealTheme logo

مبدل دهدهی به دودویی

اعداد دهدهی را به دودویی، هگزادسیمال و اکتال تبدیل کنید، همه مبناها به‌طور همزمان.

نحوه استفاده از این ابزار

  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.

مبدل دهدهی به دودویی چیست؟

هر مبنا در زمینه‌های متفاوتی مفید است. دهدهی برای انسان‌ها آسان است. دودویی بیت‌های واقعی ذخیره‌شده در حافظه را نشان می‌دهد. هگزادسیمال نمایشی فشرده از بایت‌ها است. اکتال بیشتر برای مجوزهای فایل در یونیکس استفاده می‌شود. تبدیل میان آن‌ها کاری همیشگی برای توسعه‌دهندگان است؛ این ابزار هر سه را به‌طور همزمان انجام می‌دهد.

موارد استفاده رایج

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

ابزارهای مرتبط