Decimal 转 Binary
把 Decimal 值转成 Binary,做 register dump、位掩码、抓包分析、协议调试都用得上,全程在浏览器里完成。
Non-negative integers. Underscores and spaces are ignored.
Bits update live. You can also paste binary here to convert back.
Convert any non-negative decimal integer into its base-2 binary representation. Useful when you need to read register values, debug bitmasks, prepare exam answers, or design embedded firmware.
Binary is the native language of CPUs, network protocols, and bit flags. Reading the binary form helps you reason about which bits are set, what masks will match, and how integer values map to hardware registers.
Does this support very large decimal numbers?
Yes. Conversion uses BigInt, so numbers far beyond 2^53 are accurate.
Can I paste binary instead?
Yes. Type binary digits in the Binary field and the decimal value updates live.
Are negative numbers supported?
No. Use a hex or two's complement workflow for signed values.