Real-time conversion
Output updates on every keystroke. No submit buttons, no waiting, no page reloads.
UTF-8 · Emoji-safe · Offline-ready
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 BinaryTranslator.
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. BinaryTranslator 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.