Convert any text to binary (base 2), hexadecimal, octal and decimal character codes. Each character becomes its Unicode code point β the same numbers a computer stores.
Binary (8-bit per character)
Binary (8-bit per character): Hi
Hexadecimal
Hexadecimal: Hi
Decimal (character codes)
Decimal (character codes): Hi
Octal
Octal: Hi
Styled letters are Unicode characters, not fonts. Platform fields may reject some characters, and glyph appearance varies by device and app. Screen readers may announce styled letters individually and search engines may not match them to plain words, so test the result and keep essential details in plain text. Unicode accessibility guide
A binary translator shows how a computer represents your text. Every character has a number in the Unicode standard β "H" is 72 β and the binary translator writes that number in base 2 (01001000), base 16 (48), base 8 (110) or base 10 (72). For ordinary English letters the binary form is the same as ASCII, which is why "text to binary" and "ASCII to binary" give identical results.
The output is grouped one character at a time with spaces, so it is easy to read, decode by hand, or paste into a puzzle, a T-shirt design or a programming exercise.
Type or paste your text.
Copy the binary (or hex/decimal/octal) from the box you need.
To decode, split on spaces and convert each group back to a number, then to a character.
Computers store text as numbers. The Unicode standard assigns each character a code point: A is 65, a is 97, space is 32, and so on. Binary is just those numbers written in base 2 using only 0 and 1. Eight binary digits (one byte) can represent 0β255, which covers every ASCII character; characters above 255 (accented letters, symbols, emoji) produce longer groups, which this tool shows in full rather than truncating.
Binary is what hardware uses but it is long: one character takes eight digits. Hexadecimal packs the same information into two digits per character and is what you see in colour codes, memory dumps and CSS escapes. Decimal is the plain number, useful in spreadsheets and HTML entities (H). Octal is rare today but still appears in Unix file permissions and older C code.
Beyond programming classes, binary text shows up in puzzle hunts and escape rooms, in "hidden message" social posts, in nerd-culture merchandise (a name or date in binary), and in CTF (capture-the-flag) security challenges where a flag is hidden in a byte string. Hex output is handy for developers checking exactly which Unicode characters a string contains β for example spotting a non-breaking space or a zero-width character.
Take each 8-digit group, convert it to decimal (01001000 β 72), then look up the character (72 β H). Any programming language can do this in one line; in JavaScript, String.fromCharCode(parseInt("01001000", 2)) returns "H". If a group is longer than 8 digits it represents a character outside ASCII and should be converted with code-point aware functions such as String.fromCodePoint.
For English letters, digits and common punctuation, yes β Unicode code points 0β127 are identical to ASCII.
That character has a code point above 255 (an accented letter, symbol or emoji). The tool shows its full binary value.
This page converts text to binary. Decoding is described above and takes one line in any programming language.
Hexadecimal β it is the format CSS, HTML and most tools expect.
Yes. Conversion happens in your browser; the siteβs analytics and other data practices are described in the Privacy Policy.
50+ style options, a searchable symbol library and a Unicode text editor. Conversion input is processed in your browser; analytics and advertising practices are explained in the Privacy Policy.