Binary Code Converter
Convert between binary, decimal, hexadecimal and text. Live, accurate, and easy to share.
Input
Accepts 0 and 1 only. Spaces and line breaks are ignored unless you choose to preserve spacing below.
Accepts integers separated by spaces or commas.
Accepts 0–9 and A–F. Spaces and commas are allowed.
UTF-8 text will be converted byte by byte.
Binary
Decimal
Hex
Text
Binary, decimal, hex, and text explained
Computers store data as bytes. A byte is eight bits. Each bit is either 0 or 1. When you see binary written in groups of eight, you are looking at the raw shape of a byte. Decimal is the human-friendly way to write the same values, 0 to 255. Hexadecimal is a compact base-16 format used widely in computing and networking.
Binary
Binary is base 2. Each position doubles in value from right to left. Grouping by 8 bits helps you see each byte clearly. For example 01100001 is the lowercase letter a.
Decimal
Decimal lists the numeric value of each byte. Separate bytes with spaces or commas. It is useful for data sheets and quick checks.
Hex
Hex is base 16. Two hex characters represent one byte. 0x41 is 65 in decimal, which is A in ASCII. Hex is concise and easy to scan.
Text
Text is converted using UTF-8. Basic Latin characters map neatly to one byte. Accented characters and emoji take more bytes, so the binary and hex output will be longer.
Tips
- Choose grouping by 8 bits for clean byte boundaries.
- Use uppercase hex when comparing with documentation that expects capitals.
- If your input includes spaces as separators, tick preserve spaces to keep them.
Copy a shareable link to keep your current settings. It is useful for handing an example to a colleague or dropping into a forum post.