Real-time conversion
Output updates on every keystroke. No submit buttons, no waiting, no page reloads.
UTF-8 · Emoji-safe · Offline-ready
Last updated:
100% Free, Private & Instant Text to Binary, Octal, Decimal & Hexadecimal Converter.
Conversion mode
Delimiter / separator
0b
| Char | Unicode | Bytes | Binary | Hex | Dec |
|---|
Type some text to see how each character is encoded.
Everything runs locally in your browser. Your text is never uploaded, stored or logged.
Output updates on every keystroke. No submit buttons, no waiting, no page reloads.
Emojis, accents, Cyrillic, CJK and symbols are encoded as proper multi-byte UTF-8 sequences.
Binary, octal, decimal and hexadecimal with custom delimiters and 0b / 0o / 0x prefixes.
100% client-side JavaScript. Works offline and never sends your data anywhere.
Example: Hi → 01001000 01101001
Decoding reverses the process. The tool removes prefixes such as 0b, splits the input into bytes using spaces, commas, new lines or your custom delimiter — or into fixed 8-bit chunks when there is no delimiter — and converts each byte from base 2 to a value between 0 and 255.
The resulting byte sequence is decoded as UTF-8, so multi-byte characters like é (2 bytes) or 😀 (4 bytes) are rebuilt correctly. Invalid digits or broken byte sequences are flagged in the status bar.
All four are positional number systems; they differ only in their base — how many digits they use before carrying over. Computers store everything as binary, while octal and hexadecimal are compact shorthands that map cleanly onto groups of bits.
| System | Base | Digits | Digits per byte | Letter “A” | Prefix |
|---|---|---|---|---|---|
| Binary | 2 | 0–1 | 8 | 01000001 | 0b |
| Octal | 8 | 0–7 | 3 | 101 | 0o |
| Decimal | 10 | 0–9 | 1–3 | 65 | — |
| Hexadecimal | 16 | 0–9, A–F | 2 | 41 | 0x |
Common printable characters and their binary, octal, decimal and hexadecimal values. Click any row to send the character to the converter.
| Char | Binary | Octal | Decimal | Hex |
|---|
65 = 64 + 1 = 2⁶ + 2⁰ → 01000001
Each byte value is the sum of its digits times powers of the base, then the bytes are read back as UTF-8:
value = Σ dᵢ × baseⁱ
01101001₂ = 64 + 32 + 8 + 1 = 105 = “i”
4A₁₆ = 4×16 + 10 = 74 = “J”
150₈ = 1×64 + 5×8 + 0 = 104 = “h”
Other 100% browser-based utilities that pair well with Binary Translator.
Choose the Text ↔ Binary mode, make sure the direction is Text → Binary, and type or paste your text in the input box. Each character is encoded to UTF-8 bytes and every byte is shown as an 8-bit binary number, for example “Hi” becomes 01001000 01101001. The conversion happens instantly in your browser.
The binary input is split into bytes (by your delimiter, or into 8-bit chunks if there is no delimiter). Each byte is converted from base 2 to a number from 0 to 255, and the resulting byte sequence is decoded as UTF-8 text. Multi-byte sequences are recombined into characters such as accented letters and emojis.
They are number systems with different bases. Binary (base 2) uses the digits 0 and 1, octal (base 8) uses 0–7, decimal (base 10) uses 0–9, and hexadecimal (base 16) uses 0–9 and A–F. One byte can be written as 8 binary digits, 3 octal digits, up to 3 decimal digits, or 2 hex digits — for example the letter A is 01000001, 101, 65 or 41.
Yes. Binary Translator uses UTF-8 encoding, so emojis, accented letters, Cyrillic, Chinese and other symbols are converted correctly. An emoji such as 😀 takes 4 bytes, which is 32 bits of binary.
No. All encoding and decoding runs locally in your web browser with JavaScript. Nothing you type is sent, stored or logged, and the tool works offline once loaded.
They are notation prefixes used in programming languages to mark the base of a number: 0b for binary, 0o for octal and 0x for hexadecimal. Enable the Prefix toggle to add them to every byte, for example 0x48 0x69. When decoding, prefixes are removed automatically.
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.
UTF-8 uses a different number of bytes depending on the character, which is why the Bytes and Bits counters often grow faster than the Characters counter.
| Characters | Example | UTF-8 bytes | Bits |
|---|---|---|---|
| English letters, digits, basic punctuation (ASCII) | A, 7, ? | 1 | 8 |
| Accented Latin, Greek, Cyrillic, Hebrew, Arabic | é, Ж, Ω | 2 | 16 |
| Most Chinese, Japanese and Korean characters, many symbols | 中, あ, €, ✓ | 3 | 24 |
| Emoji and rare historic scripts | 😀 | 4 | 32 |
Some emoji are built from several code points. A thumbs-up with a skin tone is two code points (8 bytes), and a country flag is two regional-indicator symbols (also 8 bytes). The Code points counter shows when this happens.
A few regularities in ASCII let you decode short messages almost by eye:
01000001 and a is 01100001; only the third bit from the left (value 32) changes. Every capital letter starts with 010 and every lowercase letter with 011.00001 is A or a, 00010 is B or b, up to 11010 for Z or z (26).0011. The character "7" is 00110111, and its last four bits, 0111, are the number 7.00100000 (decimal 32, hex 20), which helps you spot word breaks in long strings.Worked example: 01000011 01100001 01100010. The first byte starts with 010, so it is a capital; 00011 = 3, the third letter, C. The next two start with 011, so they are lowercase; 00001 = a and 00010 = b. The word is Cab. The ASCII Table lists every value if you want to check.
1000001 (7 bits). With a space delimiter, each group is still read as one value. Without a delimiter, the input is cut into fixed 8-bit chunks, so 7-bit groups shift everything and produce gibberish. Add separators or pad each group to 8 digits.11111111 meaning 255, use the Binary to Decimal converter instead of decoding it as text.Yes. Type the name in Encode mode and copy the result; each letter becomes 8 bits. Check the output carefully letter by letter, since a single flipped digit changes the character.
Some tools use UTF-16 or older 8-bit encodings instead of UTF-8, or drop leading zeros. Plain English letters usually match, but accented letters and emoji differ between encodings.
No. Binary, octal and hex are just different ways to write the same bytes, and anyone can reverse them instantly. Use real encryption if the content needs to stay private.