Binary Converter
Type a number in binary, decimal or hex — get all three forms instantly, with the step-by-step conversion working shown.
| Binary | — |
| Decimal | — |
| Hexadecimal | — |
How to use it
Learning the method, not just the answer
Binary homework is really about the method: repeated division by 2 one way, place values (1, 2, 4, 8, 16…) the other. Most converters hide that and hand you digits — this one shows every division step or every place value for your number, so you can check your own working line by line. Hexadecimal tags along because it is how programmers actually read binary: one hex digit per nibble (4 bits), which is why the three forms sit side by side here.
Counting in twos: the only language computers speak natively
Every number in every computer is stored in binary — base two — because a switch has two states and a billion switches are still just switches. This converter translates between binary, decimal and hexadecimal, and it shows the step-by-step working rather than just the answer, because binary is one of those topics that is opaque until the place values click and trivial forever after: where decimal columns are worth 1, 10, 100, binary columns are worth 1, 2, 4, 8, 16 — doubling each step — and the number 1101 is simply 8 + 4 + 0 + 1 = 13, read off the columns that hold a 1.
The working matters because binary is a working tool, not a museum piece. Programmers meet it in bitmasks and permissions (the Unix 111101101 that chmod renders as 755), in network addresses and subnet masks, in the RGB colour channels that are each eight bits wide, and in every "why is the limit 255 / 65,535 / 2,147,483,647" question ever asked — those odd ceilings are binary numbers wearing decimal clothes: 2⁸−1, 2¹⁶−1, 2³¹−1. Seeing a decimal number's binary form, and watching it built column by column, is how those limits stop being trivia and become arithmetic you can predict.
Conversions are computed on your device, instantly, in both directions. Learn it here once and every system limit you ever meet reads like a signpost instead of a riddle.
Questions, answered
What is binary?
The number system computers use: only two digits, 0 and 1. Each position is a power of 2, so binary 101 means 1×4 + 0×2 + 1×1 = 5 in decimal.
How do you convert decimal to binary?
Divide by 2 repeatedly and note each remainder. The remainders, read from the last to the first, are the binary digits — the tool above shows every step of this for your number.
What is the biggest number this handles?
Whole numbers up to JavaScript's safe integer limit (about 9 quadrillion) — far beyond any homework or electronics exercise. For bigger values, dedicated arbitrary-precision tools exist.
Why do I see hexadecimal too?
Hex is base 16, and every hex digit is exactly 4 binary bits — programmers use it as a compact way to write binary. Seeing all three forms together makes the connection obvious.