Every computer stores information as binary — strings of 0s and 1s. This free binary converter turns binary into decimal numbers and readable text, and turns decimal numbers and text back into binary. Type a value, pick a direction and press Convert. Everything runs in your browser and nothing is saved or sent anywhere.
How to use this binary converter
Pick a conversion direction first: Binary to decimal, Decimal to binary, Binary to text, or Text to binary. Type your value in the box and press Convert — the answer appears straight away, with a short note explaining it. Press Swap direction to flip between the directions, and press Copy result to copy the answer. For Binary to text, type groups of 8 bits separated by spaces, such as 01001000 01101001.
How it works
Binary is base 2, so every digit is worth double the one to its right: 1, 2, 4, 8, 16, 32 and so on. To turn binary into decimal, add up the place values where the digit is 1 — so 1010 is 8 plus 2, which is 10. To go the other way, keep dividing the decimal number by 2 and read the remainders backwards — 42 divided by 2 leaves remainders that spell 101010. For text, every letter is stored as one 8-bit group: A is 01000001, and H followed by i is 01001000 01101001. This converter uses plain 8-bit letters (ASCII), which covers English letters, digits and common punctuation.
Worked example
Pick “Binary to decimal” and type 1010, then press Convert — the answer is 10, because 8 plus 2 is 10. Swap to “Decimal to binary”, type 42 and press Convert — the answer is 101010. Now pick “Text to binary”, type Hi and press Convert — the answer is 01001000 01101001. Paste that back in “Binary to text” mode and press Convert, and you get Hi again.
Frequently asked questions
What is binary?
Binary is a number system that uses only two digits, 0 and 1. Computers use it because their circuits have two states, on and off. Each binary digit is called a bit, and 8 bits make one byte, which stores a single letter, digit or symbol.
Why does each letter need 8 bits?
Eight bits can make 256 different patterns, which is enough for all English letters, digits and common punctuation. That is the ASCII standard: A is 01000001, a is 01100001, and 0 is 00110000. Longer text just uses more 8-bit groups, one per character.
What is the largest number I can convert?
The largest decimal number is 9007199254740991, which is 53 ones in binary. That limit keeps the maths exact in your browser. Binary inputs of any length are accepted for the text direction, as long as they form full 8-bit groups.
Is my data private here?
Yes. The conversion runs entirely in your browser. Nothing you type is uploaded, stored or sent to any server.
What other tools can I use?
Try our Base64 Encoder & Decoder for another way to encode text, the HEX to RGB Converter for colour codes, and the Unit Converter for lengths, weights and temperatures. See all of them on our tools page, use our free calculators, or return to the homepage.
Disclaimer: This converter uses plain 8-bit ASCII letters, so it covers English text, digits and common punctuation. Letters from other alphabets and emoji may not convert correctly. No personal data is collected or saved.