html69// developer tools

Encoding tool

Number Base Converter

Convert decimal to binary, hex to decimal, decimal to hex, and octal in one place. All four boxes stay in sync. The math runs on your computer. We never see what you type.

Like the tool? Find a bug?Get in touch :)

Converter

Type in any box. The other three update together. Large whole numbers stay exact, including values past 64-bit.

Runs on your computer. We never see what you paste or upload.

Guide

How this decimal to binary converter works

01

Type in any base

Decimal uses 0-9. Hex uses 0-9 and A-F. Binary uses 0 and 1. Octal uses 0-7. Spaces, underscores, and a matching prefix (0x, 0b, 0o) are ignored, so pasted code still converts.

02

The other boxes follow

Each valid keystroke rewrites the other three values. A hex to decimal calculator and a decimal to hex converter are the same page: start in whichever box you already have.

03

Bits and bytes

Under the boxes you get the bit length, the byte count, and whether the value fits in 8, 16, 32, or 64 bits. Binary is also grouped by 4, and hex by 2, so a byte is easy to see.

Use it

Large numbers stay exact

Ordinary calculator math rounds integers past about 15 digits. This page keeps every digit, including the full 64-bit maximum 18446744073709551615 and values wider than that. Negative numbers are allowed. The result is the same magnitude with a minus sign, not a two's complement bit pattern.

FAQ

Questions

Does this upload my numbers?

No. Conversion runs in this tab, on your computer. We never see what you type.

How do I convert hex to decimal?

Type the hex value in Hexadecimal. Decimal updates immediately. Uppercase and lowercase both work. A leading 0x is optional.

How do I convert decimal to binary?

Type the decimal value in Decimal. Binary fills in with 0s and 1s. The grouped line under the boxes splits those bits into fours so you can read nibbles.

What about numbers bigger than 64-bit?

They still convert. The size line says when a value is wider than unsigned or signed 64-bit. Copy still gives the full digits, not a rounded estimate.

Is there a size limit?

Each box accepts up to 4,096 characters. That is far beyond a 64-bit integer and still small enough to keep the page responsive.

Share