Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Decimal to binary

Convert decimal numbers of any size to binary, with optional 4 bit grouping and the bit length shown.

Runs in your browserNothing uploadedWorks offline

Set up for this job. It runs on Number base converter, where every option is there to change.

Loading Decimal to binaryRuns on this device. Nothing is uploaded.

Questions

How is decimal turned into binary?

Keep dividing by 2 and note the remainders, then read them bottom to top. 42 gives 101010.

How many bits does my number need?

The page shows the bit length under the results. 255 needs 8 bits and 256 needs 9.

Can it convert huge numbers?

Yes. It uses BigInt, so numbers far beyond 2 to the power of 53 convert exactly.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.