Translate text into binary code (zeros and ones) and binary back into text, or use hexadecimal, octal and decimal bytes. Emoji and every alphabet work, because the text is read as UTF-8. There is also a converter for numbers between binary, octal, decimal and hex.
| Char | Unicode | Decimal | Hex bytes | Binary bytes |
|---|---|---|---|---|
| H | U+0048 | 72 | 48 | 01001000 |
| e | U+0065 | 101 | 65 | 01100101 |
| l | U+006C | 108 | 6C | 01101100 |
| l | U+006C | 108 | 6C | 01101100 |
| o | U+006F | 111 | 6F | 01101111 |
| , | U+002C | 44 | 2C | 00101100 |
| ␠ | U+0020 | 32 | 20 | 00100000 |
| w | U+0077 | 119 | 77 | 01110111 |
| o | U+006F | 111 | 6F | 01101111 |
| r | U+0072 | 114 | 72 | 01110010 |
| l | U+006C | 108 | 6C | 01101100 |
| d | U+0064 | 100 | 64 | 01100100 |
| ! | U+0021 | 33 | 21 | 00100001 |
Each group of 8 bits is one byte of the text in UTF-8. English letters take one byte; accented letters two; Arabic, Urdu and Hindi two or three; emoji four.
Translate text into binary code, the zeros and ones computers store, and binary back into readable text. The converter encodes text as UTF-8, the encoding the web uses, so accented letters, Arabic, Urdu, Chinese and emoji convert correctly, not just English letters. Besides binary you can use hexadecimal, octal or decimal bytes, choose what separates them and add 0b or 0x prefixes. When decoding, it accepts bytes separated by spaces, commas or new lines, or one long run of digits, tells you exactly which group is wrong, and suggests the right format if you pasted hex into the binary box. A character table shows each letter's Unicode code point and bytes, and a separate mode converts whole numbers of any size between binary, octal, decimal and hexadecimal.
Tip: If binary from a puzzle or a T-shirt decodes to nonsense, check the groups: each must be 8 digits. Groups of 7 come from old 7-bit ASCII and still work here when separated by spaces, but a missing digit shifts every byte after it.
Computers store text as numbers. Each character has a number in Unicode (A is 65, é is 233, the 😀 emoji is 128,512), and an encoding turns that number into bytes. UTF-8, used by almost every web page, stores English letters and digits in one byte, so A becomes 01000001. Accented Latin letters take two bytes, Arabic and Urdu letters two, Hindi and Chinese three, and emoji four.
Binary is base 2: each digit is a power of two. Reading 01000001 from the right, the 1s are worth 1 and 64, which adds up to 65, the code for A. A byte has 8 binary digits (bits), so it can hold 256 values, from 00000000 (0) to 11111111 (255).
The Number bases mode converts one whole number between the four systems, with no size limit: 255 is 1111 1111 in binary, 377 in octal and FF in hex. It also shows how many bits the number needs and how many bytes hold it, which helps when choosing an 8, 16, 32 or 64-bit field. Spaces, underscores and prefixes such as 0x and 0b are ignored when you paste a number.
Binary is how computers store everything, but people rarely write it by hand: it shows up in computer science lessons, puzzles, escape rooms, geocaches and messages on T-shirts and tattoos. Hexadecimal is far more common in practice, because two hex digits describe exactly one byte. You see it in colour codes (#FF5733 is three bytes: red 255, green 87, blue 51), in MAC addresses, in error codes, in file signatures (every PNG file starts with 89 50 4E 47) and in percent-encoded web addresses, where a space becomes %20.
Octal survives mainly in Unix and Linux file permissions: chmod 755 means read, write and run for the owner (7 = 111 in binary) and read and run for everyone else (5 = 101).
ASCII, from the 1960s, defined 128 characters: English letters, digits, punctuation and control codes, each fitting in 7 bits. Unicode extends this to over 150,000 characters for every writing system, plus symbols and emoji, and UTF-8 is the way of storing Unicode that keeps ASCII text byte-for-byte the same. That is why English text gives the same binary in ASCII and UTF-8 converters, while other languages only come out right in a converter that uses UTF-8, as this one does.
Binary hides nothing: anyone can decode it. Use encryption for real secrets.
A space is a character too: 00100000 in binary, 20 in hex.
A new line is 00001010 (10); Windows text adds 00001101 (13) before it.
Capital letters start 010, small letters 011: A is 01000001, a is 01100001.
Type the text in Text → binary. Each character becomes one or more 8-digit bytes, for example “Hi” becomes 01001000 01101001.
Paste the binary in Binary → text. Bytes can be separated by spaces or written as one long run of digits.
01101000 01100101 01101100 01101100 01101111.
Yes. Text is encoded as UTF-8, so every alphabet and emoji converts and decodes correctly.
Use Number bases, choose Binary (base 2) and type the number: 1010 is 10 in decimal.
No. The tool runs entirely in your browser, on your device. Nothing you type or make is uploaded, saved or logged.
Updated